help-octave
[Top][All Lists]
Advanced

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

Re: Integer and floating point types


From: Jaroslav Hajek
Subject: Re: Integer and floating point types
Date: Thu, 21 Jan 2010 06:47:43 +0100

On Thu, Jan 21, 2010 at 3:57 AM, George <address@hidden> wrote:
> When we have integer data, wouldn't be more efficient to multiply them
> directly rather than have to convert to float? Octave doesn't
> implement operations between integer types.

Octave defines the element-wise operations (+, -, .*, ./, .^). Matrix
operations are not defined, because it's more efficient to go through
doubles.

-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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