Re: [sage-support] Two point tensors?

2023-02-05 Thread Chris Bradley
:05 PM, Chris Bradley < chris.patrick.brad...@gmail.com> wrote: > Hi all, > I'm new to Sage so forgive me if this is a dumb question but does Sage > deal with two-point tensors? By this I mean a second order tensor with one > contravariant index in the tangent space

[sage-support] Two point tensors?

2023-02-05 Thread Chris Bradley
/ \del X. All I've managed to find, documentation wise, involves creating tensors from the tangent/cotangent space of a single manifold rather than a tensor from the tangent space of M and the tangent space of S. Thanks in advance. Best wishes Chris -- You received this message be

Re: [sage-support] How to use sage's macaulay2 interface in jupyter

2019-01-20 Thread Chris Brav
OK, thanks. I've just added alias sage="/Applications/SageMath-8.5.app/sage" to .bash_profile, and everything is working smoothly. Sorry that this turned out to be not a sage question but a pseudo-Unix question. On Sunday, January 20, 2019 at 12:41:55 PM UTC+3, Chris Brav

Re: [sage-support] How to use sage's macaulay2 interface in jupyter

2019-01-20 Thread Chris Brav
with error -43. So somehow it wants to find Sage.app, rather than SageMath-8.5.app. On Sunday, January 20, 2019 at 12:19:54 PM UTC+3, Dima Pasechnik wrote: > > On Sun, Jan 20, 2019 at 9:16 AM Chris Brav > wrote: > > > > Thanks! Now it works with macaulay2. >

Re: [sage-support] How to use sage's macaulay2 interface in jupyter

2019-01-20 Thread Chris Brav
Thanks! Now it works with macaulay2. As for ln, I was following the directions in the install directions. I'll sort that out separately. On Sunday, January 20, 2019 at 12:12:32 PM UTC+3, Dima Pasechnik wrote: > > > > On Sat, 19 Jan 2019 21:08 Chris Brav > wrote: >

Re: [sage-support] How to use sage's macaulay2 interface in jupyter

2019-01-19 Thread Chris Brav
ill get exactly the same Sage environment in > Jupyter as you get at Sage's prompt. > > > On Sat, 19 Jan 2019 18:10 Chris Brav > wrote: > >> I like to use a jupyter notebook for sage, but also want to use a bit of >> macaulay2 at the same, using the sage interface

[sage-support] How to use sage's macaulay2 interface in jupyter

2019-01-19 Thread Chris Brav
I like to use a jupyter notebook for sage, but also want to use a bit of macaulay2 at the same, using the sage interface. In a sage terminal, macaulay2('2+2') returns 4 as expected, but in a jupyter notebook I get an error, the end of which reads TypeError: unable to start macaulay2 because t

Re: [sage-support] Re: "Is 1 zero or nonzero?"

2018-10-24 Thread Chris Judge
arccos(cos(t)) <2*pi) With these assumptions, the integrate command produced "Is 1 zero or nonzero?" I wish I could find simpler example for which produces this error message, but I really have no idea what's happening here. Best wishes, Chris PS By the way, Sage is outputting

[sage-support] "Is 1 zero or nonzero?"

2018-10-23 Thread Chris Judge
Appears to be a bug that comes when integrating expression. Maxima asks "Is 1 zero or nonzero?" and then suggests using assume(1>0). Then it fails to accept this assumption... -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe fr

[sage-support] How make show("some text") be LEFT ALIGNED instead of CENTERED?

2017-08-06 Thread Chris Seberino
How make show("some text") be LEFT ALIGNED instead of CENTERED? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To pos

[sage-support] How combine text (with and without Latex) and equations when printing?

2017-08-06 Thread Chris Seberino
How combine text (with and without Latex) and equations when printing? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com.

[sage-support] How change background color of this output in Sagecell?

2017-08-03 Thread Chris Seberino
This outputs some text. show(table(["test"])) How change the background color? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@goog

[sage-support] How remove spacing between table elements in Sagecell output?

2017-07-18 Thread Chris Seberino
In SageCell this shows each element with a nice light blue background and a TINY amount of space between them show(table(["A", "B", "C"])) How remove that space so that all the light blue backgrounds go together and appear all as one piece? Chris -- You rec

