From help-request at octave dot org Fri Sep 3 03:56:54 2004 Subject: Re: Types in 2.1.58 From: Soren Hauberg To: David Bateman Cc: help at octave dot org Date: Fri, 03 Sep 2004 10:56:09 +0200 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 -------------------------------------------------------------