Template Function icrar::cpu::WrappedRowSelect¶
Defined in File eigen_extensions.h
Function Documentation¶
-
template<typename
Matrix
, typenameScalar
>
Eigen::IndexedView<Matrix, Eigen::Vector<Scalar, Eigen::Dynamic>, Eigen::internal::AllRange<-1>>icrar::cpu
::
WrappedRowSelect
(Eigen::MatrixBase<Matrix> &matrix, const Eigen::Vector<Scalar, Eigen::Dynamic> &rowIndices)¶ Selects a range of elements from matrix row indices. Negative indexes select from the bottom of the matrix with -1 representing the bottom row.
- Template Parameters
T
:
- Parameters
matrix
: the referenced matrix to select fromrowIndices
: a range of row indices to selectcolumn
: a valid column index