[sage-support] Re: How solve simple log equation?

2017-07-16 Thread Chris Seberino
which checks. > > Again, sorry for the noise... > > -- > Emmanuel Charpentier > > > Le dimanche 16 juillet 2017 18:29:46 UTC+2, Chris Seberino a écrit : >> >> Emmanuel >> >> Thank you for your reply but you solved a DIFFERENT equation. Notice >>

[sage-support] Re: How solve simple log equation?

2017-07-16 Thread Chris Seberino
Emmanuel Thank you for your reply but you solved a DIFFERENT equation. Notice mine has an x variable in it. I can get your's to work but not mine. cs -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop r

[sage-support] How solve simple log equation?

2017-07-15 Thread Chris Seberino
This does not solve... var("y C") solve( log(y) == C + log(x) + log(y-1),y) It returns [log(y) == C + log(x) + log(y - 1)] Any ideas? Thanks! Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

[sage-support] How remove deprecation warning when substituting expressions in this snippet?

2017-07-14 Thread Chris Seberino
I've tried lots of variations of the following to replace a product of functions with y. They all give the error at the bottom in Sagecell. How fix? var("y") f = function("f")(x) g = function("g")(x) eqtn = f(x) * g(x) + 4*f(x)^2 * g(x) == 0 eqtn = eqtn.substitute({f(x) * g(x) : y}) show(eqtn)

[sage-support] Re: Term order in Singular interface

2017-05-23 Thread Chris Brav
I know how to set the term order in Sage. But this is a somewhat different issue, and maybe I am not explaining it well. What I mean is that I create a matrix A over S with respect to a basis e_1,...,e_n in Sage and then pass it to Singular, where I compute the symmetric power. But when it compu

[sage-support] Term order in Singular interface

2017-05-23 Thread Chris Brav
Given a Sage matrix A over a polynomial ring S.=QQ[] , I can make it into a Singular matrix via A._singular_(). Call the result AA. I can then do various operations on AA, for example symmetricPower(AA,d). In this case, the default order for the basis of the symmetric power seems to be 'dp', but

[sage-support] Re: Interface to Singular, symmetric powers

2017-05-23 Thread Chris Brav
Caution to those who want to use this: Singular produces a symmetric power matrix in a basis that is the reverse of what you (or at least I) might expect. Which basis Singular chooses is clear if you test it on a diagonal matrix with variables as entries. -- You received this message because

[sage-support] Re: Interface to Singular, symmetric powers

2017-05-23 Thread Chris Brav
Thanks. It seems that indeed some rings, such as ZZ and QQ, are too exotic for Singular, and that you really have to base change to a polynomial ring over a field. Here is a little function definition which seems to work for any matrix defined over a domain: def sympow(A,d): R=A.base_ring()

[sage-support] Interface to Singular, symmetric powers

2017-05-22 Thread Chris Brav
I'd like to be able to compute symmetric powers of matrices in Sage. Singular has a function for the kth symmetric power of a matrix A, namely symmetricPower(A,k) (https://www.singular.uni-kl.de/Manual/4-0-3/sing_1107.htm#SEC1182). So it seems one should just take a Sage matrix, convert it to a

[sage-support] Re: Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-11 Thread Chris Seberino
Saturday, April 8, 2017 at 3:21:17 PM UTC-5, saad khalid wrote: > > I am a student and I definitely agree with Chris Seberino here. I don't > think it is the job of software (or, rather, it is not good CAS design) to > try and teach people mathematics in this way. I think that the CA

Re: [sage-support] Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-07 Thread Chris Seberino
I have no doubt you know about group theory and math in general more than me. I have no doubt your answer is defensible and accurate. What I'm concerned about is the young students and what they expect to see when they type factor( ... ). cs On Friday, April 7, 2017 at 9:56:31 AM UTC-5, pro

[sage-support] Re: Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-07 Thread Chris Seberino
in the symbolic ring 3*(2*x+1) is immediately expanded again. Try > yourself: > > sage: 2*(1+3*x) > 6*x + 2 > > But see also https://trac.sagemath.org/ticket/21067 > > Regards, > > On Thursday, April 6, 2017 at 5:47:28 PM UTC+2, Chris Seberino wrote: >> >> Why fac

