A question about NDArray, xelem and operator ()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

A question about NDArray, xelem and operator ()

jbect
Hi all,

While I was working on the GSL package the following question arose:

what is the difference between using A(i) and A.xelem(i) when I need to
read a value from an array A in an oct-file ?

(A is an NDArray and i of type octave_idx_type)

@++
Julien