[sage-support] Re: sage fails to run in binary

2009-03-10 Thread William Stein
On Mon, Mar 9, 2009 at 8:07 PM, gsage sambe...@gmail.com wrote: On Mar 9, 6:32 pm, gsage sambe...@gmail.com wrote: I extracted atom binary on my eeepc 900A. The following error message occurs Error setting environment variables by running /home/net/documents/ python

[sage-support] Re: symbolic matrix multiplication in sage

2009-03-10 Thread Iwan Lappo-Danilewski
Why does a Matrix not possess the function full_simpify. I.e. why does P.full_simplify() not work? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Trigonometric simplification

2009-03-10 Thread alexandre.mol...@fpms.ac.be
Hi, I've got a question. When you have 2 variables q1 and q2, is it possible to simplify an expression like this: cos(q1)*cos(q2) - sin(q1)*sin(q2) to obtain the following result : cos(q1+q2) ? Thanks in advance Alexandre Mollet --~--~-~--~~~---~--~~ To

[sage-support] need sage configuration support

2009-03-10 Thread Kumar
Hi All, I am facing problems in configure sage-notebook in my desktop. though i had follow all guide line which is given onhttp://www.sagemath.org/doc/inst/node6.html but struck some where in the middle bugs:- a...@arun:~/Desktop/sage-3.2.3$ su Password:

[sage-support] Re: symbolic matrix multiplication in sage

2009-03-10 Thread alex
yes, this is what i want ! BUT i cant compute the eigenvectors symbolically within SAGE. So for example A.eigenvectors() gives the error: AttributeError: 'sage.matrix.matrix_symbolic_dense.Matrix_symbolic_' object has no attribute 'eigenvectors' how can i now compute those eigenvectors within

[sage-support] Re: symbolic matrix multiplication in sage

2009-03-10 Thread Jason Grout
alex wrote: yes, this is what i want ! BUT i cant compute the eigenvectors symbolically within SAGE. So for example A.eigenvectors() gives the error: AttributeError: 'sage.matrix.matrix_symbolic_dense.Matrix_symbolic_' object has no attribute 'eigenvectors' how can i now compute

[sage-support] Re: symbolic matrix multiplication in sage

2009-03-10 Thread Jason Grout
Iwan Lappo-Danilewski wrote: Why does a Matrix not possess the function full_simpify. I.e. why does P.full_simplify() not work? It's probably because no one has written it yet. I think it'd be great to have. We welcome any patches to do that. You can do the same thing using the apply_map

[sage-support] 2D plot with discontinuity

2009-03-10 Thread ma...@mendelu.cz
Hello all Maxima is much better when drawing 2D plots of functions with jump discontinuity. Sage makes a vertical lines at disontinuities, compare A=plot(1/(x^2-1),(x,-3,3)) show(A,ymax=10,ymin=-10) in sage and plot2d(1/(x^2-1),[x,-3,3],[y,-10,10]) in Maxima. Is it possible to remove these

[sage-support] Re: Calculate eigenvectors of symbolic matrix?

2009-03-10 Thread alex
i have trouble in collecting the eigenvectors to form an eigenvector matrix (in the order given by the eigenvalue computation...). How can i do this ? I have tried all matrix commands. THX. On Mar 4, 6:22 pm, Jason Grout jason-s...@creativetrax.com wrote: Alexander Hupfer wrote: thank you

[sage-support] Re: symbolic matrix multiplication in sage

2009-03-10 Thread alex
How can I collect the eigenvectors to form an eigenvector matrix ? I have tried all matrix commands and I always get some error ! Sorry, THX On Mar 10, 3:27 pm, Jason Grout jason-s...@creativetrax.com wrote: Iwan Lappo-Danilewski wrote: Why does a Matrix not possess the function

[sage-support] Re: Object changes its contents after saved (sage 3.1.1)

2009-03-10 Thread Alex Lara
Hi Craig, I think it is better option (1), but where can I get 3.4.rcl? I don't see it in the website of Sage. In your opinion, which option is better? ---Alex On 9 mar, 21:21, Craig Citro craigci...@gmail.com wrote: Hi Alex, After I found a bug in sage 3.2.3 ( see Division error in Sage

[sage-support] Re: 2D plot with discontinuity

2009-03-10 Thread kcrisman
On Mar 10, 10:44 am, ma...@mendelu.cz ma...@mendelu.cz wrote: Hello all Maxima is much better when drawing 2D plots of functions with jump discontinuity. Sage makes a vertical lines at disontinuities, compare A=plot(1/(x^2-1),(x,-3,3)) show(A,ymax=10,ymin=-10) in sage and

[sage-support] Re: instructions for installing sage do not work

