Template Function std::get(const TRAP::Math::Mat<3, 3, T>&)#

Function Documentation#

template<usize I, typename T>
constexpr const TRAP::Math::Mat<3, 3, T>::col_type &std::get(const TRAP::Math::Mat<3, 3, T> &m) noexcept#

Extracts the Ith element from the matrix. I must be an integer value in range [0, 3). This is enforced at compile time!

Parameters:

m – Matrix whose contents to extract.

Returns:

A reference to the Ith element of v.