Template Function TRAP::Math::Column(T, usize, const typename T::col_type&)#

Function Documentation#

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

Set a specific column to a matrix.

Parameters:
  • m – Matrix to set column for.

  • index – Column index to set.

  • x – New column data.

Returns:

Matrix with new column data.