Re: [sage-support] Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-07 Thread Chris Seberino
No -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com.

[sage-support] Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-06 Thread Chris Seberino
Why factor(6*x+3) doesn't give 3*(2*x+1) ? Thanks! cs -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to thi

[sage-support] Re: How make Sage eliminate identical terms on both sides of an algebra equation? (simplify not doing it

2016-11-29 Thread Chris Seberino
> you will be able to use the very powerful tools specifically for > polynomials, rather than the symbolic ring. > > > On Tuesday, November 29, 2016 at 5:55:48 PM UTC, Chris Seberino wrote: >> >> I'm trying to get Sage to do simplification of algebra equations.

[sage-support] How make Sage eliminate identical terms on both sides of an algebra equation? (simplify not doing it

2016-11-29 Thread Chris Seberino
I'm trying to get Sage to do simplification of algebra equations. After I expand some polynomial products I see identical terms on both sides of the equation. How make Sage eliminate those? the simplify and full_simplify don't seem to do it. -- You received this message because you are su

[sage-support] Trouble getting implicit_multiplication to work with sagecell.sagemath.org.

2016-11-29 Thread Chris Seberino
Shouldn't the 2 lines below work in SageCell? It gives an error because the implicit multiplication isn't set. Why? implicit_multiplication(10) 4 5 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop recei

[sage-support] Re: Question regarding normalization of modular symbols.

2016-11-09 Thread chris wuthrich
them): https://trac.sagemath.org/ticket/21046 . Once this is in, I will change the normalisation to used these numerical symbols to get the right scaling factor also for the other two implementations. Then this warning will disappear. Chris On Wednesday, 9 November 2016 00:25:33 UTC, francisco

[sage-support] Problem with precision in large sum?

2016-05-12 Thread Chris Cameron
above is really just an example of the problem. Does anyone know what in particular is causing the sum to fail? Much appreciated! Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop rec

[sage-support] No Output with the following Integral

2016-03-11 Thread Chris Maness
I am not getting any output with the following integral. No errors — just no answer: b=var('b') ; assume(b > 0) ; integrate(1/(x^2+b^2),x,-oo,oo) Am I doing anything wrong? Thanks, Chris Maness -- You received this message because you are subscribed to the Google Groups

[sage-support] Re: plotting derivative of a function object has no attribute _set_extra_kwds

2015-06-07 Thread Chris Cowden
py,pz,w',domain='real') The above example works with no problem. Long story short, the problem is solved, and I need to be more explicit when I create variables because sage can treat them more generally than I may intend. Thanks for the help. Regards, C On Sunday, June 7, 2015 a

[sage-support] plotting derivative of a function object has no attribute _set_extra_kwds

2015-06-06 Thread Chris Cowden
Greetings, I've encountered a problem which I can't at the moment solve. Hopefully the solution is either known or obvious to someone on this forum, but I would appreciate any constructive input. When I try to make a graph with the following: p1=plot(delta.substitute(px=5,py=0,pz=1,R=1,h=10,w=

[sage-support] Re: Why solve(5^( x -1) == (0.04)^(2*x), x) returns empty set?

2014-11-23 Thread Chris Seberino
On Wednesday, November 19, 2014 8:48:07 AM UTC-6, Jakob Kroeker wrote: > > > Even if it is expectable that in some cases (which?) solve may not return > all solutions, it should be explicitly pointed out; > Especially it should be stated that an empty list does not necessarily > imply there are

[sage-support] Re: Why solve(5^( x -1) == (0.04)^(2*x), x) returns empty set?

2014-11-18 Thread Chris Seberino
Emmanuel Any way to make Sage act like it can't find the solution (emit question back to user) INSTEAD of emitting the empty set? "I can't find the solution" and "There is no solution" are NOT the same thing? > cs >> > -- You received this message because you are subscribed to the Google Gro

[sage-support] Re: Why solve(5^( x -1) == (0.04)^(2*x), x) returns empty set?

2014-11-17 Thread Chris Seberino
I didn't *need* to have 0.04. This is just a command that actually came up in real work. I didn't want to alter it in any way lest it may be a genuine bug. cs On Monday, November 17, 2014 6:48:04 AM UTC-6, Emmanuel Charpentier wrote: > > Why 0.04 ? Th notebook says : > > S=(5^( x -1) == (0.04)^

[sage-support] Re: Why solve(5^( x -1) == (0.04)^(2*x), x) returns empty set?

2014-11-17 Thread Chris Seberino
If you ask Sage to do something it can't, like solve a quintic polynomial equation, it will spit the question back at you. If Sage did that I'd be fine. However, Sage spit back the empty set which is the WRONG answer and far different yes? On Sunday, November 16, 2014 12:54:20 PM UTC-6, RRoge

[sage-support] Why solve(5^( x -1) == (0.04)^(2*x), x) returns empty set?

2014-11-15 Thread Chris Seberino
command in subject line should return 1/5 not empty set right??? What gives? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegrou

[sage-support] Having issues with assume

2014-10-25 Thread Chris Maness
issing something? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group,

Re: [sage-support] Re: Sage Upgrade Port Number?

2014-10-21 Thread Chris Maness
The binary seems to be running fine for now. Chris On Oct 21, 2014 12:11 PM, "Volker Braun" wrote: > Sage doesn't compile on OSX 10.10 at the moment. See the sage-devel > thread. > > > > > On Tuesday, October 21, 2014 6:56:27 PM UTC+1, Chris Maness wrote: &g

[sage-support] Sage with Yosemite?

2014-10-21 Thread Chris Maness
Has anyone tried the 6.3 binary with Sage? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com.

Re: [sage-support] Re: Sage Upgrade Port Number?

2014-10-21 Thread Chris Maness
ue. > 3) In theory I think "sage -upgrade" still works... > It worked for 6.2. > > Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it,

[sage-support] Sage Upgrade Port Number?

2014-10-21 Thread Chris Maness
What port does the Sage upgrade use so that IT can add a firewall rule for me to upgrade Sage? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an

[sage-support] Using an Undefined Function?

2014-09-13 Thread Chris Maness
}{ \partial y } \dot { y } $$ I can't reproduce Mathematica's strange output here, but it is the correct definition of the total derivative. Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from

[sage-support] Re: Free Algebra with symbolic coefficients

2014-09-09 Thread Chris Thron
) Thanks again for your help. On Sunday, September 7, 2014 5:25:31 PM UTC-5, Nils Bruin wrote: > > On Sunday, September 7, 2014 10:28:02 AM UTC-7, Chris Thron wrote: >> >> (1) I have expressions like curl*H - c^(-1)*d_t*D, where curl and d_t >> express derivatives.

[sage-support] Free Algebra with symbolic coefficients

2014-09-07 Thread Chris Thron
HI, I'm trying to write a program that converts electromagnetic equations from CGS to MKS units. I've run into the following issues: (1) I have expressions like curl*H - c^(-1)*d_t*D, where curl and d_t express derivatives. In the process of conversion, sage switches the order and outputs: H

[sage-support] Solving system of nonlinear equations

2014-08-29 Thread Chris Corio
te than others so I need a way to cull bad values. 2. I'd like to pass in t, h, k, r and get the possible values for d (there can be two, if I'm not mistaken) Can anyone point me at the functions that I can use to solve these equations or have any suggestions for the solutions? I apprec

