|
ESyS-Particle
2.3.4
|
3x3 Matrix More...
#include <Matrix3.h>
Static Public Member Functions | |
| static MATRIX3_INLINE Matrix3 | Unit () |
| eigenvectors, eigenvalues More... | |
Private Attributes | |
| double | m [3][3] |
Friends | |
| MATRIX3_INLINE friend Matrix3 | operator* (double, const Matrix3 &) |
| generate matrix from vector More... | |
| MATRIX3_INLINE friend Matrix3 | star (const Vec3 &) |
| generate unit matrix More... | |
| MATRIX3_INLINE friend ostream & | operator<< (ostream &, const Matrix3 &) |
3x3 Matrix
| MATRIX3_INLINE Matrix3::Matrix3 | ( | ) |
References m.
| MATRIX3_INLINE Matrix3::Matrix3 | ( | const Vec3 & | V1, |
| const Vec3 & | V2, | ||
| const Vec3 & | V3 | ||
| ) |
References Vec3::data, and m.
| MATRIX3_INLINE Matrix3::Matrix3 | ( | const double | a[3][3] | ) |
References m.
| MATRIX3_INLINE Matrix3::Matrix3 | ( | const Matrix3 & | rhs | ) |
References m.
|
virtual |
| MATRIX3_INLINE double Matrix3::det | ( | ) |
calculate eigenvectors & eigenvalues
References cross(), det(), CubicEquation::getRealRoots(), esys::lsm::bpu::iter(), m, and Unit().
Referenced by PointCloud::getFitPlane().


| MATRIX3_INLINE Matrix3 Matrix3::inv | ( | ) |
return inverse;
References invert().
Referenced by Triangle::moveNode(), and Triangle::Triangle().


| void Matrix3::invert | ( | ) |
in-situ inversion
References m.
Referenced by inv(), and Graph::printCrossSection().

| MATRIX3_INLINE double Matrix3::norm | ( | ) | const |
calculate the euclidian norm of a matrix
References m.
|
inline |
References m.
|
inline |
References m.
| MATRIX3_INLINE Matrix3 Matrix3::operator* | ( | const Matrix3 & | rhs | ) | const |
References m.
| MATRIX3_INLINE Vec3 Matrix3::operator* | ( | const Vec3 & | V | ) | const |
References Vec3::data, and m.
| MATRIX3_INLINE Matrix3 Matrix3::operator* | ( | double | d | ) | const |
References m.
| MATRIX3_INLINE Matrix3 Matrix3::operator+ | ( | const Matrix3 & | rhs | ) | const |
add two matrices
References m.
| MATRIX3_INLINE Matrix3 & Matrix3::operator+= | ( | const Matrix3 & | rhs | ) |
References m.
| MATRIX3_INLINE Matrix3 Matrix3::operator- | ( | const Matrix3 & | rhs | ) | const |
subtract two matrices
References m.
| MATRIX3_INLINE Matrix3 Matrix3::operator/ | ( | double | d | ) | const |
References m.
| MATRIX3_INLINE Matrix3 & Matrix3::operator= | ( | const Matrix3 & | other | ) |
References m.
| MATRIX3_INLINE bool Matrix3::operator== | ( | const Matrix3 & | other | ) | const |
References m.
References Vec3::data, and m.
Referenced by DataExtractor::StrainToTensorData().

| Vec3 Matrix3::solve_homogeneous | ( | ) | const |
Solve the homogeneous system Mx=(0,0,0). It is assumed that rank(M)=2. A unit vector is returned;
References m, Vec3::norm(), and Vec3::unit().

| MATRIX3_INLINE double Matrix3::trace | ( | ) | const |
calculate the trace of a matrix
References m.
Referenced by CParticle::sigma_d().

| MATRIX3_INLINE Matrix3 Matrix3::trans | ( | ) | const |
return transposed
References m.
Referenced by CRotBondedInteraction::calcForces(), CRotThermBondedInteraction::calcForces(), and DataExtractor::StrainToTensorData().

| MATRIX3_INLINE void Matrix3::transpose | ( | ) |
transpose in situ
References m.
|
static |
eigenvectors, eigenvalues
References m.
Referenced by eigen(), and CParticle::sigma_d().

|
friend |
generate matrix from vector
scalar * matrix
|
friend |
|
friend |
generate unit matrix
|
private |
Referenced by det(), eigen(), invert(), Matrix3(), norm(), operator()(), operator*(), operator*(), operator+(), operator+=(), operator-(), operator/(), operator=(), operator==(), solve(), solve_homogeneous(), star(), trace(), trans(), transpose(), and Unit().