From help-request at octave dot org Fri Feb 11 20:04:24 2005 Subject: Re: Access the neighbors of an element From: "John W. Eaton" To: Joerg Sommer Cc: help at octave dot org Date: Fri, 11 Feb 2005 21:10:16 -0500 On 12-Feb-2005, Joerg Sommer 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 -------------------------------------------------------------