Re: [sage-support] Re: Integrals of trigonometric functions

2011-04-15 Thread Michael Orlitzky
On 04/15/2011 12:39 PM, kcrisman wrote: On Apr 15, 8:03 am, Laurent moky.m...@gmail.com wrote: Le 15/04/2011 02:39, Michael Orlitzky a crit : Am I going crazy? sage: integrate(cos(2*x)*cos(x), x, 0, pi) 4/3 Actually Sage seems not to get the correct primitive

[sage-support] Integrals of trigonometric functions

2011-04-14 Thread Michael Orlitzky
Am I going crazy? sage: integrate(cos(2*x)*cos(x), x, 0, pi) 4/3 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at

[sage-support] Deprecated syntax warnings for piecewise functions

2011-03-26 Thread Michael Orlitzky
Is there an easy way to avoid these? Preferably one that works in a standalone python file? sage: f = piecewise([[(0,1), x^2]]) sage: f(0.5) /home/mjo/src/sage-4.6.2/local/bin/sage-ipython:1: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is

[sage-support] Re: Accentuated characters in axes_label

2011-02-16 Thread Michael Anselmi
') plt.ylabel(u'Échantillon') plt.show() This even works with LaTeX processing when EPD's `matplotlibrc' configuration file contains `text.latex.unicode = True'. Hope this helps. Michael -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Re: Accentuated characters in axes_label

2011-02-16 Thread Michael Anselmi
') plt.ylabel(u'Échantillon') plt.show() This even works with LaTeX processing when EPD's `matplotlibrc' configuration file contains `text.latex.unicode = True'. Hope this helps. Michael -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

Re: [sage-support] Re: Accentuated characters in axes_label

2011-02-16 Thread Michael Anselmi
On 02/16/2011 10:13 PM, Maxim wrote: But this workaround seems to prevent me from saving the fig in pdf (or svg): File /opt/SAGE/local/lib/python2.6/site-packages/matplotlib/ dviread.py, line 727, in _register assert encoding is None AssertionError Here's the code: # -*- coding:

[sage-support] Re: Issue with SageTeX's sageplot functionality

2011-02-07 Thread Michael Anselmi
Thanks to matplotlib developer Jouni Seppänen, this issue has (hopefully) been fixed upstream: In the meantime, I will commit a quick workaround that just disables the fonts we can't handle instead of aborting with an assert. Now committed in revision 8955 (1.0 maintenance branch) and 8956

[sage-support] Re: Issue with SageTeX's sageplot functionality

2011-02-06 Thread Michael Anselmi
As matplotlib does not have a bug ticketing system (at least not one I can find), I submitted a bug report to the matplotlib-users mailing list: http://article.gmane.org/gmane.comp.python.matplotlib.general/26250 -- To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Issue with SageTeX's sageplot functionality

