[sage-support] Re: compiling sage 4.2 fom source on ubuntu karmic 9.10

2009-11-01 Thread Kjetil Halvorsen
On Sat, Oct 31, 2009 at 15:00, William Stein wrote: > > On Sat, Oct 31, 2009 at 6:50 AM, Minh Nguyen wrote: >> >> Hi Kjetil, >> >> On Sun, Nov 1, 2009 at 12:41 AM, Kjetil Halvorsen >> wrote: >> >> >> >>> What does this mean? >> >> It means you have successfully compiled Sage from source and n

[sage-support] Re: libecm test failure in 4.2

2009-11-01 Thread Paul Zimmermann
Hi, about the problem reported in http://groups.google.com/group/sage-support/t/24944e5521b9e498?hl=en, it seems the GMP function __gmpn_add_nc is not found: > sage/libs/libecm.so: undefined symbol: __gmpn_add_nc This function is used in the file mpmod.c from GMP-ECM: #ifdef HAVE___GMPN

[sage-support] Re: convertor Sage -> TeX -> PDF

2009-11-01 Thread ma...@mendelu.cz
On 1 lis, 15:08, "ma...@mendelu.cz" wrote: > > I have two another improvements (and changed the script at > http://user.mendelu.cz/marik/sage/sage2tex) > btw: another improvement in current http://user.mendelu.cz/marik/sage/sage2tex (from October 30) are lines lines 46-48 worksheet=open("sag

[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: Creating a growing array in sage

2009-11-01 Thread Ichnich
Hi, take a look at this... http://www.scipy.org/Numpy_Example_List#head-12c005e9fff429abb657745defd2923dab55c62d import numpy as np a=np.array([[1,2],[3,4]]) b=np.array([[1,2],[5,6]]) a=np.append(a,[b[1]],axis=0) a Greets! Stefan On Nov 1, 3:28 pm, MaxTheMouse wrote: > I should add the ref

[sage-support] Re: [sage-edu] installing sage at Fedora Core 11

2009-11-01 Thread Minh Nguyen
Hi, On Mon, Nov 2, 2009 at 1:33 AM, herlimenezes wrote: > > Hello, > > I got some troubles when installing Sage at Fedora Core 11. My > computer runs Linux (latest release), under Fedora Core 11. It's a 64 > bits processor machine, and 2 MB of Ram. I have unpacked using tar > command. Ok, until

[sage-support] Re: Creating a growing array in sage

2009-11-01 Thread MaxTheMouse
I should add the reference. I found it on a scipy list: http://osdir.com/ml/python.scientific.user/2003-07/msg00078.html ~adam --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: Creating a growing array in sage

2009-11-01 Thread MaxTheMouse
Hi, See http://mathesaurus.sourceforge.net/matlab-numpy.html for concatenate commands etc. c = numpy.concatenate((a,b), axis=1) is not exactly what you want but should help although you have a repeat of the first column. The following is untested but might help. def remove(arr, index, dim=0):

[sage-support] Re: Creating a growing array in sage

2009-11-01 Thread Yotam Avital
No, in your solution you simply merge the files into two long columns. What I want is to create a table of data say those are my tables: table 1: wavelength absorption 330 0.65 331 0.68 332 0.70 333 0.69 334

[sage-support] Re: Creating a growing array in sage

2009-11-01 Thread MaxTheMouse
Sorry, I wasn't paying attention. I have a massive fever today. You want to add a column. I am thinking a slice operation should work. Adam --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, s

[sage-support] Re: convertor Sage -> TeX -> PDF

2009-11-01 Thread ma...@mendelu.cz
On 1 lis, 13:49, Wilfried_Huss wrote: > On 29 Okt., 12:44, "ma...@mendelu.cz" wrote: > > > Hello all, the conversion into PDF has been discussed several times > > here. > > > One option is to print into a PDF file. This is another possibility: > > > I wrote for myself a simple converter from S

[sage-support] Re: Creating a growing array in sage

2009-11-01 Thread MaxTheMouse
On Nov 1, 7:20 am, Yotam Avital wrote: > This is not what I want. > > sage: !cat file1 > 1 3 > 2 0 > 3 10 > sage: !cat file2 > 1 29 > 2 21 > 3  -19 > sage: a=numpy.loadtxt('file1') > sage: b=numpy.loadtxt('file2') > > sage: out  = a b > > sage: out > array([[ 1.,  3. ,29], >          [ 2.,  0.

[sage-support] Re: convertor Sage -> TeX -> PDF

2009-11-01 Thread Wilfried_Huss
On 29 Okt., 12:44, "ma...@mendelu.cz" wrote: > Hello all, the conversion into PDF has been discussed several times > here. > > One option is to print into a PDF file. This is another possibility: > > I wrote for myself a simple converter from Sage worksheets to PDF via > PDF LaTeX Great, this