#include <mat3.hh>
Public Member Functions |
| Mat3 () |
| Mat3 (Real i00, Real i01, Real i02, Real i10, Real i11, Real i12, Real i20, Real i21, Real i22) |
| Mat3 (const Mat3 &m) |
| Mat3 (const Mat2 &m) |
| Mat3 (const Real arr[9]) |
| Mat3 (Real x, Real y, Real z) |
Real & | operator() (std::size_t r, std::size_t c) |
const Real & | operator() (std::size_t r, std::size_t c) const |
Mat3 & | operator= (const Mat3 &m) |
bool | operator== (const Mat3 &rhs) const |
Mat3 & | operator+= (const Mat3 &rhs) |
Mat3 & | operator-= (const Mat3 &rhs) |
Mat3 & | operator*= (const Real d) |
Mat3 & | operator/= (const Real d) |
Mat3 & | operator*= (const Mat3 &m) |
Real * | Data () |
const Real * | Data () const |
geom::Vec3 | GetCol (int index) const |
geom::Vec3 | GetRow (int index) const |
Detailed Description
Definition at line 35 of file mat3.hh.
Constructor & Destructor Documentation
Default initialization, identity matrix.
Definition at line 42 of file mat3.hh.
In with 9 values in row-major order.
row-major order means that the matrix
| a b c | | d e f | | g h i |
is initialized with (a,b,c, d,e,f, g,h,i)
Definition at line 56 of file mat3.hh.
Member Function Documentation
const Real* Data |
( |
| ) |
const |
|
inline |
Real& operator() |
( |
std::size_t |
r, |
|
|
std::size_t |
c |
|
) |
| |
|
inline |
element access
Definition at line 85 of file mat3.hh.
const Real& operator() |
( |
std::size_t |
r, |
|
|
std::size_t |
c |
|
) |
| const |
|
inline |
const element access
Definition at line 93 of file mat3.hh.
bool operator== |
( |
const Mat3 & |
rhs | ) |
const |
|
inline |
The documentation for this class was generated from the following file: