On Monday 10 November 2008, Thomas Kahle wrote:
Dear all,
I'm curious about performance of Singular computations which are run
from sage:
I tried the following test:
---
cat singulartest.sage
R = singular.ring(0,'(a,b,c,w,x,y,z)','lp');
I = singular.ideal('x5-abc3', 'x7-w5a5b5',
Hi,
here is another try.
sage: R = QQ['a,b,c,w,x,y,z']
sage: (a,b,c,w,x,y,z) = R.gens()
sage: I = (x^5-a*b*c^3, x^7-w^5*a^5*b^5, b*c^3-a^7, \
b^2*a^3*c^5*x-y*z*w^2, x*y*z-w*z^2*a*b, b*x-a*w*z^9)*R
sage: time _ = I.radical()
CPU times: user 0.21 s, sys: 0.05 s, total: 0.26 s
Wall time: 41.03 s
On Mon, 2008-11-10 at 16:27 +, Martin Albrecht wrote:
On Monday 10 November 2008, Thomas Kahle wrote:
Hi,
here is another try.
sage: R = QQ['a,b,c,w,x,y,z']
sage: (a,b,c,w,x,y,z) = R.gens()
sage: I = (x^5-a*b*c^3, x^7-w^5*a^5*b^5, b*c^3-a^7, \
b^2*a^3*c^5*x-y*z*w^2,
Well, given that it works the way I want it on your machine I will
consider that a minor problem then :)
To make sure I just checked on sage.math (64-bit, Debian/GNU Linux, 1.8Ghz):
Singular:
real0m36.738s
user0m34.946s
sys 0m1.784s
Sage:
real0m39.919s
user0m1.796s
sys
On Monday 10 November 2008, Thomas Kahle wrote:
Hi,
here is another try.
sage: R = QQ['a,b,c,w,x,y,z']
sage: (a,b,c,w,x,y,z) = R.gens()
sage: I = (x^5-a*b*c^3, x^7-w^5*a^5*b^5, b*c^3-a^7, \
b^2*a^3*c^5*x-y*z*w^2, x*y*z-w*z^2*a*b, b*x-a*w*z^9)*R
sage: time _ = I.radical()
CPU times: user
Dear all,
I'm curious about performance of Singular computations which are run
from sage:
I tried the following test:
---
cat singulartest.sage
R = singular.ring(0,'(a,b,c,w,x,y,z)','lp');
I = singular.ideal('x5-abc3', 'x7-w5a5b5', 'bc3-a7', 'b2a3c5x-yzw2',\
'xyz-wz2ab', 'bx-awz9')
S =
In connection with another post by Andreas, I realised that the above
ashow() definition does not create nice output if decimal numbers are
involved:
y = 0.5*x
ashow('y')
returns:
y=0.500x
Is there a way of manipulating the eval() command to round a decimal
number? If so, I would be
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
Hello,
I am trying to plot an edgevworth box in sage. To do so, I need to
plot contours of two different functions; one of them with the usual
origin and axes, the other turned upside-down - i.e. with origin north-
east.
To get a feeling of how this works, you can have a look at
It seems that latex(eqn) just evaluates eqn and prints the result in
latex notation, without cutting off annoying 0s or giving the user the
opportunity to set a precision. I find this very annoying, as such
latex output is not very useful for illustration purposes. Does anyone
know a trick how to
On Monday 10 November 2008, Nasser Abbasi wrote:
Hello;
I was just browsing something to learn about sage, and noticed this on
this web site
http://wiki.sagemath.org/sage_mathematica
where it says:
sage: [f(i) for i in range(1, 11)]
[g(1), g(2), g(3), g(4), g(5), g(6), g(7), g(8), g(9),
On Nov 10, 2008, at 11:23 AM, Nasser Abbasi wrote:
Hello;
I was just browsing something to learn about sage, and noticed this on
this web site
http://wiki.sagemath.org/sage_mathematica
where it says:
sage: [f(i) for i in range(1, 11)]
[g(1), g(2), g(3), g(4), g(5), g(6), g(7), g(8),
var('G')
GAMA=var('gamma')
BETA=var('beta')
PSI=var('psi_c')
THETA=var('theta')
N=var('N')
MI=var('mu')
J1(x)=var('J_e1')
JR=var('J_R')
PI=var('pi')
GAMA==1
BETA==1
THETA==10
N==1000
MI==1
JR==0
PI==3
PSI==x
G = GAMA * (exp(PSI) + BETA*sqrt(THETA)*exp(PSI/THETA)) /
sqrt(2*PI*(N^2 * MI - 2*PSI))
One more question about this. How can I draw a line between any two
given points?
I am doing this
world = sphere((0,0,0), size=1, color='blue')
cities = [(38.7598, -121.294),(40.3503, -74.6594),(27.959, -82.4821)]
t = RDF(pi/180)
city_coords = [(cos(t*theta)*cos(t*phi), sin(t*theta)*cos(t*phi),
I get the following error while I was trying one of the examples about
animate
sage: a.show()
dyld: Symbol not found: __cg_png_create_info_struct
Referenced from: /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/ImageIO
Expected
Thanks, Martin.
On Nov 10, 8:07 pm, Martin Rubey [EMAIL PROTECTED] wrote:
Alex Raichev [EMAIL PROTECTED] writes:
Hi all:
Is there Sage function that computes Taylor expansions for
multivariate functions?
If you are willing to install the optional fricas package:
sage: reset()
sage:
On Nov 10, 1:06 pm, cesarnda [EMAIL PROTECTED] wrote:
Hi,
I get the following error while I was trying one of the examples about
animate
sage: a.show()
dyld: Symbol not found: __cg_png_create_info_struct
Referenced from: /System/Library/Frameworks/
Dear Boris,
On Nov 10, 9:56 pm, kex [EMAIL PROTECTED] wrote:
GAMA==1
BETA==1
THETA==10
N==1000
MI==1
JR==0
PI==3
PSI==x
Are these supposed to be assignments?
If yes, it should be
GAMA=1
BETA=1
THETA=10
etc.
When you do
GAMA==1
where GAMA is a variable, you just create a formal
Thanks a lot.
-Adrian
On Nov 7, 3:19 am, Pablo Angulo [EMAIL PROTECTED] wrote:
Hm I can give it a try. As a work around, is it possible to have
the behaviour of jmol so that instead of being embeded in the webpage
as an applet it launches it as it normally would?
In Intrepid, the
On Nov 10, 2008, at 12:57 PM, acardh wrote:
One more question about this. How can I draw a line between any two
given points?
I am doing this
world = sphere((0,0,0), size=1, color='blue')
cities = [(38.7598, -121.294),(40.3503, -74.6594),(27.959, -82.4821)]
t = RDF(pi/180)
city_coords =
Thank you,
if I assign a value I lose symbolic expression ?
If I set GAMA=1 than gama in equation is not a letter/symbol of gama
but it is a number that was asigned to gama?
I though that I can keep the expression in symbolic notation and still
plot/calculate the equation.
So this means that
On Mon, Nov 10, 2008 at 7:53 AM, pong [EMAIL PROTECTED] wrote:
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?
Try looking here:
Basically, the error is as such:
Our error is that when we use data of list length 600ish, for some
reason sage hangs. We know that this is not because we are impatient,
and that it is actually working, because when the list length is under
600ish, it generates almost instantly. We want to be
On Mon, Nov 10, 2008 at 4:14 PM, DGaffney [EMAIL PROTECTED] wrote:
Basically, the error is as such:
Our error is that when we use data of list length 600ish, for some
reason sage hangs. We know that this is not because we are impatient,
and that it is actually working, because when the
how could I compute this:
sum_{ x = 1}^{\infty} 1/x - 1/(x+1)
or
sum(1/x-1/(x+1),x,1, infinity)
directly in Sage, without calling maxima or sympy?
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this
On Mon, Nov 10, 2008 at 5:29 PM, cesarnda [EMAIL PROTECTED] wrote:
how could I compute this:
sum_{ x = 1}^{\infty} 1/x - 1/(x+1)
or
sum(1/x-1/(x+1),x,1, infinity)
directly in Sage, without calling maxima or sympy?
Unfortunately, this isn't implemented yet. See:
Actually this sum can't be done by Maxima, but Derive can do it (even
an old version of derive). do you have an idea of how this problem is
planning to be solved?
On 10 nov, 19:30, William Stein [EMAIL PROTECTED] wrote:
On Mon, Nov 10, 2008 at 5:29 PM, cesarnda [EMAIL PROTECTED] wrote:
how
On Mon, Nov 10, 2008 at 5:36 PM, cesarnda [EMAIL PROTECTED] wrote:
Actually this sum can't be done by Maxima, but Derive can do it (even
an old version of derive). do you have an idea of how this problem is
planning to be solved?
Is this the answer you were expecting?
(%i6)
that is the output I was expecting, but it is not the input I gave.
Obviously,
1/x - 1/(x+1) = 1/(x*(x+1))
but, if the right hand side can be done why the left hand side can't?
This is the bug I was talking about...
On 10 nov, 19:51, Mike Hansen [EMAIL PROTECTED] wrote:
On Mon, Nov 10, 2008 at
William Stein wrote:
sage: time a =
eval(open(get_remote_file('http://www.devingaffney.com/files/data.txt')).read())
Attempting to load remote file: http://www.devingaffney.com/files/data.txt
Loading: []
CPU times: user 0.05 s, sys: 0.03 s, total: 0.09 s
Wall time: 0.42 s
That
The file-opening method seems to work out much better; I don't
necessarily know what was wrong, but this solved it to a reasonable
enough point for now; I'll keep you posted as we run a test on the
Swahili wikipedia, which should result in about 5000 ish nodes in the
largest connected component.
This group is for education-related questions, so I'm cross-posting to
sage-support.
First, dio you know about the Lie manual at
http://www-math.univ-poitiers.fr/~maavl/LiE/?
It is only in dvi form. If you need a pdf, just ask.
On Mon, Nov 10, 2008 at 11:29 PM, RamBo [EMAIL PROTECTED] wrote:
Hi Boris,
Here is what I do:
# Define the variables:
var('GAMA BETA THETA')
# Create a dictionary with the parameter values for plotting:
pars = dict(GAMA=1,BETA=1,THETA=10)
# Define the symbolic function
J1(x) = GAMA*x + BETA*x^2 + THETA
# Substitute the parameters into the equation and plot
33 matches
Mail list logo