Skip to content

Struct linalg::mat< T, M, 3 >

template <class T, int M>

ClassList > linalg > mat< T, M, 3 >

Public Types

Type Name
typedef vec< T, M > V

Public Attributes

Type Name
V x
V y
V z

Public Functions

Type Name
constexpr mat ()
constexpr mat (const V & x_, const V & y_, const V & z_)
constexpr mat (const T & s)
constexpr mat (const T * p)
constexpr mat (const mat< U, M, 3 > & 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, 3 > row (int i) const

Public Types Documentation

typedef V

typedef vec<T,M> linalg::mat< T, M, 3 >::V;

Public Attributes Documentation

variable x

V linalg::mat< T, M, 3 >::x;

variable y

V linalg::mat< T, M, 3 >::y;

variable z

V linalg::mat< T, M, 3 >::z;

Public Functions Documentation

function mat [1/6]

inline constexpr linalg::mat< T, M, 3 >::mat () 

function mat [2/6]

inline constexpr linalg::mat< T, M, 3 >::mat (
    const V & x_,
    const V & y_,
    const V & z_
) 

function mat [3/6]

inline explicit constexpr linalg::mat< T, M, 3 >::mat (
    const T & s
) 

function mat [4/6]

inline explicit constexpr linalg::mat< T, M, 3 >::mat (
    const T * p
) 

function mat [5/6]

template<class U>
inline explicit constexpr linalg::mat< T, M, 3 >::mat (
    const mat< U, M, 3 > & m
) 

function mat [6/6]

template<class U, class>
inline constexpr linalg::mat< T, M, 3 >::mat (
    const U & u
) 

function operator U

template<class U, class>
inline constexpr linalg::mat< T, M, 3 >::operator U () const

function operator[]

inline constexpr const V & linalg::mat< T, M, 3 >::operator[] (
    int j
) const

function operator[]

inline LINALG_CONSTEXPR14 V & linalg::mat< T, M, 3 >::operator[] (
    int j
) 

function row

inline constexpr vec< T, 3 > linalg::mat< T, M, 3 >::row (
    int i
) const


The documentation for this class was generated from the following file common/linalg.hpp