shallow matrix construction in octave C++ api -


is there way construct matrix in octave's c++ api pointer data + size (ie, not using deep copy)? possibly undocumented unsafe way, caller has manage corresponding memory, or way assign pointer data? thing find method in dmatrix.h, private:

matrix (double *d, octave_idx_type r, octave_idx_type c); 

same array.h, pointer data seems private.


Comments