2011-02-05 Thread Michael Anselmi
directory Plot 0 Sage processing complete. Run LaTeX on test.tex again. Here's the test LaTeX file I used in both cases (`test.tex'): \documentclass{article} \usepackage{sagetex} \begin{document} \title{SageTeX sageplot test} \author{Michael Anselmi} \date{\today} \maketitle \begin{sagesilent

[sage-support] real part incorrectly simplified away

2011-01-31 Thread Michael Beeson
Here are the contents of a sage file. var('z') C = ComplexField() i = C(0,1) X = real(integral(z,z)) print X X = simplify(X) print X Here is the corresponding output 1/2*real_part(z)^2 - 1/2*imag_part(z)^2 1/2*z^2 The first line is already surprising as I expected 1/2 * real_part(z^2). But

[sage-support] Re: real part incorrectly simplified away

2011-01-31 Thread Michael Beeson
It seems that var('z') makes sage think z is real. simplify(real(z)) returns z and simplify(imag(z)) returns 0. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more

[sage-support] basic plotting

2011-01-30 Thread Michael Beeson
-- | Sage Version 4.2.1, Release Date: 2009-11-14 | | Type notebook() for the GUI, and license() for information.| -- WARNING: There

[sage-support] Re: basic plotting

2011-01-30 Thread Michael Beeson
computations, and since I did many symbolic computations successfully in spite of that message, I have grown used to ignoring that message. On Jan 30, 3:03 pm, William Stein wst...@gmail.com wrote: On Sun, Jan 30, 2011 at 1:54 PM, Michael Beeson profbee...@gmail.com wrote

[sage-support] sage-64.txt

2011-01-30 Thread Michael Beeson
-64.txt since it does not exist Detected SAGE64 flag Building Sage on OS X in 64-bit mode Building Sage on OS X in 64-bit mode Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist Detected SAGE64 flag Building Sage on OS X in 64-bit mode 1 2 3 Michael-Beesons-iMac:~ beeson$ The error messages

Re: [sage-support] Sage compatibility in Leopard Mac OS

2010-12-29 Thread Michael Welsh
Sage runs just fine in OS X. On 30/12/2010, at 5:36 PM, DigDug_the_2nd wrote: I am trying to choose whether to use Sage a Ubuntu machine or a Mac running Leopard on a 64 bit Duo 2 Core processor. As I understand it, Sage started in the Linux world and still can't run well under Windows with

Re: [sage-support] Re: installation under snow leopard

2010-10-22 Thread Michael Welsh
will make sudo work, and leave the root password alone. The root password doesn't work with sudo, you need to login as su (just type that) first. However, sudo is much easier. HTH, Michael -- http://yomcat.geek.nz -- To post to this group, send email to sage-support@googlegroups.com

[sage-support] Mersenne prime test

2010-09-17 Thread Michael
Hello! I am trying to write an alternative test method for the primality of Mersenne numbers based on the paper An Elliptic Curve test for Mersenne primes by B.H. Gross. I tried to implement the resulting algorithm in Sage, it did work, BUT there is still one problem: the Algorithm should not

[sage-support] Re: Mersenne prime test

2010-09-17 Thread Michael
OK, thanks a lot, I did it that way and now it works. On 17 Sep., 10:51, Dan Drake dr...@kaist.edu wrote: On Fri, 17 Sep 2010 at 01:25AM -0700, Michael wrote: The Algorithm works as follows: Initialize the value for p G←−2 for i from 1 to p − 1 do G ← (G^2 + 12)^2/(4 · G · (G^2 − 12

Re: [sage-support] make command not found

2010-09-17 Thread Michael Welsh
Install XCode (Developer Tools) from your Computer software DVD. On 18/09/2010, at 1:34 PM, John T wrote: I'm new at all this. Does it mean I need to reinstall something? -- http://yomcat.geek.nz -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

Re: [sage-support] Re: make command not found

2010-09-17 Thread Michael Welsh
Have you tried make after installing XCode? If you go into Terminal and type whereis make it should tell you something like /usr/bin/make If it does nothing, you need to reinstall XCode. if it tells you something, you can compile sage fine. Michael On 18/09/2010, at 2:30 PM, John Thurber

[sage-support] Re: installation of Sage

2010-09-15 Thread Michael
YIPPIE! It finally worked, I can now use Sage on my computer. The *readline*- command did help indeed (I must have done something wrong trying it for the first time). THANK YOU ALL SO MUCH! Best regards, Michael On 14 Sep., 03:05, Mitesh Patel qed...@gmail.com wrote: On 09/13/2010 01:57 PM

[sage-support] Re: installation of Sage

2010-09-13 Thread Michael
All right, I run that utility at least once a week, so that should e fine. On 12 Sep., 23:14, Mitesh Patel qed...@gmail.com wrote: On 09/12/2010 09:18 AM, Michael wrote: On 12 Sep., 00:19, Mitesh Patel qed...@gmail.com wrote: Michael, is your system fully updated to the latest stable

[sage-support] Re: installation of Sage

2010-09-12 Thread Michael
to fix that. Thanks! Here the command line output from the occurance of the error on: sage: An error occurred while installing sqlite-3.6.22 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /home/michael/Downloads/sage-4.5.3

[sage-support] Re: installation of Sage

2010-09-12 Thread Michael
to Linux (and Sage), and that he tries to install Sage on a netbook (so, compiling from source might exceed the computer's resources). Michael, is your system fully updated to the latest stable packages for your openSUSE version?  Also, how much RAM does your computer have? -- To post

[sage-support] Re: installation of Sage

2010-09-12 Thread Michael
I also tried what you wrote, but that did not help. Thank you anyway! On 12 Sep., 16:16, Michael michael.helmut.mert...@rwth-aachen.de wrote: I tried what you said, but there occured an error again. I'll post the relevant lines below. I tired to open the subshell and debug the program

[sage-support] Re: installation of Sage

2010-09-11 Thread Michael
). Is it possible, that I have to move the downloaded tar.gz-file to another directory, that I can't execute the program in the directory Downloads where it gets by the download? Best regards, Michael On 8 Sep., 19:08, Michael michael.helmut.mert...@rwth-aachen.de wrote: I just installed the latest

[sage-support] Re: installation of Sage

2010-09-11 Thread Michael
Nope, just did the whole thing again with the unpacked directory moved to my home folder. Same problem. On 11 Sep., 23:19, Michael michael.helmut.mert...@rwth-aachen.de wrote: It's getting quite a bit annoying to me. Even the new version of Sage doesn't work. There are exactly the same error

[sage-support] Re: installation of Sage

2010-09-08 Thread Michael
I just installed the latest version of gcc, but there are still the same errors. Anyway, does it make any difference for the binary version? On 8 Sep., 02:19, Innigo enrico.manto...@gmail.com wrote: Is it possilbe it's just because the sage install tree may have moved? There seems to be a fair

[sage-support] Re: installation of Sage

2010-09-06 Thread Michael
--- RuntimeError Traceback (most recent call last) /home/michael/Downloads/sage-4.5.2-linux-32bit-opensuse_11.1_i586-i686- Linux/local/lib/python2.6/site-packages/IPython/ipmaker.py in force_import(modname) 64

[sage-support] field of symbolic expressions

2010-09-06 Thread Michael Beeson
I want to create a vector space of dimension three, over the field whose elements are symbolic expressions. (The reason is that then I can do vector calculus on such objects, which represent surfaces in 3- space if the expressions depend on 2 parameters.) How can I do this? The following,

[sage-support] installation of Sage

2010-09-05 Thread Michael
or the Installation guide? I tried at least 5 times to install Sage properly, so I hope, it wasn't just my own mistake. Thanks a lot for your help! Michael -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr

Re: [sage-support] Warning messages when compiling 'lcalc'

2010-06-08 Thread Michael Rubinstein
The antiquated header files and unused variables have been removed in L-1.3, which has not yet been released to the public. It should be released in the next couple of weeks. Best, Mike On Tue, 8 Jun 2010, William Stein wrote: On Tue, Jun 8, 2010 at 12:21 PM, Anne Driver

[sage-support] Polynomial mod

2010-04-28 Thread Michael Rybalkin
I faced with a problem with polynomial mod This is example from manual: mod? sage: R.x = QQ['x']; sage: f = x^3 + x + 1 sage: f.mod(x + 1) Result is -1 But changing from field QQ to ring ZZ causes mod to do nothing: sage: R.x = ZZ['x']; sage: f = x^3 + x + 1 sage: f.mod(x + 1) Result is x^3 + x

[sage-support] Re: Large monomial exponents

2010-04-26 Thread Michael Rybalkin
Stein wst...@gmail.com wrote: On Sat, Apr 24, 2010 at 10:22 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Apr 24, 2010, at 5:36 PM, Michael Rybalkin wrote: How to get monomial with large exponent in the polynomial rings? For example I hsave polynomial ring over large

[sage-support] Large monomial exponents

2010-04-24 Thread Michael Rybalkin
How to get monomial with large exponent in the polynomial rings? For example I hsave polynomial ring over large finite field: p = next_prime(10^20) R.x = PolynomialRing(GF(p), sparse=True) Monomial x^(10^7) construction takes 2 seconds: time tmp = x^(10^7) Monomial x^(10^8) construction uses

[sage-support] Load data from from other worksheet

2010-04-21 Thread Michael Rybalkin
I have installed local Sage server. I need some kind of workspace with multiple worksheets and common data storage while working via web interface. What can you recommend in this case? I want to have a bunch of common files for different worksheets. But I don't want to link them explicity to

Re: [sage-support] Difference between sage and pyhton calculations

2010-04-05 Thread Michael Welsh
On 6/04/2010, at 3:56 PM, Eugene Goldberg wrote: Hello! Here is my pyhtons results: python Python 2.6.5 (r265:79063, Mar 23 2010, 04:49:54) [GCC 4.4.3] on linux2 Type help, copyright, credits or license for more information. 1+1 2 6e-6 % 10e-6 6.0002e-06 and here

[sage-support] Re: Question about ETuple

2010-03-22 Thread Michael
Great thanks! Cheers Michael On Mar 22, 12:58 pm, Martin Albrecht m...@informatik.uni-bremen.de wrote: On Monday 22 March 2010, Marshall Hampton wrote: I don't know the answer to your question, but I can tell you that in my experience I find ETuples irritating and I always convert them

[sage-support] Wrong documentation for sum() function?

2010-03-22 Thread Michael
searching the internet that writing instead: sum(expression for k in (1..n)) works. So I'm assuming that the documentation is outdated. Maybe this is well know, but I hope it is ok to post this here. Cheers Michael -- To post to this group, send email to sage-support@googlegroups.com

[sage-support] Question about ETuple

2010-03-21 Thread Michael
expect those two ETuples to be the same. thanks for any help. Best Michael -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com

[sage-support] Help starting Mathematica with Sage

2010-03-17 Thread Young, Michael I. (DFRC-SR)
I am having a problem getting Mathematica to start from Sage on my Mac. I have created the math file in my local directory and made sure that it is executable but when I try to start Mathematica I get the message RuntimeError: Unable to start mathematica because the command 'math' failed. I

[sage-support] possible error in manual

2010-03-12 Thread Michael Beeson
On the page http://www.sagemath.org/doc/reference/sage/symbolic/expression.html the first example has eqn.subs(x==5) and I think it should be eqn.subs(x=5) -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] norm or absolute value

2010-03-12 Thread Michael Beeson
sage: var('z'); var('a');var('b'); sage: F = a*z + i*b*z^2 sage: Now F.norm() or something should give me (a*z)^2 + (b*z^2)^2, but I can't find a command to do that. I want to do this when F is a polynomial of degree 6 with complex rational coefficients to eliminate i and produce a polynomial

[sage-support] How to create variables with multi-indices?

2010-03-08 Thread Michael
. Hence these coefficients should be my variables with multi- indices. Thanks in advance for any help. Best Michael -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit

Re: [sage-support] Re: set_edge_label is setting labels on intended and unintended graph

2010-03-06 Thread Michael Vogt
. The detectable coloring is such that no vertices have the same number of colors. That is, for three colors, that each vertex has a uniqque vector ( num red, num blue, num yellow ). I hope you might be able to answer some questions when I run into them. Thanks,Michael Vogt561 338-7151

[sage-support] Re: Specifying the precision of a multivariate power series

2010-02-26 Thread Michael McBreen
The cause of my problem turned out to be the following: I divided two polynomials p1 and p2 by writing p1/p2, rather than p1 * (1/p2). This got Sage confused. Michael On Feb 25, 11:08 pm, Michael thephil...@gmail.com wrote: Hi, I have a power series in two variables t and T, which sage

[sage-support] Re: New Worksheet opens old work sheet.

2010-02-11 Thread Michael Madison
I had the same problem on both VMWARe and VirtualBox running sage, however, I was using Windows XP at the time and I was using the FireFox browser at the time. I did two things: 1. I emptied the Trash in Sagenotebook. It is not clear this really was what fixed the problem, but it did work

[sage-support] resultant

2010-01-31 Thread Michael Beeson
The following sage session shows a call to compute the resultant of two polynomials that fails, and another call that seems quite similar in syntax and semantics that succeeds just fine. What's going on here? It seems to not realize that f is a polynomial, since it says it's a

[sage-support] resultant

2010-01-31 Thread Michael Beeson
another failed attempt to compute a resultant, that doesn't involve any quotient fields: sage: R.z,p,e,d,f,g,h,r,l,m=QQ[] sage: F = i*m*z^14 + (d+g)*z^13 + i*(f-p)*z^12 + e*z^11 + i*f*z^10 + (e-g)*z^9 + i*(m+p)*z^8 + 2*d*z^7 - i*(m+p)*z^6 + (e-g)*z^5 -i*f*z^4 + e*z^3 - i*(f-p)*z^2 + (d+g)*z - i*m

[sage-support] Re: resultant

2010-01-31 Thread Michael Beeson
i is sqrt(-1), which sage seems usually to realize without being told. Anyway there is no i in my first post on the resultant, and also I get the same error with CC in place of QQ. On Jan 31, 3:38 pm, William Stein wst...@gmail.com wrote: 2010/1/31 Michael Beeson profbee...@gmail.com

[sage-support] Re: resultant

2010-01-31 Thread Michael Beeson
So taking your suggestion to use a quadratic number field, I get rid of syntax errors at last. But I guess the problem is too difficult as no answer comes back in a few minutes. I let Mathematica run a similar problem for 36 hours with no reply; but I don't understand why it's too difficult.

[sage-support] Re: resultant

2010-01-31 Thread Michael Beeson
of them. On Jan 31, 6:37 pm, Michael Beeson profbee...@gmail.com wrote: So taking your suggestion to use a quadratic number field,  I get rid of syntax errors at last.   But I guess the problem is too difficult as no answer comes back in a few minutes. I let Mathematica run a similar problem for 36

[sage-support] Re: resultant

2010-01-31 Thread Michael Beeson
Oh, gcd is the multivariate gcd, not the gcd as a polynomial in z. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at

[sage-support] simplify using an assumption

2010-01-22 Thread Michael Beeson
after declaring variables make these definitions sage: a = Z - Z^-1 sage: b = L - L^-1 sage: c = Z^2L-Z^-2L^-1 sage: f = (p*a + q*b + r *c) *a + (n*a + m *b + l*c) * a*b Now I can tell it assume(Z^3 * L^2 == -1)but I can't get it to use that assumption in something like

[sage-support] Problem with plot3d in terminal mode

2010-01-20 Thread Michael Madison
I am running sage 4.3 from within VirtualBox with Ubuntu 9.1 64 bit that I compiled from source. The whole thing is running in Windows 7. It has been running great. However, I just decided to run in terminal mode and plot3d does not seem to work. Do I need to install a package to run plot3d from

[sage-support] Re: Problems with 3d plotting

2010-01-19 Thread Michael Madison
Jack and All, Try opening up a new worksheet and rename it. Then try a 3D plot from the new work sheet. I have had a problem with 3D plot after I rotate a plot in a worksheet and then save it. After that I can not get 3D plot to work in that worksheet, however, if I open a new work sheet it

[sage-support] Where are previous cell results stored, can it be removed?

2010-01-19 Thread Michael Madison
When I load a worksheet the results of previous evaluations of cells are displayed. Is there to stop this? Is there a file I could delete. In one worksheet I am having a problem with 3D plot (Jmol), which I can't reproduce in other worksheets. I was able to get 3D plot to work in other cells

[sage-support] Re: Problems with 3d plotting

2010-01-18 Thread Michael Madison
I needed to install icetea from a terminal window run: sudo apt-get install icedtea6-plugin On Jan 18, 7:23 pm, William Cauchois wcauch...@gmail.com wrote: I'm running Ubuntu 9.10. I installed the package sun-java6-plugin and it works for me. On Jan 18, 8:35 am, Jack Fearnley

[sage-support] Re: polynomial remainder

2010-01-05 Thread Michael Beeson
to know when two symbolic expressions are equal. Is 1/0 a symbolic expression and if so is it equal to oo ? How about x- x and 0?x/x and 1?More generally has anything been written about the or a semantics for Sage? Michael On Jan 3, 12:42 pm, bump b...@match.stanford.edu wrote

[sage-support] Reference maunal missing from Sage 4.2.1...

2009-12-07 Thread Michael Madison
I clicked on Help and then Reference from the notebook in Sage 4.2.1. The Reference link is missing for both the pdf and the html reference document. The Tutorial, Construction ect work fine. I am running Sage in VirtualBox where I set up Ubuntu 9.1 myself and compiled it from the Sage4.2.1

[sage-support] 3D plots fail using VirtualBox Sage 4.21 on old XP computer

2009-12-04 Thread Michael Madison
I am running Sage 4.2.1 on a old 1GB ram XP computer with the VirtualBox binary distribution. In the notebook if I try a 3D graph Firefox shuts down and kills the Sage session. This is the same problem I had with the VirtualBox Sage version 4.2. I have also created a separate Ubuntu 9.1 vm in

[sage-support] Re: 3D plots fail using VirtualBox Sage 4.21 on old XP computer

2009-12-04 Thread Michael Madison
On Dec 4, 7:29 am, Dima Pasechnik dimp...@gmail.com wrote: Michael, I guess you have discovered  (or about to discover) yourself a well–known fact that Windows (XP, or whatever) is not really suitable platform for doing any remotely serious computing :) Dmitrii 2009/12/4 Michael Madison

Re: [sage-support] 3D plots fail using VirtualBox Sage 4.21 on old XP computer

2009-12-04 Thread Michael Madison
) is a very important platform for Sage, IMHO. -- William On Fri, Dec 4, 2009 at 10:21 AM, Michael Madison madison.mich...@gmail.com wrote: I am running Sage 4.2.1 on a old 1GB ram XP computer with the VirtualBox binary distribution. In the notebook if I try a 3D graph Firefox shuts down

[sage-support] Re: 3D plots fail using VirtualBox Sage 4.21 on old XP computer

2009-12-04 Thread Michael Madison
work in principle. Try browsing some of the applets athttp://jmol.sourceforge.net/   , does that crash your browser? - Robert On Dec 4, 2009, at 8:09 AM, Michael Madison wrote: I think we should say then what base system requirements are to run Sage.  However, running Sage

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-04 Thread Michael Welsh
On 5/12/2009, at 8:29 PM, Dima Pasechnik wrote: such a functionality. After this is done, one has to wait just a bit to see requests for Sage notebooks to be able to work as an e-mail client :-) See the email() command :). huh? It does not seem to be possible to locate documentation on

