help-octave
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Indexing, Octave C++ API
From
:
Reza Housseini
Subject
:
Indexing, Octave C++ API
Date
:
Sat, 21 Jan 2012 15:24:08 +0100
Hello everyone,
I'm not sure if this is a bug or just a miss use myself. If I index an
NDArray
in the C++ API it seems to have 2 possibilities:
int32NDArrayA(dim_vector(10, 11, 12));
// Possibility 1
octave_int32 a_1 = A.page(11).column(10).elem(9);
// Possibility 2
octave_int32 a_2 = A(9, 10, 11);
But strangely the variables
a_1
and
a_2
are not the same. What is the reason for that?
Thanks for the help!
Cheers Reza
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
Indexing, Octave C++ API
,
Reza Housseini
<=
Prev by Date:
Re: Some problems with numerical computation
Next by Date:
Re: Some problems with numerical computation
Previous by thread:
Some problems with numerical computation
Next by thread:
Octave: zoom in plot?
Index(es):
Date
Thread