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

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

[Octave-patch-tracker] [patch #8093] Convert isscalar to a built-in func


From: Carlo de Falco
Subject: [Octave-patch-tracker] [patch #8093] Convert isscalar to a built-in function
Date: Thu, 27 Jun 2013 13:06:53 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0

Follow-up Comment #4, patch #8093 (project octave):

Is the call to "isscalar" in your own code or in a core/package function?
If it is your own code try to substitute 


if (isscalar (x));


by 


if (numel (x) == 1);


to avoid interpreter overhead.

If it is in a function from Octave-core or from a package, could
you specify what that function is?
c.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8093>

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




reply via email to

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