[sage-support] Virtualbox Sage 4.2.1... will there be one

2009-11-25 Thread Michael Madison
I am currently using Sage 4.2 in VirtualBox on windows XP. There is a problem with symbolic determinants with 4.2 so I would like to switch to 4.2.1 however none of the mirrors for VirtualBox have 4.2.1 only 4.2. Are there plans to post a 4.2.1 for VirtualBox? Thanks Mike -- To post to this

Re: [sage-support] Re: Ctrl-Backspace behavior

2009-11-22 Thread Michael Orlitzky
ram.rac...@gmail.com wrote: It's accepted, at least on Windows, that ctrl-backspace deletes a word (And sometimes a bunch of spaces/returns around it.) This is true in IDEs, and actually in every text area in almost every program I can think of. Somewhat interesting back-story:

[sage-support] Problem with plot3d in VirtualBox

2009-11-14 Thread Michael Madison
I have been running Sage 4.2 from VirtualBox successfully for a while. However, I just tried plot3d and it shuts down Firefox and the work sheet I run it from stops working, meaning I can't reload it. Has anyone else run plot3d from Virtualbox? My computer configurations is: Intel Celeron M 1.5

[sage-support] Re: Problem with plot3d in VirtualBox

2009-11-14 Thread Michael Madison
William, The FireFox is running in Windows. It is Fire fox 3.5.5. Mike On Nov 14, 10:22 am, William Stein wst...@gmail.com wrote: On Sat, Nov 14, 2009 at 3:21 AM, Michael Madison madison.mich...@gmail.com wrote: I have been running Sage 4.2 from VirtualBox successfully for a while