Re: [sage-support] Re: Binary Upgrade for Mac

2014-08-23 Thread Chris Maness
On Sat, Aug 23, 2014 at 5:23 PM, wrote: > > On Saturday, August 23, 2014 6:28:33 PM UTC-5, Chris Maness wrote: >> >> I am thinking I am not a big fan of using the sage -upgrade command since >> it downloads all the source and recompiles the whole thing from source. Is

[sage-support] Binary Upgrade for Mac

2014-08-23 Thread Chris Maness
I am thinking I am not a big fan of using the sage -upgrade command since it downloads all the source and recompiles the whole thing from source. Is there a clean way to upgrade using binaries? Regards, Chris -- You received this message because you are subscribed to the Google Groups "

[sage-support] x or y dot?

2014-08-12 Thread Chris Maness
Is it possible with sage to use some type of shorthand notation to denote the first or second time derivative? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails fro

[sage-support] Derivatives of a Function?

2014-07-26 Thread Chris Maness
I would like to take the derivative of a function defined as as such that: f(x,z)=(2*x+2*z*(dz/dx))/sqrt(x^2+a^2+z^2) and z=z(x) (z is an unknown function of x). I am working on Euler-Legrange stuff. Thanks, Chris -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] Re: Transcendental Function?

2014-07-16 Thread Chris Maness
I am a bit new to Sage, what method would you recommend for finding the solutions numerically? Thanks, Chris On Wed, Jul 16, 2014 at 4:07 PM, Nils Bruin wrote: > On Wednesday, July 16, 2014 3:49:06 PM UTC-7, Chris Maness wrote: >> >> But I am getting some strange results. Onl

