help-octave
[Top][All Lists]
Advanced

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

Re: Types in 2.1.58


From: Soren Hauberg
Subject: Re: Types in 2.1.58
Date: Fri, 03 Sep 2004 10:56:09 +0200
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)

Hi,

David Bateman wrote:
Before if you passed an NDArray in an octave value you did something
like

   NDArray m = args(0).array_value();

Now for int8 array for example you do

   int8NDArray m = args(0).int8_array_value();

Simple :-)
Quite simple I must say...
but how do I determine if an octave_value is an int8_array?
In the case of a real matrix I have the function is_real_matrix(), but I can't find anything like is_int8_matrix() ??

D.
Thanks,
Søren



-------------------------------------------------------------
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]