[sage-support] Re: Problem with plot3d in VirtualBox

2009-11-14 Thread Michael Madison
William, There is a sage-notebook icon. It brings up sea monkey browser that I could not hook up to sage either using local host or the ip address. Mike On Nov 14, 10:33 am, William Stein wst...@gmail.com wrote: On Sat, Nov 14, 2009 at 10:32 AM, Michael Madison madison.mich...@gmail.com

[sage-support] Re: problems computing eigenvectors

2009-11-09 Thread Michael Orlitzky
brandon.bar...@gmail.com wrote: Hello, I tried the following on sagenb.org (sage version 4.2): http://sagenb.org/home/pub/1012/ In essence, the problem is as follows: ... #Make symbolic J00=Matrix(SR,J00) J00 [-1 s] [-1 0] J00.eigenmatrix_right() ... TypeError: degree()

[sage-support] Re: Matrix inconsistency with decimal/fraction representations

2009-11-04 Thread Michael Orlitzky
Jason Grout wrote: I don't think it's an issue of irrational versus rational. It's numerical precision and inexact floating point numbers. This matrix is terribly ill-conditioned. It is right on the border line between being invertible or not, numerically speaking: No, it isn't. *My*

[sage-support] Re: Matrix inconsistency with decimal/fraction representations

2009-11-04 Thread Michael Orlitzky
Robert Bradshaw wrote: I'd also like to point out that we don't just want to fall back and do everything over the rationals (even though any finite decimal expansion is rational) as things get much slower due to coefficient explosion. For example Who cares about speed when the answer

