Template Function TRAP::Math::Row(const T&, usize)#

Function Documentation#

template<typename T>
constexpr T::row_type TRAP::Math::Row(const T &m, usize index)#

Get a specific row of a matrix.

Parameters:
  • m – Matrix to retrieve row from.

  • index – Row index to retrieve.

Returns:

Row vector.