help-octave
[Top][All Lists]
Advanced

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

Re: FW:Can one treat long double type Matrix in liboctave?


From: dbateman
Subject: Re: FW:Can one treat long double type Matrix in liboctave?
Date: Thu, 20 Aug 2009 04:41:08 -0700 (PDT)



Tatsuro MATSUOKA-2 wrote:
> 
> Hello
> 
> The below is the translation of the inquiry in the Japanese Octave thread
> 
> The questioner asked about the liboctave.
> He asked whether the long double type can be used in Matrix class in the
> liboctave.
> If the above is possible, please give him the way to treat that.
> 
> Regards
> 
> Tatsuro
> 

You could easily instantiate the NDArray or Matrix classes with a long
double, but many of the operations such as matrix multiplication, left
division, etc are special cased so these operations would need to be
implemented as well if they are to be used. So the answer to the question is
"maybe", as it depends on how much effort the person want to put into the
writing the instantiation of the Matrix and NDArray classes for long doubles
and what they really want to do with the code onces its written

I added the single precision type last year and so if you want an idea of
the amount of effort needed to add the long double type long at the patch.

http://hg.savannah.gnu.org/hgweb/octave/rev/82be108cc558

Without long double versions of the vlas/lapack, etc functions making this
change for long double would be difficult.

D.



-- 
View this message in context: 
http://www.nabble.com/FW%3ACan-one-treat-long-double-type-Matrix-in-liboctave--tp25059242p25060457.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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