octave-maintainers
[Top][All Lists]
Advanced

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

A question about NDArray, xelem and operator ()


From: Julien Bect
Subject: A question about NDArray, xelem and operator ()
Date: Thu, 1 Sep 2016 10:40:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0

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




reply via email to

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