Chi-Tech
|
#include <chi_meshmatrix3x3.h>
Public Member Functions | |
Matrix3x3 () | |
Matrix3x3 & | operator= (const Matrix3x3 &inM) |
Matrix3x3 | operator+ (const Matrix3x3 &inM) |
Matrix3x3 | operator- (const Matrix3x3 &inM) |
Matrix3x3 | operator* (const double value) |
Vector3 | operator* (const Vector3 &vec) const |
void | SetIJ (int i, int j, double value) |
void | AddIJ (int i, int j, double value) |
double | GetIJ (int i, int j) const |
void | SetRowIVec (int i, Vector3 vec) |
void | SetColJVec (int j, Vector3 vec) |
void | SetDiagonalVec (double a00, double a11, double a22) |
double | Det (int row=0) |
double | MinorIJ (int ir, int jr) |
Matrix3x3 | Transpose () |
Matrix3x3 | Inverse () |
std::string | PrintS () |
Static Public Member Functions | |
static Matrix3x3 | MakeRotationMatrixFromVector (const Vector3 &vec) |
Data Fields | |
double | vals [9] |
Friends | |
std::ostream & | operator<< (std::ostream &out, Matrix3x3 &inM) |
Definition at line 8 of file chi_meshmatrix3x3.h.
|
inline |
Creates a zeros matrix of size 3x3.
Definition at line 13 of file chi_meshmatrix3x3.h.
|
inline |
Add value to value at row i and column j.
Definition at line 120 of file chi_meshmatrix3x3.h.
|
inline |
Get the determinant using specified row [default:0].
Definition at line 158 of file chi_meshmatrix3x3.h.
|
inline |
Obtain a copy of the value at row i and column j.
Definition at line 127 of file chi_meshmatrix3x3.h.
|
inline |
Compute the matrix transpose.
Definition at line 215 of file chi_meshmatrix3x3.h.
|
inlinestatic |
Produces a rotation matrix with a reference vector rotated from the cartesian basis vectors , and .
By default a rotation matrix that creates no rotation is the identity matrix. Such a matrix can be defined from basis vectors following the notion that the "up-vector" is , this is also called the normal vector . The tangent vector is , denoted with . And the bi-norm vector is , denoted with .
By specifying only the normal vector we can compute a simple pitch based rotation matrix. The supplied vector is therefore the new normal-vector, the tangent vector is computed as , and the bi-norm vector is computed as
Definition at line 35 of file chi_meshmatrix3x3.h.
|
inline |
Get the minor value associated with row ir and column jr.
Definition at line 175 of file chi_meshmatrix3x3.h.
|
inline |
Matrix multiply with scalar.
Definition at line 85 of file chi_meshmatrix3x3.h.
Matrix multiply with vector.
Definition at line 96 of file chi_meshmatrix3x3.h.
Matrix addition operator.
Definition at line 67 of file chi_meshmatrix3x3.h.
Matrix subtraction operator.
Definition at line 76 of file chi_meshmatrix3x3.h.
Copy constructor
Definition at line 59 of file chi_meshmatrix3x3.h.
|
inline |
Definition at line 268 of file chi_meshmatrix3x3.h.
|
inline |
Set column j using a vector.
Definition at line 142 of file chi_meshmatrix3x3.h.
|
inline |
Sets the diagonal of the matrix.
Definition at line 150 of file chi_meshmatrix3x3.h.
|
inline |
Set value at row i and column j.
Definition at line 113 of file chi_meshmatrix3x3.h.
|
inline |
Set row i using a vector.
Definition at line 134 of file chi_meshmatrix3x3.h.
|
inline |
Compute the matrix transpose.
Definition at line 198 of file chi_meshmatrix3x3.h.
|
friend |
Outputs the matrix to a stream.
Definition at line 250 of file chi_meshmatrix3x3.h.
double chi_mesh::Matrix3x3::vals[9] |
Definition at line 10 of file chi_meshmatrix3x3.h.