[sage-support] Re: Matrix inconsistency with decimal/fraction representations

2009-11-04 Thread Michael Orlitzky
Robert Bradshaw wrote: Technically, your matrix does not contain integer multiples of 0.1, it contains approximations to integer multiples of 0.1, represented base 2, truncated to 53 bits of precision. sage: (0.1).exact_rational() 3602879701896397/36028797018963968 As you pointed

[sage-support] Re: AttributeError: object has no attribute 'eigenvalues'

2009-11-04 Thread Michael Welsh
On 5/11/2009, at 10:30 AM, q wrote: Can someone please explain this to me? Works fine for me - sage: A = matrix([[0, 4], [-1, 0]]) sage: A [ 0 4] [-1 0] sage: A.eigenvalues built-in method eigenvalues of sage.matrix.matrix_integer_dense.Matrix_integer_dense object at 0x100408f80 sage:

[sage-support] Re: Matrix inconsistency with decimal/fraction representations

2009-11-04 Thread Michael Orlitzky
Jason Grout wrote: I think there are several points here: 1. The moment Sage sees a decimal, it starts using approximate, floating point arithmetic. If you don't want that, then don't use decimals; use fractions. This is consistent with most mathematical software (though other

[sage-support] Re: Matrix inconsistency with decimal/fraction representations

2009-11-04 Thread Michael Orlitzky
Simon King wrote: Hi Michael! On 4 Nov., 20:55, Michael Orlitzky mich...@orlitzky.com wrote: [...] it starts using floating point numbers internally. I didn't tell it to do that. You did. 0.5 is a floating point number. I guess it comes down to that, when I say 0.3 I mean 0.3, and SAGE

[sage-support] Re: Matrix inconsistency with decimal/fraction representations

2009-11-03 Thread Michael Orlitzky
William Stein wrote: This is really no different than: sage: n = 5; m = Mod(5, 19) sage: n == m True sage: n.additive_order() +Infinity sage: m.additive_order() 19 I don't consider this a bug. The original poster's issues might stem from misunderstanding about how floating point

[sage-support] Re: Matrix inconsistency with decimal/fraction representations

2009-11-03 Thread Michael Orlitzky
Jason Grout wrote: The problem here is that no one has really implemented a numerically stable version of echelon_form for RR. I thought we called scipy for rank calculations over RDF, but apparently we don't even do that! Scipy answers correctly: sage: import scipy sage:

[sage-support] Matrix inconsistency with decimal/fraction representations

2009-11-01 Thread Michael Orlitzky
This one had me stumped for a while. I'm using 4.1.1 here, but found the same results in a 4.1.2 notebook. The solve_foo() methods are broken, too; probably as a consequence. # Good sage: m = matrix([ [(-3/10), (1/5), (1/10)], [(1/5), (-2/5), (2/5)],

[sage-support] Re: solve() problem

2009-08-14 Thread Michael Brickenstein
]: -4.057224690913259002509197930026 [2]: 2.922144385112380095048443186522 [4]: [1]: 4.057224690913259002509197930026 [2]: 2.922144385112380095048443186522 Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com

