Struct linalg::mat< T, M, 4 >
template <class T, int M>
ClassList > linalg > mat< T, M, 4 >
Public Types
Type | Name |
---|---|
typedef vec< T, M > | V |
Public Attributes
Type | Name |
---|---|
V | w |
V | x |
V | y |
V | z |
Public Functions
Type | Name |
---|---|
constexpr | mat () |
constexpr | mat (const V & x_, const V & y_, const V & z_, const V & w_) |
constexpr | mat (const T & s) |
constexpr | mat (const T * p) |
constexpr | mat (const mat< U, M, 4 > & m) |
constexpr | mat (const U & u) |
constexpr | operator U () const |
constexpr const V & | operator[] (int j) const |
LINALG_CONSTEXPR14 V & | operator[] (int j) |
constexpr vec< T, 4 > | row (int i) const |
Public Types Documentation
typedef V
typedef vec<T,M> linalg::mat< T, M, 4 >::V;
Public Attributes Documentation
variable w
V linalg::mat< T, M, 4 >::w;
variable x
V linalg::mat< T, M, 4 >::x;
variable y
V linalg::mat< T, M, 4 >::y;
variable z
V linalg::mat< T, M, 4 >::z;
Public Functions Documentation
function mat [1/6]
inline constexpr linalg::mat< T, M, 4 >::mat ()
function mat [2/6]
inline constexpr linalg::mat< T, M, 4 >::mat (
const V & x_,
const V & y_,
const V & z_,
const V & w_
)
function mat [3/6]
inline explicit constexpr linalg::mat< T, M, 4 >::mat (
const T & s
)
function mat [4/6]
inline explicit constexpr linalg::mat< T, M, 4 >::mat (
const T * p
)
function mat [5/6]
template<class U>
inline explicit constexpr linalg::mat< T, M, 4 >::mat (
const mat< U, M, 4 > & m
)
function mat [6/6]
template<class U, class>
inline constexpr linalg::mat< T, M, 4 >::mat (
const U & u
)
function operator U
template<class U, class>
inline constexpr linalg::mat< T, M, 4 >::operator U () const
function operator[]
inline constexpr const V & linalg::mat< T, M, 4 >::operator[] (
int j
) const
function operator[]
inline LINALG_CONSTEXPR14 V & linalg::mat< T, M, 4 >::operator[] (
int j
)
function row
inline constexpr vec< T, 4 > linalg::mat< T, M, 4 >::row (
int i
) const
The documentation for this class was generated from the following file common/linalg.hpp