linalg::mat<T,M,N>
defines a fixed-size matrix containing exactly M
rows and N
columns of type T
, in column-major order.
More...
Classes | |
struct | mat< T, M, 1 > |
struct | mat< T, M, 2 > |
struct | mat< T, M, 3 > |
struct | mat< T, M, 4 > |
linalg::mat<T,M,N>
defines a fixed-size matrix containing exactly M
rows and N
columns of type T
, in column-major order.
This data structure is supported by a set of algebraic and component-wise functions, as well as a set of standard reductions.
mat<T,M,N>
:
DefaultConstructible
: N
columns of type vec<T,M>
: linalg::identity
: CopyConstructible
and CopyAssignable
: EqualityComparable
and LessThanComparable
: T
: mat<U,M,N>
of some other type U
: +
, -
, !
and ~
in component-wise fashion: +
, -
, *
, /
, %
, |
, &
, ^
, <<
and >>
in component-wise fashion: +=
, -=
, *=
, /=
, %=
, |=
, &=
, ^=
, <<=
and >>=
with matrices or scalars on the right: