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

Function Documentation#

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

Set a specific row to a matrix.

Parameters:
  • m – Matrix to set row for.

  • index – Row index to set.

  • x – New row data.

Returns:

Matrix with new row data.