[sage-support] Re: Solving multivariate polynomial systems over GF(2)

2009-08-04 Thread Michael Brickenstein
symmetric. Michael On 3 Aug., 22:12, Michael Brickenstein brickenst...@mfo.de wrote: Hi! I can't sleep, when fearing PolyBoRi could calculate wrong: Actually, it's probably just about the wrapper. My CVS, which is very much the same as 0.6.3 gives me: l=a111,a112,a121,a122,b111,b112,b211,b212

[sage-support] matrix term Orderings

2009-08-04 Thread Michael Brickenstein
Hi! How do I construct matrix orderings in Sage? I had a look at PolynomialRing and TermOrder and did not find anything. Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email

[sage-support] Re: Solving multivariate polynomial systems over GF(2)

2009-08-03 Thread Michael Brickenstein
+ b211, a111 + b212, c111 + 1, c112 + 1] Tomorrow, I'll have a look at the bigger system, if there are some tweaks. Can you send it as proper attachment it to me? What kind of application is it? Michael On 3 Aug., 21:54, lesshaste drr...@gmail.com wrote: Hi, On Aug 3, 7:39 pm, Martin Albrecht m

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
Ethen, Sorry I have not tried. I wanted to speed up some molecular dynamics code I have been playing with that uses numpy and I actually only need the real types. Also, I have been just working with the notebooks. For VMWARE the graphics does not work outside of the notebook interface. Since

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
= a[0] * a[1]      print z test_array() (-4+3j) - Robert On Jul 22, 2009, at 5:46 AM, Michael Madison wrote: Ethen,  Sorry I have not tried.  I wanted to speed up some molecular dynamics code I have been playing with that uses numpy and I actually only need the real types.  Also

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
All, I decided to try hg and I created a clone and added a ~/.hrgc to the /develope/sage directory with my infomation. However, the last patch put me into the hg_editor-DwDTEO.txt and says the following: HG: Enter commit message. lines beginning with 'HG:' HG: -- HG: user : Michael Madison

