octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #41674] image package: temporary arrays in imr


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #41674] image package: temporary arrays in imresize are doubles
Date: Thu, 27 Feb 2014 22:49:59 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130917 Firefox/17.0 Iceweasel/17.0.9

Follow-up Comment #11, bug #41674 (project octave):

Another thought...

If you pass single arguments to a function like meshgrid, you get single
outputs.  But there appears to be no way to tell linspace to generate single
values instead of double.  Maybe we should consider an extension to Matlab so
that if the final argument of linspace may be a character string, either
"single" or "double" to specify the type of result that should be produced.

Would that help here?

I'm not sure why you need to use the isequal test.  Are you trying to check to
see whether single precision is sufficient for the given operations, or
whether double is needed because of the range of values?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41674>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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