help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GMP and Octave


From: John W. Eaton
Subject: GMP and Octave
Date: Tue, 1 Mar 2005 15:03:25 -0500

On  1-Mar-2005, Todd Neal <address@hidden> wrote:

| I saw in the archived mailing list where there was a mention of using 
| GMP from within Octave.  I started writing a wrapper and began to wonder 
| if anyone had already created one.

I don't know of one.

| octave:2> a=make_gmp("3");
| octave:3> a=a*9
| a =
| 
| 27
| octave:4> a^a
| ans =
| 
| 443426488243037769948249630619149892803
| octave:5> a^a-3
| ans =
| 
| 443426488243037769948249630619149892800

Would you only implement a scalar type or N-d arrays?  Complex values?
How integrated with other data types would it be?  Would you provide
mixed-type operations so that you could multiply a bignum by an int16
object?

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]