[sage-support] Transcendental Function?

2014-07-16 Thread Chris Maness
t does not match the graph. Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send e

[sage-support] Re: Plotting Piece-wise Functions?

2014-07-10 Thread Chris Maness
I got it. I see that I am not supposed to but limits in the plot function. The limits of the piecewise function provide that information. This works: f1=x*e^x; f2=x*e^(-x); f=Piecewise([[(-5,0),f1],[(0,5),f2]]); f.plot() Chris On Thu, Jul 10, 2014 at 8:42 AM, Chris Maness wrote: > I am

[sage-support] Plotting Piece-wise Functions?

2014-07-10 Thread Chris Maness
I am not certain why this does not work: f1=x*e^(-x); f2=x*e^x; f=Piecewise([[(0,5),f1],[(0,-5),f2]]); plot(f,x,-5,5) Any suggestions? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this grou

[sage-support] Won't Integrate

2014-07-04 Thread Chris Maness
; t=var('t'); assume(t > 0); integrate(exp(-k^2/(4*a))*exp(i*k*x-i*hbar*k^2*t/(2*m)),k,-oo,oo) Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: [sage-support] Re: Failed Integration

2014-07-02 Thread Chris Maness
A, that is the issue. Thanks Chris On Wed, Jul 2, 2014 at 6:06 PM, Nils Bruin wrote: > On Wednesday, July 2, 2014 4:33:33 PM UTC-7, Chris Maness wrote: >> >> >> TypeError: unsupported operand parent(s) for '*': 'Symbolic Ring' and >> 

[sage-support] Failed Integration

2014-07-02 Thread Chris Maness
I don't see what the issue is with the code below: phinS=e^(i*n*pi*x/a); phim=e^(-i*m*pi*x/a); a=var('a'); assume(a > 0); n=1; m=1; integrate(phinS*phim,x,-a,a) I get this undecipherable error: Traceback (most recent call last):integrate(phinS*phim,x,-a,a) File "", line 1, in File "/p

[sage-support] Odd Series?

2014-06-25 Thread Chris Maness
Is there a way to only add the odd integers of a sum in Sage? Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@google

Re: [sage-support] Re: Having Trouble Plotting My Superposition State

2014-06-24 Thread Chris Maness
That looks correct. Sure wish I could do that :D Chris On Tue, Jun 24, 2014 at 9:50 PM, P Purkayastha wrote: > > > On Wednesday, June 25, 2014 12:39:30 PM UTC+8, P Purkayastha wrote: >> >> On Tuesday, June 24, 2014 8:51:18 PM UTC+8, kcrisman wrote: >>> >>

[sage-support] DIfferential Operators?

2014-06-24 Thread Chris Maness
Can one define a differential operator like the Hamiltonian energy operator separately in sage, or does it always have to already be acting and a function before you make the definition? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-su

Re: [sage-support] Re: Having Trouble Plotting My Superposition State

2014-06-24 Thread Chris Maness
I am running 6.2 on OSX Mavericks (10.9) Christophers-MacBook-Pro:sage chris$ ./sage -v Sage Version 6.2, Release Date: 2014-05-06 Chris On Tue, Jun 24, 2014 at 5:51 AM, kcrisman wrote: > > >> You, saw a plot? I didn't see a plot. >> > > > Hmm. Can you say m

Re: [sage-support] Re: Having Trouble Plotting My Superposition State

2014-06-23 Thread Chris Maness
You, saw a plot? I didn't see a plot. Chris On Mon, Jun 23, 2014 at 6:52 PM, kcrisman wrote: > > > On Monday, June 23, 2014 9:18:29 PM UTC-4, Chris Maness wrote: >> >> I am trying to plot a superposition of two static states psi1 and psi2 >> that compose a state

