[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

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

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") > s

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 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 symbolics use: wst

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 th

[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

[sage-support] Re: Maxima problem?

2011-06-10 Thread kcrisman
On Jun 10, 6:40 am, Jean-Pierre Flori 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 interface. > Thanks

[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 wrote: > Hi > > Thanks for the he

[sage-support] Re: Maxima problem?

2011-06-09 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 grou

[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? (Typ

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

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

[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 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 post to this group,

[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 in

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

2011-03-16 Thread kcrisman
On Mar 16, 4:06 pm, tvn 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. Please wait a few se

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

2009-11-17 Thread William Stein
On Tue, Nov 17, 2009 at 2:58 PM, 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? Every copy of Sage comes with R. William -- To post to this group, send email to sage-support@googl

[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

[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 wrote: > On Nov 17, 10:10 pm, Mikie wrote: > > > student tTest > > Hi, do you know that there is R inside Sage? An e

[sage-support] Re: maxima-great stats

2009-11-17 Thread Harald Schilly
On Nov 17, 10:10 pm, Mikie 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 Sample t-test data: c(44L, 55

[sage-support] Re: maxima

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

[sage-support] Re: maxima

2009-11-04 Thread William Stein
On Wed, Nov 4, 2009 at 8:24 AM, Mikie wrote: > > Willian, Thanks, I found it.  How do I start it. Type ./sage -maxima from the root of your Sage install. -- william > > On Nov 4, 8:35 am, William Stein wrote: >> On Wed, Nov 4, 2009 at 7:22 AM, Mikie wrote: >> >> > Is the Maxima that Sa

[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 wrote: > On Wed, Nov 4, 2009 at 7:22 AM, Mikie 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-support] Re: maxima

2009-11-04 Thread William Stein
On Wed, Nov 4, 2009 at 7:22 AM, Mikie 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 University of Washi

[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)' Usuall

[sage-support] Re: maxima to sage

2009-11-03 Thread David Joyner
Does this help? sage: f = maxima("x^2-1") sage: type(f) sage: ff = f.sage() sage: type(ff) sage: ff.factor() (x - 1)*(x + 1) On Tue, Nov 3, 2009 at 3:28 PM, Mikie wrote: > > Is there anyway to convert a maxima expression > ('sage.interfaces.maxima.MaximaElement') to > ('sage.calculus.Symbo

[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 wrote: > Does this help? > > sage: f = maxima("x^2-1") > sage: type(f) > > sage: ff = f.sage() > sage: type(ff) > > sage: ff.factor() > (x - 1)*(x + 1) > > > > On Tue, Nov 3, 2009 at 3:28 PM, Mikie wrote: > > >

[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 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-02 Thread Mikie
Didn't you create the API using the notebook? On Sep 1, 10:02 pm, Robert Bradshaw 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 I would give it to

[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

[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 fo

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Mikie
Yes, Robert eval is doing the rounding. How do I fix it? On Sep 1, 12:31 pm, Mikie wrote: > 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 Brads

[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 wrote: > On Tue, 1 Sep 2009, Mikie wrote: > > > When I run the server with the function above and

[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(

[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 wrote: > Sorry, wrong function > > def MSolveSys(syss): >    eqns=eval(syss) >  

[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 wrote: > 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. > > >>

[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 Pyt

[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 th

[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 coefic

[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 '*': ' 'complex'>' and > 'Symbolic Ring' > >

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

2009-03-11 Thread Carl Witty
On Mar 11, 10:47 am, Mani chandra wrote: > Also I tried some basic stuff with "I" and it doesn't seem to be working. > > sage: exp(I).real > Sage prefers methods to properties: sage: exp(I).real() cos(1) Using z = exp(I*r*cos(theta)).real() makes your parametric_plot3d work, too. Carl --~

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

2009-03-11 Thread Mani chandra
Simon King wrote: > 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 Tr

[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 problems in sage 3.1.1

2008-09-15 Thread mabshoff
On Sep 15, 6:34 pm, Jason Bandlow <[EMAIL PROTECTED]> wrote: > Hello, > > I've been happily '$ sage -updgrade'ing since sage 2.10 or so, and > recently noticed that I couldn't use Maxima (details below).  I'm not > sure for how long I've had this problem.   Knowing the disclaimer that > applies

[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 thin

[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

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

2007-06-09 Thread Joel B. Mohler
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 what I tried when the original e-mail was sent out a

[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):

[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 packag

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

2007-06-04 Thread Brandon Weeks
I had this same problem on a Intel Mac (Macbook), running 10.4.9. --~--~-~--~~~---~--~~ 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 http:/

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

2007-05-24 Thread kcrisman
Using your libintl files solved the problem. I suspect that this is what is also happening with some of the others (minor) problems I've had. Yeah, I wouldn't want to try to acquire a soon-to-be-obsolete architecture just for development purposes either. When I have time in the future, I'll try

[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- > Darwin/local/li

[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 http://groups.google.com/gr

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

2007-05-23 Thread kcrisman
> 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- Darwin/local/lib/maxima/5.12.0/binary-clisp/lisp.run Reason: image not found I g

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

2007-05-23 Thread kcrisman
> 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- Darwin/local/lib/maxima/5.12.0/binary-clisp/lisp.run Reason: image not found I g

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

2007-05-23 Thread William Stein
On 5/23/07, kcrisman <[EMAIL PROTECTED]> wrote: > > Is there something about Maxima in Sage 2.5.x? I have tried to use it Please start SAGE, type sage: !maxima then send the output. When things are working correctly, here's what should happen -- and which does happen in the Mac PowerPC pre-co

[sage-support] Re: maxima matrix multiplication in SAGE

2007-02-07 Thread William Stein
On Wed, 07 Feb 2007 16:38:46 -0700, Werner Boeglin: > Hello William, > > thank you for the note. > > I have another almost embarrassing question: for example I define a 2x2 > matrix using maxima: > > C=maxima("matrix([x^2*y,y^2*x],[cos(x)+y,x*cos(y)])") > > and calculate the partial derivative: >

[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 in

[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 pr

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

2006-12-24 Thread Justin C. Walker
On Dec 24, 2006, at 17:43 , Comeon Fhqwhgads wrote: My platform is the same as yours (PowerPC, 10.4.8). I get the following: $ . local/bin/sage-env $ maxima --disable-readline -bash: maxima: command not found Does this mean I need to install maxima on my own? If so, this is not clear from

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

2006-12-24 Thread Comeon Fhqwhgads
My platform is the same as yours (PowerPC, 10.4.8). I get the following: $ . local/bin/sage-env $ maxima --disable-readline -bash: maxima: command not found Does this mean I need to install maxima on my own? If so, this is not clear from the sage installation instructions. I downloaded the p

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

2006-12-23 Thread Justin C. Walker
On Dec 23, 2006, at 14:34 , Comeon Fhqwhgads wrote: Sage starts succesfully, but if I try to run a maxima command, it fails. See attached session: marzipan:~/Documents/school/sage-1.5.0.2-PowerMacintosh-Darwin $ ./ sage | SAGE Vers