|
TrioCFD 1.9.9_beta
TrioCFD documentation
|
A 3x3 matrix. More...
#include <Matrice33.h>
Public Member Functions | |
| Matrice33 () | |
| Matrice33 (double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) | |
| Matrice33 (const DoubleTab &tab) | |
| double | operator() (int i, int j) const |
| double & | operator() (int i, int j) |
| double | norme_Linfini () |
| Computes the Linfini norm of the matrix. Property: denoting |x| as the Linfini norm of x (vector or matrix),. | |
Static Public Member Functions | |
| static void | produit (const Matrice33 &m, const Vecteur3 &x, Vecteur3 &y) |
| Matrix-vector product with vector x. | |
| static void | produit_matriciel (const Matrice33 &m1, const Matrice33 &m2, Matrice33 &res) |
| static void | transpose (const Matrice33 &matrice, Matrice33 &matrice_transpose) |
| static double | inverse (const Matrice33 &m, Matrice33 &resu, int exit_on_error=1) |
| Computes the inverse. | |
Protected Member Functions | |
| void | init () |
Protected Attributes | |
| double | m [3][3] |
A 3x3 matrix.
Convention for m(i,j): i is the row index, j the column index, both between 0 and 2 inclusive. Warning: the default constructor does not initialize the matrix!
Definition at line 27 of file Matrice33.h.
|
inline |
Definition at line 30 of file Matrice33.h.
|
inline |
Definition at line 34 of file Matrice33.h.
|
inline |
Definition at line 46 of file Matrice33.h.
|
inlineprotected |
Definition at line 71 of file Matrice33.h.
|
inlinestatic |
Computes the inverse.
If the determinant of "matrice" is zero, exit() is called if exit_on_error (default value), otherwise matrice_inv is not filled and 0 is returned. Return value: determinant of "matrice" (not of the inverse!)
Definition at line 100 of file Linear_algebra_tools_impl.h.
|
inline |
Computes the Linfini norm of the matrix. Property: denoting |x| as the Linfini norm of x (vector or matrix),.
we have |m * x| <= |m| * |x| In practice: it is the max over j of the sum over i of std::fabs(m(i,j))
Definition at line 25 of file Linear_algebra_tools_impl.h.
|
inline |
Definition at line 58 of file Matrice33.h.
|
inline |
Definition at line 53 of file Matrice33.h.
Matrix-vector product with vector x.
Definition at line 38 of file Linear_algebra_tools_impl.h.
|
inlinestatic |
Definition at line 46 of file Linear_algebra_tools_impl.h.
Definition at line 86 of file Linear_algebra_tools_impl.h.
|
protected |
Definition at line 70 of file Matrice33.h.