Hi
Your sage installation seems to be in /home/toivo/sage/.
This is normally called SAGE_ROOT, which is a bash variable.
You can set the command sage to be an alias for /home/toivo/sage/sage
like this
alias sage='/home/toivo/sage/sage'
and you can make this permanent for all new terminals you op
I understood. Then next question.
I build sage from source.
In terminal.
$ sage
No command 'sage' found, did you mean:
Command 'osage' from package 'graphviz' (main)
Command 'save' from package 'atfs' (universe)
Command 'page' from package 'tcllib' (universe)
sage: command not found
Best regar
The sage prompt is *not* a bash (or shell) prompt! It is an ipython
prompt. If you want the output dumped to a file, then you need to run
the asd.sage file like this:
$ sage asd.sage > output.txt
On 11/21/2012 12:57 PM, Александр Шевченко wrote:
I have encountered problem using Sage 5.4.
I wa
I have encountered problem using Sage 5.4.
I want output information in file from console. On usually solve of this
problem Sage write. My OS is Ubuntu.
sage: asd.sage > output.txt
---
NameError
On 11/20/12 8:59 PM, Dima Pasechnik wrote:
On 2012-11-20, john_perry_usm wrote:
--=_Part_212_31060160.1353448773382
Content-Type: text/plain; charset=ISO-8859-1
Okay, does anyone know how I change files in the library in such a way that
mercurial actually notices?
I can modify the matplot
On 2012-11-20, john_perry_usm wrote:
> --=_Part_212_31060160.1353448773382
> Content-Type: text/plain; charset=ISO-8859-1
>
> Okay, does anyone know how I change files in the library in such a way that
> mercurial actually notices?
>
> I can modify the matplotlib backend for PDF's so that thi
Okay, does anyone know how I change files in the library in such a way that
mercurial actually notices?
I can modify the matplotlib backend for PDF's so that this works, but those
files don't show up in the source directory, so hg doesn't pick up on the
changes. How do I supply a patch for this
On 2012-11-20 10:48, LFS wrote:
How do you get sage out of a loop early?
How do you get sage to totally stop in the middle of a block?
Two ways have been mentioned; yet another is a custom Exception:
class IWantOut(Exception):
pass
try:
loop ...
...
Hi!
On 2012-11-20, LFS wrote:
> --=_Part_363_10202299.1353441032364
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thank-you both!
> The 'break' did what I wanted for now and will test os._exit() in a bit.
> Really appreciate your help.
PS: Sage's user language is Python (plus some prep
A quick follow-up:
On Nov 19, 2012, at 23:25 , Justin C. Walker wrote:
> On Nov 19, 2012, at 22:36 , Jan Groenewald wrote:
[snip]
> Using Mac OS X, 10.6.8. Sage 4.8 has maxima 5.23 (maxima-5.23.2.p3.spkg);
> 5.0-beta2 has maxima 5.26.
[snip]
>
>> sage: n(jacobi('sn',u+2*I*elliptic_kc(1-m),m))
>
Jason
On Thursday, November 15, 2012 12:01:02 PM UTC-6, Jason Grout wrote:
>
> Can you get a small test case for us to play with?
>
sage: p = disk((0,0),5,(0,pi/4),color='red')
sage: p += disk((0,0),5,(pi/4,pi/2),color='red',alpha=0.5)
sage: p.save("test.pdf")
This fails for me. If I change th
Hello
Finally got round to it.
On Thursday, November 15, 2012 11:44:36 AM UTC-6, Volker Braun wrote:
>
> I think I saw that before. Maybe converting coordinates to RDF works?
> Please open a ticket if you can isolate a test case.
RDF doesn't work, either. float does.
I'm trying to write up a
Thank-you both!
The 'break' did what I wanted for now and will test os._exit() in a bit.
Really appreciate your help.
--
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 unsubsc
On Tue, Nov 20, 2012 at 10:48 AM, LFS wrote:
> How do you get sage out of a loop early?
> How do you get sage to totally stop in the middle of a block?
>
> for n in (0..2):
> for m in (0..3):
>p=2*m
>print p
>if p==2:
> print 'I want out of loop'
> m=4
> if n==1:
> p
sage: for m,n in CartesianProduct(range(2), range(3)):
: p = 2*m
: print p
: if p==2:
: m = 4
: break
: if n==1:
: os._exit(0)
:
0
0
On Tuesday, November 20, 2012 6:48:14 PM UTC, LFS wrote:
>
> How do you get sage out of
How do you get sage out of a loop early?
How do you get sage to totally stop in the middle of a block?
for n in (0..2):
for m in (0..3):
p=2*m
print p
if p==2:
print 'I want out of loop'
m=4
if n==1:
print 'I want to stop Sage'
print 'Did not stop Sage'
I want to get o
On Tue, 20 Nov 2012 09:25:21 +0100
Burcin Erocal wrote:
> On Mon, 19 Nov 2012 23:25:34 -0800
> "Justin C. Walker" wrote:
>
> >
> > On Nov 19, 2012, at 22:36 , Jan Groenewald wrote:
> >
> > > On 16 September 2012 08:08, Robert Dodier
> > > wrote:
> > >
> > >> On 2012-09-16, kcrisman wrote:
On Mon, 19 Nov 2012 23:25:34 -0800
"Justin C. Walker" wrote:
>
> On Nov 19, 2012, at 22:36 , Jan Groenewald wrote:
>
> > On 16 September 2012 08:08, Robert Dodier
> > wrote:
> >
> >> On 2012-09-16, kcrisman wrote:
>
> > Either that was a regression specifric to maxima 5.26, or this
> > prob
Hi
I can also do this (Note the only change I -> %i):
sage: maxima("jacobi_sn(1.2 + 3.7081493546*I, 0.500)")
jacobi_sn(3.7081493546*I+1.2,0.5)
sage: maxima("jacobi_sn(1.2 + 3.7081493546*%i, 0.500)")
.8877154886192803-9.851415480779732e-13*%i
sage:
Regards,
Jan
On 20
19 matches
Mail list logo