[sage-support] Having Trouble Plotting My Superposition State

2014-06-23 Thread Chris Maness
P.expand(); plot(P(x,1,1),x,0,1) I get the following error message: verbose 0 (2415: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 200 points. verbose 0 (2415: plot.py, generate_plot_points) Last error message: 'Unable to solve by radica

Re: [sage-support] Re: Parameterizing a Wave Function?

2014-06-23 Thread Chris Maness
Thank you. I am able to do simple examples, but I am having problems plotting my function without the sliders, so I am going to post that too. Chris On Mon, Jun 23, 2014 at 5:51 PM, kcrisman wrote: > > >> I would like to plot my wave function probability P vs. x, but it >>

[sage-support] Parameterizing a Wave Function?

2014-06-23 Thread Chris Maness
I would like to plot my wave function probability P vs. x, but it would be cool if I could have a time slider that shows how the plot changes parametrically. Anyone know how to this easily? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "

Re: [sage-support] Re: Defining a Variable so that its Conjugate always Equals Itself

2014-06-14 Thread Chris Maness
Thank you. Chris On Sat, Jun 14, 2014 at 4:47 AM, P Purkayastha wrote: > sage: bool(x.conjugate() == x) > False > sage: assume(x, 'real') > sage: bool(x.conjugate() == x) > True > > > > > On Saturday, June 14, 2014 6:12:06 AM UTC+8, Chris Maness wrote: &

[sage-support] Defining a Variable so that its Conjugate always Equals Itself

2014-06-13 Thread Chris Maness
Is there a way that I can define my variables to be real, so that when I take square the modulus, I don't get variables with bars over them when they are assumed real. Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support&

[sage-support] Re: sage->nauty->directed graphs isomorphism vs. magma -- smth is very wrong

2014-03-03 Thread Chris Godsil
I would not be surprised it it was the finite field arithmetic that is causing the difference. On Friday, February 28, 2014 4:18:44 PM UTC-5, Aleksandr Kodess wrote: > > As far as I know both sage and magma utilize Brendan McKay's program nauty > in order to check whether two given graphs (direc

Re: [sage-support] rank of elliptic curves

2014-02-07 Thread chris wuthrich
> but Sage says " name 'ans' is not defined". > That looks like a bug that - I believe - was fixed in 6.1. So maybe you should upgrade to the newest version. However in 6.1 this also yields an error, the one explained by David. Chris. -- You received th

[sage-support] How create a plot of f(x, y, z) using color for function value? (i.e. a 4D plot)

2013-11-15 Thread Chris Seberino
I've been searching the Internet and can't find examples of plots of functions of THREE variables like f(x, y, z). I'd like to use a different color at each point in space to denote the function value. Is that possible in Sage? Are there examples somewhere? (All the examples I saw were for 2

[sage-support] Re: In E.sha().an_padic() ValueError: max() arg is an empty sequence

2013-10-18 Thread chris wuthrich
ted here (since E has complex multiplication). These computations prove that the 13-torsion part of Sha is trivial. Chris. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it,

[sage-support] Re: Disturbing Equality (from askSAGE)

2013-08-01 Thread chris wuthrich
No - because sqrt is multivalued, the answer can be, and in this case is, > multivalued: sometimes true and sometimes false. This isn't desperately > helpful, or course, and can be cast in other ways in terms of the defect > > If a boolean is "sometimes true and sometimes false" it is false and

[sage-support] Re: Disturbing Equality (from askSAGE)

2013-07-31 Thread chris wuthrich
> Because square root is multivalued. Even so, I would consider this to be wrong for a) I don't want my students to think it is true and b) the left hand side is two-valued while the right hand side is four-valued and hence they do not agree as multi-valued functions. (This objec

Re: [sage-support] bug found in solve function? solve( x * (x + 2) == 143, x) returns [x == 11, x == -13]

2013-07-15 Thread Chris Seberino
On Friday, July 12, 2013 5:01:11 PM UTC-5, William wrote: > > On Fri, Jul 12, 2013 at 2:41 PM, Chris Seberino > > > wrote: > > bug found in solve function? solve( x * (x + 2) == 143, x) returns [x > == > > 11, x == -13] > > > > See here...new S