[sage-support] Re: changeing sage -b (cython)

2009-07-21 Thread Michael Madison
Mike, I am running sage 4.1 with VMWARE (windows XP) where I compiled sage 4.1 from source. I then tried: manage sudo su cd /usr/local/sage wget sage.math.washington.edu/home/robertwb/cython/cython-0.112.spkg sage –f cython-0.11.2.spkg which seemed to compile fine. However if I try from

[sage-support] Notebook do not work

2009-06-26 Thread Michael
hope someone can help me! Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http

[sage-support] Re: Multiplicity of solutions

2009-06-06 Thread Michael Friedman
will be also intersection of two homogenous polynomials of degrees n,n-1 with three variables. Thanks Michael On Jun 6, 1:34 pm, John Cremona john.crem...@gmail.com wrote: Can the original poster provide a (simple) example of the kind of set of equations he wants to solve?  For example

[sage-support] Multiplicity of solutions

2009-06-05 Thread Michael Friedman
Hi all I'm pretty new to Sage, so I'm sorry in advance for the trivial question. I have a set of (non-linear) equations, and I need to find the multiplicity of each solution. How do I do it? thanks alot, Michael --~--~-~--~~~---~--~~ To post to this group, send

[sage-support] Re: How do I show a permutation group is the alternating group?

