As an armadillo new-be, it seems like return types are hard to find in the documentation. Specifically, whether a rowvec(vector_of_indices) operation return another rowvec, or a (col)vec??
uvec indx; rowvec c; What class is c(indx) ?
As an armadillo new-be, it seems like return types are hard to find in the documentation. Specifically, whether a rowvec(vector_of_indices) operation return another rowvec, or a (col)vec??
uvec indx; rowvec c; What class is c(indx) ?
rowvec
is actually a convenience class for Row<double>
[Armadillo Row doc ] and indexing it returns a subview of the same class [Armadillo submat doc ]
The return values are not always stated in the documentation but it usually has some nice examples to give you a hint.