[sage-support] Re: Maxima default mode

2015-05-30 Thread kcrisman
It says there the language can be selected by a long tap on the 'sage' button in the cell, or in the app settings. This did not register with me when I first read it! Apologies for wasting people's time, Not at all, others will search for this and find the answer! -- You received

Re: [sage-support] Re: Maxima-in-Sage versus plain Maxima

2013-03-05 Thread Jeroen Demeyer
On 2013-03-04 17:30, William Stein wrote: sage: sage.calculus.all.maxima_calculus('domain: real') Thanks, that helps but it's not really something you want to tell your students using Sage... -- You received this message because you are subscribed to the Google Groups sage-support group. To

[sage-support] Re: Maxima-in-Sage versus plain Maxima

2013-03-04 Thread kcrisman
On Monday, March 4, 2013 9:26:47 AM UTC-5, Jeroen Demeyer wrote: It seems that Maxima in Sage doesn't do some simplifications that plain Maxima does, why is this and how can this be fixed? Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of

Re: [sage-support] Re: Maxima-in-Sage versus plain Maxima

2013-03-04 Thread Jeroen Demeyer
Fair enough, but what if I want the domain: real behaviour in Sage? In other words, what should do to have (abs(cos(t))^2).simplify() return cos(t)^2? sage: maxima('domain: real;') real sage: var(t) t sage: assume(t, real) sage: (abs(cos(t))^2).simplify() abs(cos(t))^2 -- You received this

Re: [sage-support] Re: Maxima-in-Sage versus plain Maxima

2013-03-04 Thread William Stein
On Mon, Mar 4, 2013 at 8:10 AM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: Fair enough, but what if I want the domain: real behaviour in Sage? In other words, what should do to have (abs(cos(t))^2).simplify() return cos(t)^2? sage: maxima('domain: real;') Use the maxima that the sage

Re: [sage-support] Re: Maxima-in-Sage versus plain Maxima

2013-03-04 Thread Michael Orlitzky
On 03/04/2013 11:10 AM, Jeroen Demeyer wrote: Fair enough, but what if I want the domain: real behaviour in Sage? In other words, what should do to have (abs(cos(t))^2).simplify() return cos(t)^2? sage: maxima('domain: real;') real sage: var(t) t sage: assume(t, real) sage:

[sage-support] Re: Maxima problem?

2011-06-10 Thread NigelSmart
Hi Thanks for the help re distributions. My sage version is 4.7 as I downloaded a new version two days ago to try and see whether the problem had been corrected in a newer version. Cheers Nigel -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

[sage-support] Re: Maxima problem?

2011-06-10 Thread Jean-Pierre Flori
FYI, the interface to Maxima changed in 4.7.1.alpha0 IIRC, so you could also try one of the more recent alphas available at: http://sage.math.washington.edu/home/release/ The things with MARKER are not involved in that new interface. On 10 juin, 08:34, NigelSmart ni...@cs.bris.ac.uk wrote: Hi

[sage-support] Re: Maxima problem?

2011-06-10 Thread kcrisman
On Jun 10, 6:40 am, Jean-Pierre Flori jpfl...@gmail.com wrote: FYI, the interface to Maxima changed in 4.7.1.alpha0 IIRC, so you could also try one of the more recent alphas available at:http://sage.math.washington.edu/home/release/ The things with MARKER are not involved in that new

[sage-support] Re: Maxima problem?

2011-06-09 Thread kcrisman
Dear Nigel, There are two questions here. 1) How to get distributions in Sage. 2) How to get Maxima to not crash. The second one is harder than the first.But if your Sage is not quite new, we have a different interface to Maxima that might (only might) help. What version do you have?

[sage-support] Re: Maxima matrix vs Sage matrix

2011-06-02 Thread iDan
On Thu, Jun 2, 2011 at 7:57 AM, iDan idans...@live.fr wrote: I obtain a Maxima matrix. How can I transform it into a Sage Matrix On 2 juin, 11:48, William Stein wst...@gmail.com wrote: Use Mat.sage(): So elegant and so obvious :-) Thanks!!! Daniel -- To post to this group, send email

[sage-support] Re: maxima cli compatability

