[sage-support] Re: Question: An integral command returns a line starting with 'integrate', but no answer...

2009-09-05 Thread swulf
I have found my mistake - I had 'maple' selected by accident in the fourth menu to the right, at the top of the notebook page. Now it works as you indicated, without the error appearing. Thank you again. swulf. On Sep 5, 8:15 pm, William Stein wrote: > On Sat, Sep 5, 2009 at 8:11 PM, swulf wro

[sage-support] Re: Question: An integral command returns a line starting with 'integrate', but no answer...

2009-09-05 Thread swulf
There seemed to be something odd about the cut-and-paste on that last message. Here it is again. Traceback (most recent call last): File "", line 1, in File "/home/notebook/sage_notebook/worksheets/admin/8/code/227.py", line 6, in print _support_.syseval(maple, ur'''val, err = numerical

[sage-support] Re: Question: An integral command returns a line starting with 'integrate', but no answer...

2009-09-05 Thread swulf
I enter this line at the Sage prompt: val, err = numerical_integral(sqrt(cos(x)^2 + 1), 0, 2*pi) and I get an error, which is, in its entirety: Traceback (click to the left for traceback) ... the only way at present). Traceback (most recent call last): File "", line 1, in File "/

[sage-support] Re: Failure to compile mpir on Centos 3

2009-09-05 Thread William Stein
On Sat, Sep 5, 2009 at 8:42 PM, Minh Nguyen wrote: > > On Sun, Sep 6, 2009 at 12:53 PM, Minh Nguyen wrote: > > > >> This is now ticket #6896 >> >> http://trac.sagemath.org/sage_trac/ticket/6896 > > I have uploaded an updated README.txt. Care to review that ticket? > I suggested a little change.

[sage-support] Re: Failure to compile mpir on Centos 3

2009-09-05 Thread Minh Nguyen
On Sun, Sep 6, 2009 at 12:53 PM, Minh Nguyen wrote: > This is now ticket #6896 > > http://trac.sagemath.org/sage_trac/ticket/6896 I have uploaded an updated README.txt. Care to review that ticket? -- Regards Minh Van Nguyen --~--~-~--~~~---~--~~ To post to th

[sage-support] Re: Question: An integral command returns a line starting with 'integrate', but no answer...

2009-09-05 Thread swulf
Perhaps I spoke too soon... the numerical_integral command does not seem to work on my installation either - once again it appears to depend upon Maple. swulf On Sep 5, 11:48 am, swulf wrote: > Hello, > > I'm new to Sage and this group. > > I have been doing some simple experimentation with int

[sage-support] Re: Question: An integral command returns a line starting with 'integrate', but no answer...

2009-09-05 Thread William Stein
On Sat, Sep 5, 2009 at 8:11 PM, swulf wrote: > > Perhaps I spoke too soon... the numerical_integral command does not > seem to work on my installation either - once again it appears to > depend upon Maple. Maple? The numerical_integral command certainly does not use Maple. It just uses the GSL C

[sage-support] Re: Failure to compile mpir on Centos 3

2009-09-05 Thread Minh Nguyen
Hi Johann, On Sun, Sep 6, 2009 at 8:41 AM, Johann "Myrkraverk" Oskarsson wrote: > Then please change the following in README.txt: > > SUPPORTED COMPILERS: >* Sage builds with GCC >= 3.x and GCC >= 4.1.x. >* Sage will not build with GCC 2.9.x. >* WARNING: Don't build with GCC 4.0.0,

[sage-support] Re: Question: An integral command returns a line starting with 'integrate', but no answer...

2009-09-05 Thread swulf
Thank you very much, your reply was very helpful. I did not know about the numerical_integral command. swulf On Sep 5, 3:15 pm, William Stein wrote: > On Sat, Sep 5, 2009 at 11:48 AM, swulf wrote: > > > Hello, > > > I'm new to Sage and this group. > > > I have been doing some simple experimenta

[sage-support] Re: generating and exporting .dat file

2009-09-05 Thread Jason Grout
asdfAfonso Henriques Silva Leite wrote: > I forgot to send you the result: the .dat file!!! > It is attached. One of which I generated with Mathematica. > And the corresponding graphic. If that is the sort of plot you are after, would it be easier to just generate it directly from Sage? Becaus

[sage-support] Re: Failure to compile mpir on Centos 3

2009-09-05 Thread Johann "Myrkraverk" Oskarsson
On Sat, Sep 5, 2009 at 9:57 PM, William Stein wrote: > > On Sat, Sep 5, 2009 at 12:59 PM, Johann "Myrkraverk" > Oskarsson wrote: >> >> Hello all, >> >> I hope this is the right place to ask.  My system is: >> >> # uname -a >> Linux xianghua 2.4.21 BrandZ fake linux i686 i686 i386 GNU/Linux >> >> #

[sage-support] Re: generating and exporting .dat file

2009-09-05 Thread Afonso Henriques Silva Leite
Sorry for the lack of information, and thanks for this great answer!! That's exactly what I need!! On Sat, 2009-09-05 at 13:48 -0700, Robert Bradshaw wrote: > Easy. > > sage: M = random_matrix(RDF, 10, 2) # get your data > sage: s = M.str().replace('[','').replace(']','') > sage: print s # is th

[sage-support] Re: Question: An integral command returns a line starting with 'integrate', but no answer...

2009-09-05 Thread William Stein
On Sat, Sep 5, 2009 at 11:48 AM, swulf wrote: > > Hello, > > I'm new to Sage and this group. > > I have been doing some simple experimentation with integration in > order to get up to speed. One thing I attempted was to try and > calculate an integral, attempting to reproduce the problem described

[sage-support] Re: Failure to compile mpir on Centos 3

2009-09-05 Thread William Stein
On Sat, Sep 5, 2009 at 12:59 PM, Johann "Myrkraverk" Oskarsson wrote: > > Hello all, > > I hope this is the right place to ask.  My system is: > > # uname -a > Linux xianghua 2.4.21 BrandZ fake linux i686 i686 i386 GNU/Linux > > # gcc --version > gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-59)

[sage-support] Failure to compile mpir on Centos 3

2009-09-05 Thread Johann "Myrkraverk" Oskarsson
Hello all, I hope this is the right place to ask. My system is: # uname -a Linux xianghua 2.4.21 BrandZ fake linux i686 i686 i386 GNU/Linux # gcc --version gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-59) # as --version GNU assembler 2.14.90.0.4 20030523 # cat /etc/redhat-release CentOS rel

[sage-support] Question: An integral command returns a line starting with 'integrate', but no answer...

2009-09-05 Thread swulf
Hello, I'm new to Sage and this group. I have been doing some simple experimentation with integration in order to get up to speed. One thing I attempted was to try and calculate an integral, attempting to reproduce the problem described on this page: http://mathforum.org/library/drmath/view/520

[sage-support] Re: Compiling sage on 10.6

2009-09-05 Thread Tim Lahey
On Sep 5, 2009, at 4:52 PM, Adam Getchell wrote: > Sorry, what thread? I'm compiling sage 4.1.1 on 32-bit Snow Leopard > on a 20" iMac and I've run into an issue with readlines. Googling > "compiling sage on 10.6" pulls up this message and Michael's message > about sage 3.4.1-rc1. > http:

[sage-support] Re: generating and exporting .dat file

2009-09-05 Thread Robert Bradshaw
Easy. sage: M = random_matrix(RDF, 10, 2) # get your data sage: s = M.str().replace('[','').replace(']','') sage: print s # is this what you want? 0.103609743105 -0.00797973769955 -0.96222133551 -0.341208831103 -0.904012926167-0.42972921542 -0.6744275756920.338249515207

[sage-support] Re: generating and exporting .dat file

2009-09-05 Thread Robert Bradshaw
I still have no idea what a .dat file is. If it's plain ascii, or a simple binary format, I'm sure Sage could do it with little difficulty. - Robert On Sep 5, 2009, at 1:26 PM, Afonso Henriques Silva Leite wrote: > Does the mathematica file will help you? > It is attached. > > Else, I also i

[sage-support] Re: Structured Equation Modeling (SEM) with sagemath?

2009-09-05 Thread Jason Grout
Dan-Erik wrote: > When I was doing SEM using R for my master thesis, I found it rather > difficult to work with. Just finding the package for R and installing > it took some time, then trying to work out the somewhat lacking > documentation and figuring out how to use the different parts of the >

[sage-support] Re: A ring with matrix ordering

2009-09-05 Thread Simon King
Hi John! On Sep 5, 3:05 pm, john_perry_usm wrote: > > What do people think? > >  * Should it (in addition to the current behaviour) be possible to > > define a matrix ordering by a matrix and a block ordering by a list or > > tuple? > > Although you are in favor of the other two solutions, I thi

[sage-support] Re: A ring with matrix ordering

2009-09-05 Thread john_perry_usm
Hi! > What do people think? >  * Should it (in addition to the current behaviour) be possible to > define a matrix ordering by a matrix and a block ordering by a list or > tuple? Although you are in favor of the other two solutions, I think that this solution is quite natural, inasmuch as it's w

[sage-support] Re: Structured Equation Modeling (SEM) with sagemath?

2009-09-05 Thread Dan-Erik
On 4 Sep, 16:23, William Stein wrote: > I'm just curious: > >    (1) what is "structured equation modeling"? Basically, it is a way to display covariance. You build a model based on covariance which may help to explain cause and effect. Of course, you have to design the model very carefully and