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

2009-03-10 Thread mabshoff
On Mar 10, 5:35 pm, william 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 icon and t

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

2009-03-10 Thread mark mcclure
On Mar 10, 8:35 pm, william 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 and then: Wh

[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 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

[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 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 R.base_ring(). >> >>

[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 Carl Witty
On Mar 10, 6:47 pm, Alex Raichev 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 R.base_ring(). > > Alex > > sage: var('t') > t > sage: K.= NumberField(t^2+2,'

[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: command

[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.= NumberField(t^2+2,'a') sage: R.= PolynomialRing(K) sage: t*R(a) a*t sage: t*

[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 Application

[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 wrote: > > On Mar 10, 12:34 pm, William Stein 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 ad

[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 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 = cos(q1)*cos(q2) - sin

[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 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 that fil

[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 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 > > bugs:-> > >

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

2009-03-10 Thread John H Palmieri
On Mar 10, 1:00 pm, nsauer 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.matrix.matrix0.set_latex

[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 pm,

[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 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 the same notatio

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

2009-03-10 Thread Jason Grout
alex wrote: > 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] 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 sta

[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 .eige

[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 wrote: > > {{{id=2| > > %time > > B. >21,x22,x23,x24,x25,x26,x27,x28,x29,x30>=BooleanPolynomialRing > > (30,order='lex') > > I1=ideal([x13*x15 + x1*x7*x13*x25 + x9*x22 + x17 + x18 + x3 + x13,1 + > > x6*x21 + x3,x2*x18 + 1 + x16*x25,x1

[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

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

2009-03-10 Thread Martin Albrecht
> {{{id=2| > %time > B.21,x22,x23,x24,x25,x26,x27,x28,x29,x30>=BooleanPolynomialRing > (30,order='lex') > I1=ideal([x13*x15 + x1*x7*x13*x25 + x9*x22 + x17 + x18 + x3 + x13,1 + > x6*x21 + x3,x2*x18 + 1 + x16*x25,x15 + x9 + x1*x10*x20,x23 + > x9*x21*x23*x27 + x25 + x7,x13 + x1*x4*x15 + x6*x24 + 1 +

[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

[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 Boole

[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 message:

[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] 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 matrice

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

2009-03-10 Thread Jaap Spies
Alex Lara wrote: > > 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. > http://sage.math.washington.edu/home/mabshoff/release-cycles-3.4/ > In your opinion, which option is better? > Compiling from source is straightforward, but takes so

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

2009-03-10 Thread kcrisman
On Mar 10, 10:44 am, "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 > > plot2d(1/(x^2

[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 wrote: > Hi Alex, > > > After I found a bug in sage 3.2.3 ( see Division error in Sage 3.3 but > > not i

[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 wrote: > Iwan Lappo-Danilewski wrote: > > Why does a Matrix not possess the function full_simpify. I.e. why does > > P.fu

[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 wrote: > Alexander Hupfer wrote: > > thank you for your quick reply. > >

[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 al

[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_ma

[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 no

[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] 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 po

[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: r...@arun:/home/arun/Desktop/s

[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-unsubscr...@google