Template Function icrar::cpu::WrappedRowSelect

Function Documentation

template<typename Matrix, typename Scalar>
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 from

  • rowIndices: a range of row indices to select

  • column: a valid column index