2009-03-10 Thread nsauer
Thanks again for your help. The textbook I am teaching linear algebra from prints matrices with brackets as delimeters. [ ]. Hence when I set a test and write solutions with LateX I wish to use the same notation for matrices as used in the text. But just using the standard way to include

[sage-support] Re: symbolic matrix multiplication in sage

2009-03-10 Thread alex
This seems to work: given a symbolic matrix P of dimension 2x2 do: EVECP = maxima(P).eigenvectors() EVEC1 = EVECP.part(2) (first eigenvector) EVEC2 = EVECP.part(3) (second eigenvector) EIGENVECT = (matrix(SR, 2,2, [EVEC1.sage(), EVEC2.sage()])).transpose ()

[sage-support] Variable plot limits

2009-03-10 Thread roleic
In integrals variable integration limits work fine with sage. Now I would like to plot the variable integration range with plot3d or parametric_plot3d using variable plot range limits: u,v = var('u v') parametric_plot3d([u, v, u*0.1], (u, 0, 6), (v, 0, u)) But I get the following errors

[sage-support] Boolean Polynomial Ring variety computation problem

2009-03-10 Thread Florian
Hello everyone! I am running Sage Version 3.2.3, Release Date: 2009-01-05 in a virtual machine under Windows Vista. I am trying to compute the variety of an ideal in a Boolean Polynomial Ring. From what I have seen in previous posts, that doesn't seem to work directly. So instead I use the

[sage-support] Re: Object changes its contents after saved (sage 3.1.1)

2009-03-10 Thread Craig Citro
Hi Alex, I think it is better option (1), but where can I get 3.4.rcl? I don't see it in the website of Sage. In your opinion, which option is better? I'd definitely go with option (1), as long as you don't mind leaving it building for a few hours. Jaap was already nice enough to post a

[sage-support] Re: Variable plot limits

2009-03-10 Thread Jason Grout
roleic wrote: In integrals variable integration limits work fine with sage. Now I would like to plot the variable integration range with plot3d or parametric_plot3d using variable plot range limits: u,v = var('u v') parametric_plot3d([u, v, u*0.1], (u, 0, 6), (v, 0, u)) But I get the

[sage-support] Re: Boolean Polynomial Ring variety computation problem

