How do you create an Array<octave_idx_type> in an .oct file?
问题 I'd like to use the Array octave_idx_type as an index vector to insert a matrix into an NDArray ( see stackoverflow thread here ) as in A.insert( B , Array<octave_idx_type> ) ; where the array A is 3-dimensional. I know that I can use A.insert( B , 0 , 0 ) ; to insert into the first "page" but it is important that I be able to insert into the other pages of A in a loop, presumably by changing the idx_vector values for the page once in each loop. How do I create this idx_type array? 回答1: Hava