[sage-support] bug found in solve function? solve( x * (x + 2) == 143, x) returns [x == 11, x == -13]

2013-07-12 Thread Chris Seberino
bug found in solve function? solve( x * (x + 2) == 143, x) returns [x == 11, x == -13] See here...new Sage session... % sage -- | Sage Version 5.2, Release Date: 2012-07-25 | | Type "notebook()" for the

Re: [sage-support] Possible to have a notebook server without "state" like wolframalpha.com just for single commands?

2013-02-09 Thread Chris Seberino
Oh wow that is soo awesome. Someone read my mind. I've been selling Sage to my students with a slightly inadequate server but Sage Cell Server will dispense with the need for passwords, memory issues and more. Their impressions of Sage are about to go up tenfold. A thousand thank yous.

[sage-support] Possible to have a notebook server without "state" like wolframalpha.com just for single commands?

2013-02-09 Thread Chris Seberino
x27;m envisioning something like wolframalpha.com where a teacher can ask all students to type single commands at a time without the need for saving history. Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from

[sage-support] Re: SIGABRT in Graph.clique_number() and assertion in cliquer

2012-12-03 Thread Chris Godsil
sage: k4=graphs.CompleteGraph(4) sage: k4.complement().line_graph().complement() complement(): Graph on 0 vertices clique_number() is crashing on the empty graph, On Saturday, December 1, 2012 9:30:27 AM UTC-5, Georgi Guninski wrote: > > for g in graphs(4): > g.complement().line_graph().comple

[sage-support] Re: Students leave their notebooks open so server has a TON of notebooks open....performance problem?

2012-09-26 Thread Chris Seberino
On Monday, September 24, 2012 9:36:36 PM UTC-5, P Purkayastha wrote: > > > What has been observed however is that not all worksheets get closed > and there are often many worksheets that remain open in the background. > From a performance point of view, all that these worksheets do is eat >

[sage-support] Re: Notebook server very slow. What are typical bottlenecks? I have ver5.2 and 1Gb RAM

2012-09-26 Thread Chris Seberino
you need for 10 people to be able to hit the server all at the same time comfortably? cs On Monday, September 24, 2012 8:31:16 PM UTC-5, kcrisman wrote: > > > > On Monday, September 24, 2012 8:32:23 PM UTC-4, Chris Seberino wrote: >> >> Notebook server very slow. What ar

[sage-support] Students leave their notebooks open so server has a TON of notebooks open....performance problem?

