![]() |
SCOREC core
Parallel unstructured mesh tools
|
convenience wrapper over apf::Matrix<3,3> More...
Public Member Functions | |
Matrix3x3 () | |
required default constructor | |
Matrix3x3 (double a11, double a12, double a13, double a21, double a22, double a23, double a31, double a32, double a33) | |
component-wise constructor More... | |
Matrix3x3 (Matrix< 3, 3 > const &other) | |
constructor from base type | |
void | toArray (double(*array)[3]) const |
write matrix to an array More... | |
![]() | |
Matrix () | |
mandatory | |
Matrix (Vector< N > const *vectors) | |
construct from an array More... | |
Matrix< M, N > | operator+ (Matrix< M, N > const &b) const |
add two matrices | |
Matrix< M, N > | operator- (Matrix< M, N > const &b) const |
subtract two matrices | |
Matrix< M, N > | operator* (double s) const |
multiply a matrix by a scalar | |
Vector< M > | operator* (Vector< N > const &b) const |
multiply a matrix by a vector | |
Matrix< M, O > | operator* (Matrix< N, O > const &b) const |
multiply two matrices More... | |
Matrix< M, N > | operator/ (double s) const |
divide a matrix by a scalar | |
convenience wrapper over apf::Matrix<3,3>
like apf::Vector3, this provides component-wise initialization
Definition at line 178 of file apfMatrix.h.
|
inline |
component-wise constructor
this is useful for hardcoded matrices
Definition at line 185 of file apfMatrix.h.
|
inline |