help-octave
[Top][All Lists]
Advanced

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

Re: Access the neighbors of an element


From: John W. Eaton
Subject: Re: Access the neighbors of an element
Date: Fri, 11 Feb 2005 21:10:16 -0500

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.
Unfortuantely, compatibility dictates that the operations on the
elements are done using doubles with the result converted back to ints
of the appropriate size.  This is done to implement the saturation
properties of integer operations in Matlab.

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]