On SAGE 8.2
graphs.CompleteGraph(2).show()
returns a diagram of two isolated points. Anyone can reproduce the same
issue?
Yet, graphs.CompleteGraph(2).edges() does return [(0, 1, None)]
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To uns
I have a bunch of old scripts in .sage files. They were compiled into .pyc
files years ago.
Unfortunately, I only remember that I ran sage --preparse on the .sage
files and got them into .py files but forgot what next.
I tried import py_compile in sage then ran py_compile.compile('xxx.py')
whi
writing
their owns.
So how can I save those pyc files generated by sage separately and have
them run inside a session?
Thanks in advance
On Wednesday, October 16, 2019 at 12:02:00 PM UTC-7, Dima Pasechnik wrote:
>
> On Wed, Oct 16, 2019 at 6:18 PM pong >
> wrote:
> >
>
I am looking for the binaries of Sage 9.1 for Debian Buster but it's
notably missing from the download list. Will it be there any time soon?
Thanks
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receivi
:07 PM pong >
> wrote:
> >
> > I am looking for the binaries of Sage 9.1 for Debian Buster but it's
> notably missing from the download list. Will it be there any time soon?
>
> they are there - note that Buster is Debian 10:
> e.g. I see
>
>
> h
Running sagemath 9.1 from a jupyter notebook
When calling graph_editor() got the following error message.
How can I make the module 'sagenb' works again?
[image: ge.png]
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this
I see. Is there a substitute for graph_editor()? It's fairly convenient.
On Thursday, August 27, 2020 at 8:48:32 AM UTC-7 dim...@gmail.com wrote:
> On Thu, Aug 27, 2020 at 4:45 PM pong wrote:
>
>>
>> Running sagemath 9.1 from a jupyter notebook
>>
>>
ll have is that changes made to the graph
> outside of the editor will be automatically updated in the editor. This
> will for instance allow to display step by step the computation done by
> a function (for teaching, or debugging, or ...).
>
> Any feedback is welcome.
>
> Jean-
node with a mouse.
On Sunday, August 30, 2020 at 2:13:55 PM UTC-7 dim...@gmail.com wrote:
> On Sun, Aug 30, 2020 at 10:03 PM pong wrote:
> >
> > Hi Jean-Florent,
> >
> > I did exactly just that (see attachment) but it complains about the need
> of at least one requir
e it works with the version of sage I was using at the
> >> beginning of summer (version 9.2.beta1, release date: 2020-06-13) but
> >> fails when I compile the latest version from develop.
> >> I will investigate and try to fix this problem.
> >>
> >
> > a bun
For convenient, I would like to add an attribute, upper_bounds, to Poset
objects
However, after writing the method and issue
Poset.upper_bounds = upper_bounds
X.upper_bounds(S) complains
'FinitePoset_with_category' object has no attribute 'upper_bounds'
When I try
FinitePoset_with_category.u
et
> sage: FinitePoset.upper_bounds = upper_bounds
>
> Then
> sage: X = Poset(...)
> sage: X.upper_bounds(...)
> shoud work.
>
>
> Le lundi 28 septembre 2020 à 18:29:43 UTC+2, pong a écrit :
>
>> For convenient, I would like to add an attribute, upper_bounds, to Pos
?
/home/pong/sage-7.2/src/build/cythonized/sage/matrix/matrix_modn_dense_double.cpp:
In function ‘PyObject*
__pyx_f_4sage_6matrix_24matrix_modn_dense_double_linbox_charpoly(__pyx_t_4sage_6matrix_24matrix_modn_dense_double_celement,
Py_ssize_t, __pyx_t_4sage_6matrix_24matrix_modn_dense_doubl
except for some Sage library modules which include LinBox
headers, and hence have to be built with '-std=gnu++98', too."
How do I build those headers with '-std=gnu++98'?
On Monday, June 27, 2016 at 6:57:09 AM UTC-7, pong wrote:
>
> I aware of the probl
I forgot my sage account password so I couldn't it from www.sagenb.org.
And I couldn't find any way to recover the password or create a new
one. Can someone tell me what can I do in this case?
Thanks
--~--~-~--~~~---~--~~
To post to this group, send email to sage-
William,
My login name is wpong
On Apr 13, 4:29 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Sat, Apr 12, 2008 at 10:40 AM, pong <[EMAIL PROTECTED]> wrote:
>
> > I forgot my sage account password so I couldn't it fromwww.sagenb.org.
> >
create another account? I actually haven't used it so no
works has been lost.
I am sorry for the inconvenient caused but is there an automatic
system that take care of that. I suppose as the number of users grow,
this will become a rather common problem.
Thanks
Pong
On Apr 13, 8:55 am, &qu
I want to label several curves on a graph, say y=x^2 and y=x^3-5, with
the labeling appear next to the curve.
I know I can use text('y=x^2',...) to achieve that. But how can I use
the "nice form" i.e. x (superscript 2) instead of x^2? I couldn't find
any example of this kind for instance in sage_f
Sweet! It works perfectly. Thanks.
On Apr 13, 11:24 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Sat, Apr 12, 2008 at 8:22 PM, pong <[EMAIL PROTECTED]> wrote:
>
> > I want to label several curves on a graph, say y=x^2 and y=x^3-5, with
> > the l
but forgot... what should I do? I
tried reinstall SAGE and vmware player but nothing seems to help.
2) I read a little from this support group and understand that
currently it is not possible to remove worksheets from trash, am I
right?
Thanks in ad
r to https://localhost:8000. Again firefox complaints
"unable to connect".
Please help
Pong
On Apr 14, 11:20 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Sun, Apr 13, 2008 at 7:58 PM, pong <[EMAIL PROTECTED]> wrote:
>
> > Sorry that I have a password pr
I have installed the Imagemagick package and (I guess) it's in the
path since the window command prompt understand the convert function.
However, I still couldn't get SAGE to recognize the 'gif' command
( SAGE ref. p260)
I want to slow down an animation by using the 'delay' option in gif.
Could
am the program "convert"
>is in your path.
So that's why I asked my question that way... may be that user was not
running SAGE from vmware...
Pong
On Apr 16, 6:47 am, "Hector Villafuerte" <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 15, 2008 at 9:46 AM, pong <
I wonder if there is any parenthesis matching function in SAGE
notebook environment (like that in Emacs). It is helpful in typing an
instruction with severals nested parenthesis.
If this has been implemented, how how to invoke it? If not, I hope
this will be implemented in later versions of SAGE.
I followed example 5.2.4 in SAGE Programming Guide. However, even
after the %cython cell is executed the runtime shown by
time v=[sumsquares(100) for _ in xrange(1)]
does not decrease as if SAGE still runs the uncomplied version (which
was typed preceding the %cython cell)
May I know why? A
I have a basic question about loading object in the notebook
environment. Currently, I have to typed the whole path in order to
load a saved object.
For example, I saved the matrix A as C by save(A,'C')
But, say, I want to load it as B, I have to type
B = load('/home/sage/try/worksheets/admin/0
I have followed the SAGE program guide and create the function
sumsquares (one of the examples there). It works for the same session
of the notebook. My question is how can I use this faster version of
sumsquares in the future?
At the moment, I just want when I type, e.g. sumsquares(1000), in a
n
Thanks William. This is what I needed.
On Apr 24, 9:57 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 24, 2008 at 6:51 AM, pong <[EMAIL PROTECTED]> wrote:
>
> > I have a basic question about loading object in the notebook
> > environment. C
torial describes the use of load and the use of
cython(open(...))
was discussed in this group under the title Problem to access C code
On Apr 25, 8:29 am, pong <[EMAIL PROTECTED]> wrote:
> I have followed the SAGE program guide and create the function
> sumsquares (one of the exampl
According to SAGE tutorial once the user loaded "example.sage" into
SAGE, it will convert the codes into Python. And the converted version
is then stored in the same directory (as the one containing
example.sage) under the name example.sage.py. However, I cannot find
the .sage.py file even after l
Sorry for asking such a basic question but I still have trouble with
it.
I have created example.sage with the following content
print "Hello World"
print 2^3
and load it into SAGE by load "example.sage". My understanding of the
tutorial is that SAGE will convert this into python and save it in
, it
returns an error. However, it works after the line "from
sage.all_cmdline import *" is deleted from the .py file. I guess there
must be a better way to turn SAGE code into faster executable code.
Thanks
On Apr 27, 8:29 am, Jason Bandlow <[EMAIL PROTECTED]> wrote:
> Hello,
There is a typo in my previous post.
It should be /home/sage/.sage/filename.spyx
I forgot the / before home.
On Apr 26, 4:49 pm, pong <[EMAIL PROTECTED]> wrote:
> After digging around a little bit more I found something that works.
>
> To load a python program into a workshe
I use SAGE VMimage on a window machine.
I have trouble starting a secure session of sage notebook by
sage: notebook(address='192.168.XXX.XXX')
where 192.168.XXX.XXX is the address given to me by starting the
notebook at sage login
sage login: notebook
1) the notebook started fine when I just
wrote:
> On Tue, Aug 19, 2008 at 10:07 AM, pong <[EMAIL PROTECTED]> wrote:
>
> > I use SAGE VMimage on a window machine.
>
> > I have trouble starting a secure session of sage notebook by
>
> > sage: notebook(address='192.168.XXX.XXX')
>
> Wha
That's it. Problems solved. Thanks!
On Aug 19, 10:52 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 19, 2008 at 10:50 AM, pong <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the reply.
>
> > The troubles are:
>
> > 1) the la
I have the exact same problem.
1) I'm not sure what Data...-> Upload file means. I tried that in a
notebook session as suggested but got a syntax error. I also try
Upload? but no information is available.
2) I understand that one can set up a file sharing folder between
windows and VMware but lo
I try to use sagetex in a MikTeX system (i.e. running VMware image of
sage and MikTeX on a window machine)
I download the example.tex from the sagetex distribution and run latex
on it. I understand I need to then run SAGE on example.sage. So I
uploaded example.sage into the VMware file system and
I have written an animation which runs fine in SAGE on my PC.
However, when I run the same script on Milnix.org server, I got an
error message:
sh: convert: command not found
what's the problem? any help?
Thanks in advance
--~--~-~--~~~---~--~~
To post to this g
Thanks for the explanation. It does work in server 2.
-Pong
On Sep 18, 6:05 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 18, 2008 at 6:02 PM, pong <[EMAIL PROTECTED]> wrote:
>
> > I have written an animation which runs fine in SAGE on my PC.
>
This is not a bug report. But I'm not sure where to post a suggestion.
In the SAGE tutorial, http://www.sagemath.org/doc/tut/node27.html
there is an example:
sage: c = factorial(25); c
1551121004333098598400
sage: [valuation(c,p) for p in prime_range(2,23)]
[22, 10, 6, 3, 2, 1, 1, 1]
Since
I tried the example
sage: s = singular.eval
sage: s('LIB "surf.lib";')
...
sage: s("ring rr0 = 0,(x1,x2),dp;")
...
sage: s("ideal I = x1^3 - x2^2;")
''
sage: s("plot(I);")
in http://www.dms.umontreal.ca/~math/logiciels/Sage/const/node18.html#ch:AG
Looks like surf has been load
Thanks for the reply. If I want plot an algebraic curve using
SAGE, what should I do then? Any suggestion?
Pong
On Sep 20, 1:58 pm, mabshoff <[EMAIL PROTECTED]
dortmund.de> wrote:
> On Sep 20, 11:37 am, pong <[EMAIL PROTECTED]> wrote:
>
> Hi Pong,
>
>
>
>
Hi Mike,
It works for my case. Thanks!
Pong
On Sep 20, 4:02 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> On Sat, Sep 20, 2008 at 3:47 PM, pong <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the reply. If I want plot an algebraic cur
Hi,
When will the new VMWare image available? I just download it from
sagemath.org but the version I got is still 3.0.6
On Sep 21, 5:34 pm, mabshoff <[EMAIL PROTECTED]
dortmund.de> wrote:
> [Due to three security critical notebook bugs it is *highly*
> recommended that you upgrade from all p
Is server 2 currently down? I have troubles in running sage there this
morning.
my username there is pong
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For
On Sep 22, 11:51 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 22, 2008 at 11:36 AM, pong <[EMAIL PROTECTED]> wrote:
>
> > Is server 2 currently down? I have troubles in running sage there this
> > morning.
>
> Thanks for letting me know
ot;William Stein" <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 22, 2008 at 12:01 PM, pong <[EMAIL PROTECTED]> wrote:
>
> > William,
>
> > Thanks for the reply. And I understand that could happen. Well, it
> > looks like the content of one of my worksheets is gone. I
I tried
sage: A=matrix([[1,1],[2,3]])
sage: A.eigenvalues()
[0.2679491924311228?, 3.732050807568878?]
My question is why the last digit before ? in 0.2679491924311228? is
'8'? Shouldn't it be "7" according to
sage: ch=characteristic_polynomial(A)
sage: solve(ch(x)==0,x)
[x == 2 - sqrt(3), x ==
I tried one of the examples (example 3 in DiGraph?)
g = DiGraph({0:{1:'x',2:'z',3:'a'}, 2:{5:'out'}},
implementation='networkx'); show(g)
However, I don't see any label of the edges, why?
Also, I think the DiGraph function is very useful for drawing finite
automata (thanks!) My question is: do
#x27;), (1, 1, 'hola'), (1, 2, 'dos'), (1, 2, 'two'), (2, 1,
'one')]
G.show()
I expect to see two loops from 1 to 1 labeled by 'hola' and 'hi',
etc...
but the result of G.show() only show one loop and no lables on the
edges.
Can some
Thanks!!
A more general question, how can I find out all the possible options
for a command, like "show" for example?
I've tried show.option? which doesn't seem to work.
On Sep 25, 9:56 am, "Mike Hansen" <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
To add to Stan's reply, you can add
pylab.grid(True, linestyle='-', linewidth=.5, alpha=.3)
in order to have a light grey grid display at the background.
On Sep 25, 7:49 am, Jason Grout <[EMAIL PROTECTED]> wrote:
> Maike wrote:
> > Hi Jason,
>
> > Thanks for the help! Which parameter is it that
I apologize in advance that if this is not a right place to ask this
question.
I have some problem in using wiki.sagemath.org. I created an account
but when I tried to re-login sometime later it compliant that my
password is wrong. (I'm pretty sure I remember my password
correctly).When I tried
Hi Michael,
Thank you for your reply. And shame on the spammer.
However, as I said wiki compliant about the fact that my
username is used by someone. Could you remove mine? I will send you my
username off the list.
Pong
On Sep 27, 9:06 pm, mabshoff <[EMAIL PROTECTED]
dortmund
Hi,
I have the same problem as John did. When I try
slider(-0.7, 0.7, 0.01, 0)
the slider start with a very small number but not exactly 0. Can that
be fixed somehow? In fact, for my purpose I want it to start at a
nonzero value but can hit exact 0 by sliding, how can that be done?
Thanks Marshall. That solves my problem.
On Sep 28, 10:53 am, Marshall Hampton <[EMAIL PROTECTED]> wrote:
> If you need an exact zero you could do:
>
> slider(-7/10, 7/10, 1/100, 0)
>
> ...unless I misunderstood the question.
>
> -M. Hampton
>
> On Sep 28,
For a quick solution, you can try
print('a2 ='),a2
I hope someone who know SAGE much better can tell you how to print it
in the LaTeX form.
On Oct 3, 7:07 am, Samuel Gaehwiler <[EMAIL PROTECTED]> wrote:
> hi,
>
> I use sage (in notebook mode) for basic calculations on a daily basis.
> I also l
I understand the issue. However, is there a way that I can retrieve
the worksheets that I have saved in server 2?
On Oct 13, 2:29 pm, William Stein <[EMAIL PROTECTED]> wrote:
> Hello,
>
> A security researcher decided to purposely take down sage.math to
> demonstrate that it is possible to fork
Yes, it will be nice to bypass the login process.
Hum... should people be able to download (not upload) their worksheets
onto their local machines? I guess it won't post any security threats,
right?
On Oct 16, 10:11 am, Jason Grout <[EMAIL PROTECTED]> wrote:
> Robert Bradshaw wrote:
> > On Oct 1
Is there any bulit-in function of sage which can multiply each element
of a list of numbers by a constant?
e.g. I want 2*[3,4] = [6,8]
without calling pari/gp.
Thanks in advance
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.
t it does the trick:
>
> sage: [2*_ for _ in [3,4]]
> [6,8]
>
> Best,
> Alex
>
> On Sun, Oct 19, 2008 at 3:22 PM, pong <[EMAIL PROTECTED]> wrote:
>
> > Is there any bulit-in function of sage which can multiply each element
> > of a list of numbers by a
Hi Alex,
Sorry, it does work---it was a spacing problem. I should have copy-
and-paste yours.
Thanks
Pong
On Oct 18, 10:14 pm, "Alex Ghitza" <[EMAIL PROTECTED]> wrote:
> Hmmm. As far as I know you can use _ as a placeholder for a variable, and
> it's meant for
Thanks Marshall. I have thought about that as well.
Since I want to optimize time. I want to see if your method is faster
then a for loop. However, I run into something puzzling:
vector( [k for k in range(10)]) results in an error. Sage compliant
about
TypeError: unable to find a common ring for
TypeError Traceback (most recent call
last)
/home/pong/sage/ in ()
/home/pong/sage/free_module_element.pyx in
sage.modules.free_module_element.vector (sage/modules/
free_module_element.c:2376)()
/home/pong/sage/free_module_element.pyx in
sage.modules.free_module_element.prepare (sa
William Stein wrote:
> > On Mon, Oct 20, 2008 at 2:24 PM, pong <[EMAIL PROTECTED]> wrote:
> >> Yes, that's what I got. Maybe because I'm only using SAGE 3.1.1 or
> >> there is something wrong with the installation.
>
> > I bet that's the case. Yo
in range(10)]')
125 loops, best of 3: 8.3 ms per loop
which suggested otherwise. Also how does timeit determine how many
loops to perform in a test?
On Oct 21, 4:09 pm, Dan Drake <[EMAIL PROTECTED]> wrote:
> On Tue, 21 Oct 2008 at 07:50AM -0700, pong wrote:
> > I wrote two list
I plot both ln(|x|) and 1/x on the same graph and try to label them by
t1=text('$\frac{1}{x}$', (1,4), fontsize=14, rgbcolor='red');
t2=text('$\ln(|x|)$', (1,5), fontsize=14)
While SAGE understand perfectly what to do with \ln, it doesn't seem
to know what to do with \frac:
it complaints
Trace
It works. Thanks.
On Oct 31, 1:15 am, Burcin Erocal <[EMAIL PROTECTED]> wrote:
> On Thu, 30 Oct 2008 20:49:33 -0700 (PDT)
>
>
>
> pong <[EMAIL PROTECTED]> wrote:
>
> > I plot both ln(|x|) and 1/x on the same graph and try to label them by
>
> >
I have published a worksheet title Demo when server 2 was available.
However, I can no longer find it on the published worksheet list from
SAGE online. Any help?
Thanks in advance
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroup
I defined a function which show the shaded area between the graphs of
two functions over an interval (maybe such function already exist?).
For example,
plot_shaded_area(sin(x), cos(x), 1,2)
show the shaded area between sine and cosine over [1,2]. Well, my
script doesn't work if I change cos(x) t
, 9:22 am, Jason Grout <[EMAIL PROTECTED]> wrote:
> pong wrote:
> > I defined a function which show the shaded area between the graphs of
> > two functions over an interval (maybe such function already exist?).
> > For example,
>
> > plot_shaded_area(sin(x), co
Thanks.
Where can I find out more about fast_float?
Even after importing fast_float, "fast_float?" does not show any
useful information.
Is it related to fast_arith?
On Nov 12, 7:56 pm, Robert Bradshaw <[EMAIL PROTECTED]>
wrote:
> On Nov 12, 2008, at 5:52 PM, kcrisman wrote:
>
> >> put those
plot that I want.
Why?
On Nov 13, 1:59 pm, Robert Bradshaw <[EMAIL PROTECTED]>
wrote:
> On Nov 13, 2008, at 1:22 PM, pong wrote:
>
>
>
> > Thanks.
>
> > Where can I find out more about fast_float?
> > Even after importing fast_float, "fast_float?&q
Also, let me apologize in advance if that's because some bugs in my
script. But I hope someone can tell me why that's happening.
On Nov 13, 11:10 pm, pong <[EMAIL PROTECTED]> wrote:
> While working with fast_float, I find something extremely puzzling!
> It's hard to ex
olygon(vf + vg, rgbcolor='grey')
> return(plot(f1, (c,d)) + plot(g1, (c,d), rgbcolor='red') + sha)
>
> -M. hampton
>
> On Nov 14, 1:12 am, pong <[EMAIL PROTECTED]> wrote:
>
> > Also, let me apologize in advance if that's because some bugs in my
I have turned some codes that I have from PARI/GP into SAGE script but
I find that they are order of magnitude slower than the original
codes. Both types of codes are complied (i.e. I have .run in PARI and
spyx files for SAGE) and running on the same machine.
I am sure that's because I don't kno
According to diveintopython .extend should be faster than + since the
former does not return a value.
I was curious and tried
%timeit [ ]+[2]
100 loops, best of 3: 741 ns per loop
and
%timeit [ ].extend([2])
100 loops, best of 3: 870 ns per loop
so + actually beats .extend slightly.
I
I was a bit reluctant to post this question here since "support"
shouldn't mean teaching me how to write programs. But Jason Grout
suggested me to post it here anyway.
Here is a very short script that I want to maximize the speed
def lspec(n):
return sorted([k if k^2 < 2*n else 2*n/k for k
Maybe someone has reported this already... but looks like there is a
bug in integral
sage: integral(x*abs(9-x^2), x, -6, 0)
162
The integrand is negative on (-6,0)
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscr
list,
but somehow it does not show up in either the user or the bug list of
maxima. Isn't that strange?
On Nov 19, 9:33 am, "David Joyner" <[EMAIL PROTECTED]> wrote:
> Thanks for reporting this. I emailed the maxima users list.
>
> On Wed, Nov 19, 2008 at 11:50
<[EMAIL PROTECTED]>
wrote:
> On Nov 15, 2008, at 11:57 PM, pong wrote:
>
> > I was a bit reluctant to post this question here since "support"
> > shouldn't mean teaching me how to write programs. But Jason Grout
> > suggested me to post it here anyway.
&
Oh really.
Now I realized why I had in my mind that SAGE was much slower---the
test what based on a more complicated function instead of just
divisors.
Looking forward to SAGE 3.2.1 then.
On Nov 24, 11:05 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 24, 200
Hi,
I wonder if SAGE is optimized for multi-core CUPs (people told me
that many programs don't). Also, does it matter (in term of speed)
that SAGE is running on a 64-bit OS vs 32-bit? In general, what would
have to most significant impact on the speed of running SAGE, # of
cores, OS or simpl
t; > On Nov 29, 11:37 am, Robert Bradshaw <[EMAIL PROTECTED]>
> > wrote:
> >>> On Nov 29, 2008, at 07:35 , pong wrote:
>
> >>>> Hi,
>
> >>>> I wonder if SAGE is optimized for multi-core CUPs (people
> >>>> told me
>
In SAGE 3.2.1 , the docstring of divisors says:
Definition: divisors(n)
Docstring:
Returns a list of all positive integer divisors
of the nonzero integer n.
A second parameter may be passed to surpress sorting
of the list (as ordering the list can be more tim
operations that may screw up the
order but then one does want a sorted result at the end.
On Dec 4, 10:06 pm, Robert Bradshaw <[EMAIL PROTECTED]>
wrote:
> On Dec 4, 2008, at 9:35 PM, pong wrote:
>
>
>
> > In SAGE 3.2.1 , the docstring of divisors says:
>
&
This may work for you
html(r'\tan^{-1} x') or simply html(r'$\tan^
{-1} x$')
the r before ' stands for "raw string".
On Dec 8, 9:55 pm, acardh <[EMAIL PROTECTED]> wrote:
> I am working in the Sage Notebook, I can reproduce the Taylor Series
> example as is. The LaTeX works fine there.
>
> I t
of example.tex! Traceback follows.
Traceback (most recent call last):
File "example.py", line 181, in
matrixprogram = matrix_plot(M,cmap='Greys')
File "/home/pong/sage-3.2.2/local/lib/python2.5/site-packages/sage/
plot/misc.py", line 285, in wrapper
return
I see. Thanks
Well, I hope my post at least let people aware of this if they do a
search of sagetex in sage-support.
On Dec 21, 5:56 pm, "Mike Hansen" wrote:
> Hi,
>
>
>
> On Sun, Dec 21, 2008 at 5:47 PM, pong wrote:
>
> > I have recently switch to running SA
There is an older post about this issue:
http://groups.google.com/group/sage-support/browse_thread/thread/ecdf6f75295ad76d
however the "reply" button is missing there (only "reply to author" is
available).
There are some "problems" in using text3d as a solution of adding axes
labels to a 3d plo
I have a .spyx file which compiles and runs fine on my dept machine
(running sage-3.2.1) but I couldn't compile it on my laptop (running
sage-3.2.3 on linux). It complaints about
Compiling spec.spyx...
Error compiling cython file:
Error compiling spec.spyx:
...
/usr/bin/ld: cannot find -lstdc++
pm, pong wrote:
>
> Hi,
>
> > I have a .spyx file which compiles and runs fine on my dept machine
> > (running sage-3.2.1) but I couldn't compile it on my laptop (running
> > sage-3.2.3 on linux). It complaints about
>
> > Compiling spec.spyx...
> >
I want to use XGAP (a graphical interface for GAP). Since GAP comes
with SAGE, I wonder if one can make use of that somehow instead of
installing GAP separately on the machine.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
ing about?
I have just switched to linux from Windows so many things are new to
me.
On Jan 24, 9:26 am, mabshoff wrote:
> On Jan 24, 9:21 am, pong wrote:
>
> Hi,
>
> > I want to use XGAP (a graphical interface for GAP). Since GAP comes
> > with SAGE, I wonder if one
I expect to get a 3 x 2 integer matrix with entries between -10 to 10
by typing
sage: A =random_matrix(ZZ,3,2, x in [-10..10])
sage: A
but what I got is
[16 1]
[-2 2]
[ 0 0]
so why 16 appears? It is a bug? if it's just a misunderstanding of the
command from me, sorry.
--~--~-~--~-
A colleague of mine would like to produce some 3D animation (an
illustration involving cones and spheres). He looked into SAGE and
said it will be difficult compare to Mathematica and so he decided to
use the latter.
By reading this group, I understand one can render the images via
tachyon then p
I have just installed SAGE-3.4 on a Macbook (OS X 10.5.6), everything
seems fine except when I log out from a sage notebook session and try
relogin from the same page then I get an error. I'm pretty sure that
the password is correct cos I've just created it the first time I ran
notebook(). I even
I wrote couple sage scripts and would like to compile them in Mac OS
10.5. Looks like I need GCC. How can I install one? A quick search on
the internet seems to suggest that I need to sign up as an Apple
Developer to get a copy which I don't feel comfortable to.
Thanks in advance
--~--~-~
I have upgraded to SAGE 4.0.2 and try using Firefox to view the
notebook started by notebook(secure=True)
When I pointed my browser to https://localhost:8000
It compliant:
localhost:8000 uses an invalid security certificate.
The certificate is not trusted because it is self signed
(Error code:
1 - 100 of 163 matches
Mail list logo