help-octave
[Top][All Lists]
Advanced

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

Data types (was: Re: Access the neighbors of an element)


From: Joerg Sommer
Subject: Data types (was: Re: Access the neighbors of an element)
Date: Sat, 12 Feb 2005 13:15:37 +0000 (UTC)
User-agent: slrn/0.9.8.0 (Linux)

"John W. Eaton" <address@hidden> wrote:
> On 12-Feb-2005, Joerg Sommer <address@hidden> wrote:
>
> | Is it possible to tell octave it should use integer data types? I don't
> | need floating point operations.
>
> As of 2.1.64, Octave has integer data types with operations that
> should be compatible with Matlab 7.x.  There are the usual +, -, .*,
> ./, etc. ops on signed and unsigned 8-, 16-, and 32-bit integer types.

How are data types set?

> Unfortuantely, compatibility dictates that the operations on the
> elements are done using doubles with the result converted back to ints

And a switch "matlab_compatible=0"? Or special octave types?

Jörg.

-- 
Alles Gute wächst im Dunklen, bis es stark genug ist,
ans Tageslicht zu kommen.



-------------------------------------------------------------
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]