2009-05-05 Thread Michael Welsh
sage: B=PermutationGroup(['(1,2,4,5,3)','(2,3,1,4,5)']) sage: B == AlternatingGroup(5) True sage: B == AlternatingGroup(7) False On 5/05/2009, at 6:47 PM, jimfar wrote: I have generated a group using, sage: B=PermutationGroup(['(1,2,4,5,3)','(2,3,1,4,5)']) And I know I can generate a list

[sage-support] Re: installing binary of sage-3.4.1 OSX10.4 on G4

2009-05-01 Thread Michael Welsh
Look in Console (in your Utilities Folder - cmd-shift-u). There might be something related in there. On 2/05/2009, at 2:31 PM, nickname wrote: When I say I cannot move the sage folder, I mean, it just jumps back into the .dmg package with NO complaints or error messages. I have no evidence

[sage-support] Re: Failure running sage-vmware-sse2-3.4.1

2009-04-30 Thread madison . michael
1. Was this the type of CPU that this binary was supposed to work for (having sse2 and not sse3)? 2. Is Sage migrating to work on only modern duel core CPUs? I have compiled Sage 3.4 on an older processor Ubuntu linux notebook and it worked. Is this going away? 3. Can I compile Sage using a

[sage-support] Re: Failure running sage-vmware-sse2-3.4.1

2009-04-30 Thread madison . michael
Just to clarify: Starting from my failed installation of sage-vmware-sse2-3.4.1 can i just change to the /usr/local/sage directory and type make to get a native compile? Thanks Mike On Apr 30, 8:45 am, William Stein wst...@gmail.com wrote: On Thu, Apr 30, 2009 at 3:50 AM,  

[sage-support] Re: install/start up problem on OS X

2009-04-30 Thread Michael Welsh
You've got an Intel computer, not a PPC. You should be downloading this DMG instead: http://www.sagemath.org/bin/apple_osx/intel/sage-3.4.1-OSX10.5-Intel-i386-Darwin.dmg On 1/05/2009, at 6:54 AM, Dr. R wrote: I went to http://www.sagemath.org/bin/apple_osx/ and downloaded

[sage-support] Re: Failure running sage-vmware-sse2-3.4.1

2009-04-30 Thread madison . michael
installable into a real Linux install), but the following would be helpful to determine which instruction causes the problem. Start sage via gdb, i.e.  ./sage -gdb Tell it to run, i.e. press r. Then it crashes. Punch in bt disass $pc-32 $pc+32 and post the output :) Cheers, Michael

[sage-support] Failure running sage-vmware-sse2-3.4.1

2009-04-27 Thread madison . michael
On starting sage-vmware-sse2-3.4.1 I get the text menus in vmware. However, on starting either Sage or Notebook it starts and then returns me to the text menus again. When running Sage from the text menu I don't get any error messages before it fails. My vmware sage worked fine for sage 3.2.3.

[sage-support] Re: Failure running sage-vmware-sse2-3.4.1

2009-04-27 Thread madison . michael
I typed needed to type: Login Sage su sage and I got: Authentication failure Sorry The above resposes were to login and passward. By the way I also check the MD5 and it was correct. Thanks Mike On Apr 27, 10:27 am, William Stein wst...@gmail.com wrote: On Mon, Apr 27, 2009 at 10:25 AM,  

[sage-support] Re: Failure running sage-vmware-sse2-3.4.1

2009-04-27 Thread madison . michael
Sorry I forgot to type sudo I got: /usr/local/sage/local/bin/sage-sage: line 198: 3586 Illegal instruction sage-ipython $@ -i Mike Madison On Apr 27, 10:27 am, William Stein wst...@gmail.com wrote: On Mon, Apr 27, 2009 at 10:25 AM,  madison.mich...@gmail.com wrote: On starting

<    1   2   3   4   >