>
>
> 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
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
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
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
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
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
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
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
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
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
> 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
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,
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
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
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
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
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
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
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,
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
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?
>
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
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
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
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:
>
> >
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.
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
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
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
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
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
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
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(
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)
>
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.
>
> >>
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
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
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
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'
>
>
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
--~
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
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)
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
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
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
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
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):
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
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:/
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
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
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
> 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
> 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
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
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:
>
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
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
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
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
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
61 matches
Mail list logo