2009-03-10 Thread Florian
Thanks for having a look! On Mar 10, 1:33 pm, Martin Albrecht m...@informatik.uni-bremen.de wrote: {{{id=2| %time B.x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x18,x19,x20,x 21,x22,x23,x24,x25,x26,x27,x28,x29,x30=BooleanPolynomialRing (30,order='lex') I1=ideal([x13*x15

[sage-support] Re: Calculate eigenvectors of symbolic matrix?

2009-03-10 Thread Jason Grout
alex wrote: i have trouble in collecting the eigenvectors to form an eigenvector matrix (in the order given by the eigenvalue computation...). How can i do this ? I have tried all matrix commands. For a normal matrix (i.e., not symbolic), you'll probably want to use the

[sage-support] Re: instructions for installing sage do not work

2009-03-10 Thread Jason Grout
nsauer wrote: Thanks again for your help. The textbook I am teaching linear algebra from prints matrices with brackets as delimeters. [ ]. Hence when I set a test and write solutions with LateX I wish to use the same notation for matrices as used in the text. But just using the standard

[sage-support] Re: instructions for installing sage do not work

2009-03-10 Thread William Stein
On Tue, Mar 10, 2009 at 11:57 AM, Jason Grout jason-s...@creativetrax.com wrote: nsauer wrote: Thanks again for your help. The textbook I am teaching linear algebra from prints matrices with brackets as delimeters. [  ]. Hence when I set a test and write solutions with LateX I wish to use

[sage-support] Re: instructions for installing sage do not work

2009-03-10 Thread nsauer
Thanks for your reply; As I am completely new to sage I do not know how to perform the indicated change. I looked at the file sage/devel/sage/sage/matrix0.pyx but could not figure out how and where to add the function sage.matrix.matrix0.set_latex_delimiters('[',']') Norbert On Mar 10, 1:34 

[sage-support] Re: instructions for installing sage do not work

2009-03-10 Thread John H Palmieri
On Mar 10, 1:00 pm, nsauer nsa...@math.ucalgary.ca wrote: Thanks for your reply; As I am completely new to sage I do not know how to perform the indicated change. I looked at the file sage/devel/sage/sage/matrix0.pyx but could not figure out how and where to add the function

[sage-support] Re: need sage configuration support

2009-03-10 Thread Ondrej Certik
Hi Kumar, On Mon, Mar 9, 2009 at 10:24 PM, Kumar arun...@gmail.com wrote: Hi All,          I am facing problems in configure sage-notebook in my desktop. though i had follow all guide line which is given onhttp://www.sagemath.org/doc/inst/node6.html but struck some where in the middle

[sage-support] Re: instructions for installing sage do not work

2009-03-10 Thread John H Palmieri
On Mar 10, 12:34 pm, William Stein wst...@gmail.com wrote: On Tue, Mar 10, 2009 at 11:57 AM, Jason Grout [snip] I agree that this should be an option.  Also, the delimiters for vectors should be an option. +1. How about adding a function to matrix0.pyx that sets a global variable in

[sage-support] Re: Trigonometric simplification

2009-03-10 Thread Mike Hansen
Hi Alexandre, On Tue, Mar 10, 2009 at 4:35 AM, alexandre.mol...@fpms.ac.be alex.mol...@gmail.com wrote: cos(q1)*cos(q2) - sin(q1)*sin(q2) to obtain the following result : cos(q1+q2) ? We don't have the Maxima function trigreduce wrapped in Sage, but you can access it like this: sage: f =

[sage-support] Re: instructions for installing sage do not work

2009-03-10 Thread William Stein
On Tue, Mar 10, 2009 at 2:27 PM, John H Palmieri jhpalmier...@gmail.com wrote: On Mar 10, 12:34 pm, William Stein wst...@gmail.com wrote: On Tue, Mar 10, 2009 at 11:57 AM, Jason Grout [snip] I agree that this should be an option.  Also, the delimiters for vectors should be an option.

[sage-support] Problem installing on Mac OS X 10.5

2009-03-10 Thread william
Platform/OS: MAC OS X 10.5.6 SAGE Version 3.0.2, Release Date: 2008-05-24 I have loaded Sage onto my system from a DVD and put it in my application folder and am stuck on the README instructions. It says to double click on the sage icon and then: Choose Applications, then select All

[sage-support] coercion bug?

2009-03-10 Thread Alex Raichev
Does anyone know what's up with this weird error? Sage can multiply a symbolic variable and a constant of a polynomial ring R but not a symbolic variable and an element of R.base_ring(). Alex sage: var('t') t sage: K.a= NumberField(t^2+2,'a') sage: R.x= PolynomialRing(K) sage: t*R(a) a*t sage:

[sage-support] Re: instructions for installing sage do not work

2009-03-10 Thread nsauer
Thanks for the help. I made the changes but failed to recompile. Here is what I did: (test is my home name) where is this sage binary? Laptop-3:~ test$ sage -b -bash: sage: command not found Laptop-3:/ test$ sage -b -bash: sage: command not found Laptop-3:sage test$ sage -b -bash: sage:

[sage-support] Re: instructions for installing sage do not work

2009-03-10 Thread Robert Bradshaw
How are you starting up Sage? If you're starting up sage via /path/into/folder/sage then you'll have to do /path/into/folder/sage -b On Mar 10, 2009, at 8:52 PM, nsauer wrote: Thanks for the help. I made the changes but failed to recompile. Here is what I did: (test is my home name)

[sage-support] Re: coercion bug?

2009-03-10 Thread Robert Bradshaw
On Mar 10, 2009, at 8:57 PM, Carl Witty wrote: On Mar 10, 6:47 pm, Alex Raichev tortoise.s...@gmail.com wrote: Does anyone know what's up with this weird error? Sage can multiply a symbolic variable and a constant of a polynomial ring R but not a symbolic variable and an element of

[sage-support] Re: Problem installing on Mac OS X 10.5

2009-03-10 Thread nsauer
I had the same problem. Just disregard those instructions. If the terminal with a sage prompt opens, you are o.k. Norbert On Mar 10, 6:35 pm, william wll...@gmail.com wrote: Platform/OS: MAC OS X 10.5.6 SAGE Version 3.0.2, Release Date: 2008-05-24 I have loaded Sage onto my system from a

[sage-support] Re: Problem installing on Mac OS X 10.5

2009-03-10 Thread mark mcclure
On Mar 10, 8:35 pm, william wll...@gmail.com wrote: Platform/OS: MAC OS X 10.5.6 SAGE Version 3.0.2, Release Date: 2008-05-24 I have loaded Sage onto my system from a DVD and put it in my application folder and am stuck on the README instructions. It says to double click on the sage icon

[sage-support] Re: Problem installing on Mac OS X 10.5

2009-03-10 Thread mabshoff
On Mar 10, 5:35 pm, william wll...@gmail.com wrote: Hi, Platform/OS: MAC OS X 10.5.6 SAGE Version 3.0.2, Release Date: 2008-05-24 I have loaded Sage onto my system from a DVD and put it in my application folder and am stuck on the README instructions. It says to double click on the sage