2012-09-24 Thread Chris Seberino
Students leave their notebooks open so server has a TON of notebooks openis that a problem? (I'm thinking about performance mainly.) cs -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-support@goog

[sage-support] Notebook server very slow. What are typical bottlenecks? I have ver5.2 and 1Gb RAM

2012-09-24 Thread Chris Seberino
Notebook server very slow. What are typical bottlenecks? I have ver5.2 and 1Gb RAM cs -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send ema

[sage-support] Can't delete worksheets as admin..why? (Sage ver 5.2)

2012-09-18 Thread Chris Seberino
I logged into Sage as admin and noticed there were a ton of open worksheets. (I have a lot of users.) I can't delete active worksheets. If I selected one or more and press the "Delete" button, nothing happens? cs -- You received this message because you are subscribed to the Google Groups

[sage-support] Re: Error when installing 64 bit ver5.2 binary on Ubuntu 12.04.. ==> Syntax error: ")" unexpecte

2012-09-02 Thread Chris Seberino
SOLVED... I have 64 bit hardware but I installed 32 bit Ubuntu. (Sorry, I'm a newbie to 64 bit stuff and didn't even know there was a separate Ubuntu flavor.) When I installed the 32bit Sage binary it worked. One suggestion is to perhaps add a check to see if user trying to run the 64 bit b

[sage-support] Error installing package gcc-4.6.3

2012-09-02 Thread Chris Seberino
On new 64 bit Ubuntu 12.04, I tried compiling from source and got this error... (I know predefs.h exists because I can see the file here: /usr/include/i386-linux-gnu/bits/predefs.h .) In file included from /usr/include/stdio.h:28:0, from ../../../src/libgcc/../gcc/tsystem.h:87

[sage-support] Re: Error when installing 64 bit ver5.2 binary on Ubuntu 12.04.. ==> Syntax error: ")" unexpecte

2012-09-02 Thread Chris Seberino
> That's odd, it doesn't even give a location where the ")" was > unexpectedly found. Was there any more output than that? > > No that was it verbatim. This is a 64 bit machine. That is the only thing different I can see from what I've used before. (This is an HP computer.) cs -- You rec

[sage-support] Error when installing 64 bit ver5.2 binary on Ubuntu 12.04.. ==> Syntax error: ")" unexpecte

2012-09-01 Thread Chris Seberino
I just installed Ubuntu 12.04 and tried to install Sage ver5.2 When I try to run Sage for the first time I get this... % sage -- | Sage Version 5.2, Release Date: 2012-07-25 | | Type "notebook()" for the b

[sage-support] Re: error proxying Sage behind Apache2 after 5.2 update..... a '/' is missing in urls!?

2012-08-31 Thread Chris Seberino
> > Great! Did you base your previous, wrong Apache config on some material > from the Sage website / wiki / etc.? If so, can you tell us where it is, > so we can fix it? > > > I don't think this bug was from a Sage page. If I see it in some docs I'll let you know however. cs -- You rece

[sage-support] Re: error proxying Sage behind Apache2 after 5.2 update..... a '/' is missing in urls!?

2012-08-30 Thread Chris Seberino
SOLVED! I'm posting this in case it helps anyone else out there trying to use Sage with Apache. The problem with an Apache config issue. The line below is wrong... > Redirect / https://sage.phil4.com > > It should be this: Redirect / https://sage.phil4.com/ (Notice the / at the end now.)

[sage-support] error proxying Sage behind Apache2 after 5.2 update..... a '/' is missing in urls!?

2012-08-28 Thread Chris Seberino
I've been successfully proxying older versions of Sage behind Apache2 using SSL. The same script doesn't work with Sage 5.2 for some reason. Here is my Apache code below (Code below redirects all to HTTPS.) The new problem is that when I try to log in as adminSage tries to go to https://sage

Re: [sage-support] Re: triple integral works with sympy but not

2012-06-27 Thread Chris Kees
Robert, Thanks a lot. I'll submit a bug report on the maxima bug tracker. Chris On Wed, Jun 27, 2012 at 10:41 AM, Robert Dodier wrote: > On 2012-06-26, Chris Kees wrote: > >> The following bit of code correctly computes the triple integral >> (64\pi/3) for the volume of

[sage-support] triple integral works with sympy but not

2012-06-26 Thread Chris Kees
qrt(4 - x**2)) show(i2) i3 = 8*integral(i2,x,0,2,algorithm='sympy') show(i3) If I don't use sympy on the last integral it fails with the following error message. Anybody know how to give maxima enough information to solve the problem? -Chris Traceback (most recent call last):sho

[sage-support] Re: Error message when use vectors in Sage 5 with Ubuntu 12.04...

2012-06-18 Thread Chris Seberino
On Monday, June 18, 2012 4:16:50 PM UTC-5, Oleksandr Kazymyrov wrote: > > Hi, > > I haven't the problem on Ubuntu 12.04: > > Oleksandr I fixed the problem. Today when I tried vector I got a DIFFERENT error message about a Fortran library missing. When I manually installed glibfortran3 it sta

[sage-support] Error message when use vectors in Sage 5 with Ubuntu 12.04...

2012-06-16 Thread Chris Seberino
I installed Ubuntu 12.04 about 2 weeks ago along with Sage 5. I just now tried using vectors for the first time and got this error... sage: vector( [-1,2] ) --- AttributeErrorTraceback (most recent

[sage-support] adding a library to sage.libs

2012-06-12 Thread Chris Hall
s of one of the aforementioned files)? Are there any conventions I should consider about what I put in __init__.py and all.py? Thanks, Chris -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.co

[sage-support] Re: user interface

2012-06-12 Thread Chris Hall
ce. > In a quick experiment the notebook behaved as I would expect, so I think this is a great solution. Best, Chris -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org

[sage-support] Re: user interface

2012-06-12 Thread Chris Hall
We'd like to move the notebook to that. > Both of these are much more appealing options for editing an individual cell. I was not aware of them. Thanks, Chris > > Jason > > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe f

  1   2   3   >