geolib2
|
#include <math_types.h>
Public Member Functions | |
Mat2T () | |
Mat2T (const Mat2T &v)=default | |
Mat2T (T value) | |
Mat2T (T xx_, T xy_, T yx_, T yy_) | |
bool | operator!= (const Mat2T &m) const |
T & | operator() (int i, int j) |
const T & | operator() (int i, int j) const |
Mat2T | operator* (const Mat2T &m) const |
return this multiplied by m More... | |
Vec2T< T > | operator* (const Vec2T< T > &v) const |
Mat2T | operator* (T s) const |
multiplies vector with a scalar More... | |
Mat2T | operator+ (const Mat2T &m) const |
returns addition with v More... | |
Mat2T | operator- (const Mat2T &m) const |
returns this minus m More... | |
Mat2T | operator/ (T s) const |
divides matrix by scalar More... | |
Mat2T & | operator= (const Mat2T &v) |
bool | operator== (const Mat2T &m) const |
T & | operator[] (const uint i) |
const T & | operator[] (const uint i) const |
Mat3T< T > | projectTo3d () const |
Expand rotation matrix into 3D, with zero rotation around the 3rd axis. More... | |
Mat2T | transpose () const |
~Mat2T () | |
Static Public Member Functions | |
static Mat2T | identity () |
Public Attributes | |
union { | |
struct { | |
T xx | |
T xy | |
T yx | |
T yy | |
} | |
T m [4] | |
}; | |
Friends | |
Mat2T | operator* (T s, const Mat2T &m) |
multiplies vector with a scalar More... | |
std::ostream & | operator<< (std::ostream &out, const Mat2T &m) |
Definition at line 225 of file math_types.h.
|
inline |
Definition at line 229 of file math_types.h.
|
default |
|
inline |
Definition at line 231 of file math_types.h.
|
inline |
Definition at line 232 of file math_types.h.
|
inline |
Definition at line 244 of file math_types.h.
|
inlinestatic |
Definition at line 293 of file math_types.h.
|
inline |
Definition at line 255 of file math_types.h.
|
inline |
Definition at line 276 of file math_types.h.
|
inline |
Definition at line 280 of file math_types.h.
|
inline |
return this multiplied by m
Definition at line 268 of file math_types.h.
|
inline |
Definition at line 265 of file math_types.h.
|
inline |
multiplies vector with a scalar
Definition at line 285 of file math_types.h.
|
inline |
returns addition with v
Definition at line 260 of file math_types.h.
|
inline |
returns this minus m
Definition at line 263 of file math_types.h.
|
inline |
divides matrix by scalar
Definition at line 288 of file math_types.h.
|
inline |
Definition at line 234 of file math_types.h.
|
inline |
Definition at line 250 of file math_types.h.
|
inline |
Definition at line 246 of file math_types.h.
|
inline |
Definition at line 248 of file math_types.h.
|
inline |
Expand rotation matrix into 3D, with zero rotation around the 3rd axis.
Definition at line 299 of file math_types.h.
|
inline |
Definition at line 271 of file math_types.h.
multiplies vector with a scalar
Definition at line 291 of file math_types.h.
|
friend |
Definition at line 306 of file math_types.h.
union { ... } |
T geo::Mat2T< T >::m[4] |
Definition at line 314 of file math_types.h.
T geo::Mat2T< T >::xx |
Definition at line 313 of file math_types.h.
T geo::Mat2T< T >::xy |
Definition at line 313 of file math_types.h.
T geo::Mat2T< T >::yx |
Definition at line 313 of file math_types.h.
T geo::Mat2T< T >::yy |
Definition at line 313 of file math_types.h.