2011-05-13 Thread Daniel Harris
resent after correcting mistake On Fri, May 13, 2011 at 12:53 PM, Daniel Harris mail.dhar...@googlemail.com wrote: Hello 1.  In maxima it is possible to use % variable (o1%, o2%, etc) to access previous commands is that also possible in sage (cli and notebook mode). Thanks Dan -- To

[sage-support] Re: maxima called by solve() occasionally hangs

2011-03-16 Thread kcrisman
On Mar 16, 4:06 pm, tvn nguyenthanh...@gmail.com wrote: I call the function solve() many times in my program and occasionally I notice that the it just stops responding  (not frozen,  it's just doing nothing).   Control + C  stops the process which returns error such as Interrupting Maxima.

[sage-support] Re: maxima called by solve() occasionally hangs

2011-03-16 Thread tvn
that's really bad -- I rather have something less efficient (assuming the linear algebra solver in Maximum is fast) but at least deterministic in terms of termination than something perform randomly. In fact I would just rather have it somehow timeouts, returns error rather than just hangs

[sage-support] Re: maxima-great stats

2009-11-17 Thread Harald Schilly
On Nov 17, 10:10 pm, Mikie thephantom6...@hotmail.com wrote: student tTest Hi, do you know that there is R inside Sage? An example right from sagenb.org: import rpy2.robjects as robjects data = robjects.IntVector([44,55,56,14*2]) ttest = robjects.r['t.test'] print ttest(data) gives: One

[sage-support] Re: maxima-great stats

2009-11-17 Thread Mikie
Hi Harald, No I don't have R. I did convert the list(str) to a real list and did a trap on that and it did work. How do I get R into Sage? Thanx On Nov 17, 2:58 pm, Harald Schilly harald.schi...@gmail.com wrote: On Nov 17, 10:10 pm, Mikie thephantom6...@hotmail.com wrote: student tTest Hi,

[sage-support] Re: maxima-great stats

2009-11-17 Thread Jason Grout
Mikie wrote: Hi Harald, No I don't have R. I did convert the list(str) to a real list and did a trap on that and it did work. How do I get R into Sage? R comes with every Sage install, by default. You don't have to do anything. -Jason -- Jason Grout -- To post to this group, send

Re: [sage-support] Re: maxima-great stats

2009-11-17 Thread William Stein
On Tue, Nov 17, 2009 at 2:58 PM, Mikie thephantom6...@hotmail.com wrote: Hi Harald, No I don't have R. I did convert the list(str) to a real list and did a trap on that and it did work. How do I get R into Sage? Every copy of Sage comes with R. William -- To post to this group, send email

[sage-support] Re: maxima

2009-11-04 Thread kcrisman
There are several ways to do this. sage: maxima_console() gives you a fully functioning version of Maxima, just as if you downloaded it yourself. Or you can use Maxima one thing at a time: sage: from sage.calculus.calculus import maxima sage: maxima.eval('integrate(cos(x),x)') 'sin(x)'

[sage-support] Re: maxima

2009-11-04 Thread William Stein
On Wed, Nov 4, 2009 at 7:22 AM, Mikie thephantom6...@hotmail.com wrote: Is the Maxima that Sage uses a full version? Yes  Where is Maxima in the Sage directory?  Can I load Maxima and do some command line work? sage -maxima Thanx -- William Stein Associate Professor of Mathematics

[sage-support] Re: maxima

2009-11-04 Thread Mikie
Willian, Thanks, I found it. How do I start it. On Nov 4, 8:35 am, William Stein wst...@gmail.com wrote: On Wed, Nov 4, 2009 at 7:22 AM, Mikie thephantom6...@hotmail.com wrote: Is the Maxima that Sage uses a full version? Yes  Where is Maxima in the Sage directory?  Can I load Maxima

[sage-support] Re: maxima

2009-11-04 Thread Mikie
Willian, I found it. In /local/bin/ On Nov 4, 9:26 am, William Stein wst...@gmail.com wrote: On Wed, Nov 4, 2009 at 8:24 AM, Mikie thephantom6...@hotmail.com wrote: Willian, Thanks, I found it.  How do I start it. Type    ./sage -maxima from the root of your Sage install.  --

[sage-support] Re: maxima to sage

2009-11-03 Thread Mikie
Yes, David, thanks. I fixed it with repr and SR. On Nov 3, 1:38 pm, David Joyner wdjoy...@gmail.com wrote: Does this help? sage: f = maxima(x^2-1) sage: type(f) class 'sage.interfaces.maxima.MaximaElement' sage: ff = f.sage() sage: type(ff) type 'sage.symbolic.expression.Expression'

[sage-support] Re: maxima to sage

2009-11-03 Thread David Joyner
Does this help? sage: f = maxima(x^2-1) sage: type(f) class 'sage.interfaces.maxima.MaximaElement' sage: ff = f.sage() sage: type(ff) type 'sage.symbolic.expression.Expression' sage: ff.factor() (x - 1)*(x + 1) On Tue, Nov 3, 2009 at 3:28 PM, Mikie thephantom6...@hotmail.com wrote: Is

[sage-support] Re: Maxima Solve sys

2009-09-03 Thread Mikie
JSmath is basically a bunch of javacript routines that takes latex created from sage and displays in the html file. The html is generated in my Python script(server,html). When I call JSmath the first routine is loaded. In the first script it calls another and this is where the problem occurs.

[sage-support] Re: Maxima Solve sys

2009-09-02 Thread Mikie
Didn't you create the API using the notebook? On Sep 1, 10:02 pm, Robert Bradshaw rober...@math.washington.edu wrote: On Sep 1, 2009, at 12:16 PM, Mikie wrote: I took out the eval and for some reason it is working. Robert, this is function in my API (AlgCalc) http://pirsqrt.com:1843/ If

[sage-support] Re: Maxima Solve sys

2009-09-02 Thread Robert Bradshaw
On Wed, 2 Sep 2009, Mikie wrote: Didn't you create the API using the notebook? Yes, I created the simple server, but you can think of that more as reaching under the html/javascript/jsmath layer and exposing the raw computatinal elements themsleves, rather than building on top of that nice

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Robert Bradshaw
On Sep 1, 2009, at 9:17 AM, Mikie wrote: Here is function I am using to solve systems of linear equations. def MSolveSys(syss): eqns=eval(syss) solns=maxima.solve(syss) return solns Works great in the notebook, but when I put it in a Python script it rounds the coeficients of

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Jason Grout
Mikie wrote: Here is function I am using to solve systems of linear equations. def MSolveSys(syss): eqns=eval(syss) solns=maxima.solve(syss) return solns Works great in the notebook, but when I put it in a Python script it rounds the coeficients of the variables and thus

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Jason Grout
Robert Bradshaw wrote: On Sep 1, 2009, at 9:17 AM, Mikie wrote: Here is function I am using to solve systems of linear equations. def MSolveSys(syss): eqns=eval(syss) solns=maxima.solve(syss) return solns Works great in the notebook, but when I put it in a Python script it

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Mikie
Sorry, wrong function def MSolveSys(syss): eqns=eval(syss) solns=maxima.solve(eqns) return solns On Sep 1, 10:31 am, Jason Grout jason-s...@creativetrax.com wrote: Robert Bradshaw wrote: On Sep 1, 2009, at 9:17 AM, Mikie wrote: Here is function I am using to solve systems of

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Mikie
When I run the server with the function above and the following string from a text box I get [y=-1,x=0]. The string is [3*x-y-1,x+(1/3)*y] It is changing the input value to [3*x-y-1,x] On Sep 1, 10:38 am, Mikie thephantom6...@hotmail.com wrote: Sorry, wrong function def MSolveSys(syss):    

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Robert Bradshaw
On Tue, 1 Sep 2009, Mikie wrote: When I run the server with the function above and the following string from a text box I get [y=-1,x=0]. The string is [3*x-y-1,x+(1/3)*y] It is changing the input value to [3*x-y-1,x] 1/3 = 0 in Python. Also, I hope you realize how dangerous eval(random

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Mikie
I have tried SR. I get a malformed value. Yes, I understand the problem with eval. Do you have any suggestions on how to get the right value into maxima.solve? On Sep 1, 11:32 am, Robert Bradshaw rober...@math.washington.edu wrote: On Tue, 1 Sep 2009, Mikie wrote: When I run the server

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Mikie
I took out the eval and for some reason it is working. Robert, this is function in my API (AlgCalc) http://pirsqrt.com:1843/ If I would give it to you would you show me how to get JSmath to work? I have talked to you before. You said you were too busy. I have loaded load.js, but when it goes

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Robert Bradshaw
On Sep 1, 2009, at 12:16 PM, Mikie wrote: I took out the eval and for some reason it is working. Robert, this is function in my API (AlgCalc) http://pirsqrt.com:1843/ If I would give it to you would you show me how to get JSmath to work? I have talked to you before. You said you were too

[sage-support] Re: Maxima not able to multiply functions with complex numbers

2009-03-11 Thread Simon King
Dear Mani chandra, something really weird seems to be going on. This is a fresh session of Sage 3.3: sage: complex(0,1)*spherical_bessel_J(1,1) --- TypeError Traceback (most recent call last)

[sage-support] Re: Maxima not able to multiply functions with complex numbers

2009-03-11 Thread Robert Bradshaw
On Mar 11, 2009, at 4:56 AM, Mani chandra wrote: Hi, The following function gives me an error. def test(l, r): return complex(0, 1)**l*spherical_bessel_J(l, r) [...] TypeError: unsupported operand parent(s) for '*': 'type 'complex'' and 'Symbolic Ring' Help

[sage-support] Re: Maxima requested additional constraints in solve()

2007-06-12 Thread Ted Kosan
On 6/9/07, William Stein [EMAIL PROTECTED] wrote: QUESTION: What notation in SAGE would you like for assuming that n is an integer? Would this be OK? {{{ assume(n, ZZ) }}} This would just call calcmaxima.eval('declare(n,integer)') {{{ forget() }}} I have been thinking about

[sage-support] Re: Maxima requested additional constraints in solve()

2007-06-09 Thread William Stein
On 6/9/07, Ted Kosan [EMAIL PROTECTED] wrote: When I use the solve() function with this code: var('r2') c = P*e^(r*n) d = P*(1+r2)^n solve(c==d,r2) I receive the following exception: ... TypeError: Computation failed since Maxima requested additional constraints (use assume): Is n an

[sage-support] Re: Maxima requested additional constraints in solve()

2007-06-09 Thread William Stein
On 6/9/07, Joel B. Mohler [EMAIL PROTECTED] wrote: On Saturday 09 June 2007 13:16, William Stein wrote: It would be more natural to write assume(n in ZZ), but this won't work, since n in ZZ gets evaluated to false be Python before it gets passed to the assume command. This was exactly

[sage-support] Re: Maxima (hence calculus) issues

2007-06-04 Thread William Stein
On 6/4/07, Brandon Weeks [EMAIL PROTECTED] wrote: I had this same problem on a Intel Mac (Macbook), running 10.4.9. (1) I've put the relevant files for intel here: http://sage.math.washington.edu/home/was/tmp/libintl/ Put them in SAGE_ROOT/local/lib/ (2) I've changed the clisp package in

[sage-support] Re: Maxima (hence calculus) issues

2007-05-23 Thread kcrisman
Sorry - Google groups told me to try again. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at

[sage-support] Re: Maxima (hence calculus) issues

2007-05-23 Thread William Stein
On 5/23/07, kcrisman [EMAIL PROTECTED] wrote: Please start SAGE, type sage: !maxima then send the output. sage: !maxima dyld: Library not loaded: /usr/local/lib/libintl.3.dylib Referenced from: /Applications/sage-2.5.3-powerpc-osx-PowerMacintosh-

[sage-support] Re: maxima fails on OS X

2006-12-25 Thread Comeon Fhqwhgads
Justin C. Walker wrote: 1) what sage version? 1.5.0.2 2) did you install or upgrade to get to this version? I installed, which is to say I downloaded the above-mentioned tarball and unpacked it. 3) look in 'install.log' and see what the result of the maxima installation really was (it

[sage-support] Re: maxima fails on OS X

2006-12-25 Thread Justin C. Walker
On Dec 25, 2006, at 10:30 , Comeon Fhqwhgads wrote: Justin C. Walker wrote: 1) what sage version? 1.5.0.2 Hmmm... 2) did you install or upgrade to get to this version? I installed, which is to say I downloaded the above-mentioned tarball and unpacked it. Ah! You used a binary