Re: arbitrary precision linear algebra

2011-03-02 Thread Ben123
On Mar 2, 1:34 pm, geremy condra wrote: > On Wed, Mar 2, 2011 at 10:47 AM, Ben123 wrote: > > On Mar 2, 12:22 pm, geremy condra wrote: > >> On Wed, Mar 2, 2011 at 10:21 AM, geremy condra wrote: > >> > On Wed, Mar 2, 2011 at 6:42 AM, Ben123 wrote: > >> >> Hello. I have a written Python program w

Re: arbitrary precision linear algebra

2011-03-02 Thread Ben123
On Mar 2, 4:48 pm, Nobody wrote: > On Wed, 02 Mar 2011 06:42:22 -0800, Ben123 wrote: > > Hello. I have a written Python program which currently uses numpy to > > perform linear algebra operations. Specifically, I do matrix*matrix, > > matrix*vector, numpy.linalg.inv(matrix), and linalg.eig(matrix)

Re: arbitrary precision linear algebra

2011-03-02 Thread Nobody
On Wed, 02 Mar 2011 06:42:22 -0800, Ben123 wrote: > Hello. I have a written Python program which currently uses numpy to > perform linear algebra operations. Specifically, I do matrix*matrix, > matrix*vector, numpy.linalg.inv(matrix), and linalg.eig(matrix) > operations. Now I am interested in all

Re: arbitrary precision linear algebra

2011-03-02 Thread Paul Rubin
Ben123 writes: > I'll ask on the Sage forums about this. In the mean time, I'm still > trying to get arbitrary precision linear algebra in Python You probably have to use something like gmpy.mpq to implement your favorite eigenvalue computation algorithm. Maxima might be able to do it out of the

Re: arbitrary precision linear algebra

2011-03-02 Thread geremy condra
On Wed, Mar 2, 2011 at 10:47 AM, Ben123 wrote: > On Mar 2, 12:22 pm, geremy condra wrote: >> On Wed, Mar 2, 2011 at 10:21 AM, geremy condra wrote: >> > On Wed, Mar 2, 2011 at 6:42 AM, Ben123 wrote: >> >> Hello. I have a written Python program which currently uses numpy to >> >> perform linear a

Re: arbitrary precision linear algebra

2011-03-02 Thread Ben123
On Mar 2, 12:22 pm, geremy condra wrote: > On Wed, Mar 2, 2011 at 10:21 AM, geremy condra wrote: > > On Wed, Mar 2, 2011 at 6:42 AM, Ben123 wrote: > >> Hello. I have a written Python program which currently uses numpy to > >> perform linear algebra operations. Specifically, I do matrix*matrix, >

Re: arbitrary precision linear algebra

2011-03-02 Thread Ben123
On Mar 2, 12:22 pm, geremy condra wrote: > On Wed, Mar 2, 2011 at 10:21 AM, geremy condra wrote: > > On Wed, Mar 2, 2011 at 6:42 AM, Ben123 wrote: > >> Hello. I have a written Python program which currently uses numpy to > >> perform linear algebra operations. Specifically, I do matrix*matrix, >

Re: arbitrary precision linear algebra

2011-03-02 Thread geremy condra
On Wed, Mar 2, 2011 at 10:21 AM, geremy condra wrote: > On Wed, Mar 2, 2011 at 6:42 AM, Ben123 wrote: >> Hello. I have a written Python program which currently uses numpy to >> perform linear algebra operations. Specifically, I do matrix*matrix, >> matrix*vector, numpy.linalg.inv(matrix), and lin

Re: arbitrary precision linear algebra

2011-03-02 Thread geremy condra
On Wed, Mar 2, 2011 at 6:42 AM, Ben123 wrote: > Hello. I have a written Python program which currently uses numpy to > perform linear algebra operations. Specifically, I do matrix*matrix, > matrix*vector, numpy.linalg.inv(matrix), and linalg.eig(matrix) > operations. Now I am interested in allowin

Re: arbitrary precision linear algebra

2011-03-02 Thread Ben123
On Mar 2, 11:28 am, Robin Becker wrote: > On 02/03/2011 16:39, Ben123 wrote: > ... > > > > > > > > >> Languages can't support infinitely large or small numbers, so try to > >> multiply the inner variables by 10^n to increase their values if this > >> will not involve on the method. For exa

Re: arbitrary precision linear algebra

2011-03-02 Thread Arthur Mc Coy
> Are you saying python cares whether I express a number as 0.001 or > scaled by 10^5 to read 100? If this is the case, I'm still stuck. I > need the full range of eigenvalues from 1 to 1E-300, so the entire > range could be scaled by 1E300 but I would still need better precision > than 1E19 If py

Re: arbitrary precision linear algebra

2011-03-02 Thread Robin Becker
On 02/03/2011 16:39, Ben123 wrote: ... Languages can't support infinitely large or small numbers, so try to multiply the inner variables by 10^n to increase their values if this will not involve on the method. For example, I did this when was calculating geometric means of computer benchm

Re: arbitrary precision linear algebra

2011-03-02 Thread Ben123
On Mar 2, 10:21 am, Arthur Mc Coy <1984docmc...@gmail.com> wrote: > On Mar 2, 5:26 pm, Ben123 wrote: > > > > > > > > > > > On Mar 2, 9:04 am, Arthur Mc Coy <1984docmc...@gmail.com> wrote: > > > > What do you mean by "arbitrary precision" ? Each method of calculating > > > of something has its own

Re: arbitrary precision linear algebra

2011-03-02 Thread Arthur Mc Coy
On Mar 2, 5:26 pm, Ben123 wrote: > On Mar 2, 9:04 am, Arthur Mc Coy <1984docmc...@gmail.com> wrote: > > > What do you mean by "arbitrary precision" ? Each method of calculating > > of something has its own precision... > > If you are unfamiliar with arbitrary precision, I'm referring > tohttp://e

Re: arbitrary precision linear algebra

2011-03-02 Thread Ben123
On Mar 2, 9:04 am, Arthur Mc Coy <1984docmc...@gmail.com> wrote: > What do you mean by "arbitrary precision" ? Each method of calculating > of something has its own precision... If you are unfamiliar with arbitrary precision, I'm referring to http://en.wikipedia.org/wiki/Arbitrary-precision_arithm

Re: arbitrary precision linear algebra

2011-03-02 Thread Arthur Mc Coy
What do you mean by "arbitrary precision" ? Each method of calculating of something has its own precision... -- http://mail.python.org/mailman/listinfo/python-list

Re: arbitrary precision linear algebra

2011-03-02 Thread Ben123
On Mar 2, 8:42 am, Ben123 wrote: > Hello. I have a written Python program which currently uses numpy to > perform linear algebra operations. Specifically, I do matrix*matrix, > matrix*vector, numpy.linalg.inv(matrix), and linalg.eig(matrix) > operations. Now I am interested in allowing arbitrary p