Matrice33#

#include <Matrice33.h>
Brief description

une matrice 3x3.

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Matrice33 <class-matrice33>`
[Matrice33](#class-matrice33)

Detailed description#

Convention pour m(i,j): i est l’indice de ligne, j l’indice de colonne entre 0 et 2 inclus. Attention: le constructeur par defaut n’initialise pas la matrice !

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

Matrice33#

Definition
Matrice33::Matrice33()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Matrice33::Matrice33() <matrice33-public-matrice33-matrice33>`
[Matrice33::Matrice33()](#matrice33-public-matrice33-matrice33)

Matrice33#

Definition
Matrice33::Matrice33(const DoubleTab &tab)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Matrice33::Matrice33(const DoubleTab &tab) <matrice33-public-matrice33-matrice33-const-doubletab-ref-tab>`
[Matrice33::Matrice33(const DoubleTab &tab)](#matrice33-public-matrice33-matrice33-const-doubletab-ref-tab)

Matrice33#

Definition
Matrice33::Matrice33(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Matrice33::Matrice33(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) <matrice33-public-matrice33-matrice33-double-m00-double-m01-double-m02-double-m10-double-m11-double-m12-double-m20-double-m21-double-m22>`
[Matrice33::Matrice33(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)](#matrice33-public-matrice33-matrice33-double-m00-double-m01-double-m02-double-m10-double-m11-double-m12-double-m20-double-m21-double-m22)

norme_Linfini#

Definition
double Matrice33::norme_Linfini()
Brief description

calcul de la norme Linfini de la matrice Propriete: on note |x| la norme Linfini de x (vecteur ou matrice)

Detailed description

On a |m * x| < = |m| * |x| En pratique: c’est le max sur j de la somme sur i de std::fabs(m(i,j))

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Matrice33::norme_Linfini() <matrice33-public-double-matrice33-norme-linfini>`
[double Matrice33::norme_Linfini()](#matrice33-public-double-matrice33-norme-linfini)

operator()#

Definition
double & Matrice33::operator()(int i, int j)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double & Matrice33::operator()(int i, int j) <matrice33-public-double-ref-matrice33-operator-int-i-int-j>`
[double & Matrice33::operator()(int i, int j)](#matrice33-public-double-ref-matrice33-operator-int-i-int-j)

operator()#

Definition
double Matrice33::operator()(int i, int j) const
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Matrice33::operator()(int i, int j) const <matrice33-public-double-matrice33-operator-int-i-int-j-const>`
[double Matrice33::operator()(int i, int j) const](#matrice33-public-double-matrice33-operator-int-i-int-j-const)

inverse#

Definition
double Matrice33::inverse(const Matrice33 &m, Matrice33 &resu, int exit_on_error=1)
Brief description

calcul de l’inverse.

Detailed description

Si le determinant de “matrice” est nul, exit() si exit_on_error (valeur par defaut) sinon on ne remplit pas matrice_inv et on renvoie 0. Valeur de retour: determinant de la “matrice” (pas de l’inverse !)

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Matrice33::inverse(const Matrice33 &m, Matrice33 &resu, int exit_on_error=1) <matrice33-public-static-double-matrice33-inverse-const-matrice33-ref-m-matrice33-ref-resu-int-exit-on-error-equal-1>`
[double Matrice33::inverse(const Matrice33 &m, Matrice33 &resu, int exit_on_error=1)](#matrice33-public-static-double-matrice33-inverse-const-matrice33-ref-m-matrice33-ref-resu-int-exit-on-error-equal-1)

produit#

Definition
void Matrice33::produit(const Matrice33 &m, const Vecteur3 &x, Vecteur3 &y)
Brief description

produit avec de la matrice avec le vecteur x.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Matrice33::produit(const Matrice33 &m, const Vecteur3 &x, Vecteur3 &y) <matrice33-public-static-void-matrice33-produit-const-matrice33-ref-m-const-vecteur3-ref-x-vecteur3-ref-y>`
[void Matrice33::produit(const Matrice33 &m, const Vecteur3 &x, Vecteur3 &y)](#matrice33-public-static-void-matrice33-produit-const-matrice33-ref-m-const-vecteur3-ref-x-vecteur3-ref-y)

produit_matriciel#

Definition
void Matrice33::produit_matriciel(const Matrice33 &m1, const Matrice33 &m2, Matrice33 &res)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Matrice33::produit_matriciel(const Matrice33 &m1, const Matrice33 &m2, Matrice33 &res) <matrice33-public-static-void-matrice33-produit-matriciel-const-matrice33-ref-m1-const-matrice33-ref-m2-matrice33-ref-res>`
[void Matrice33::produit_matriciel(const Matrice33 &m1, const Matrice33 &m2, Matrice33 &res)](#matrice33-public-static-void-matrice33-produit-matriciel-const-matrice33-ref-m1-const-matrice33-ref-m2-matrice33-ref-res)

transpose#

Definition
void Matrice33::transpose(const Matrice33 &matrice, Matrice33 &matrice_transpose)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Matrice33::transpose(const Matrice33 &matrice, Matrice33 &matrice_transpose) <matrice33-public-static-void-matrice33-transpose-const-matrice33-ref-matrice-matrice33-ref-matrice-transpose>`
[void Matrice33::transpose(const Matrice33 &matrice, Matrice33 &matrice_transpose)](#matrice33-public-static-void-matrice33-transpose-const-matrice33-ref-matrice-matrice33-ref-matrice-transpose)

init#

Definition
void Matrice33::init()
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Matrice33::init() <matrice33-protected-void-matrice33-init>`
[void Matrice33::init()](#matrice33-protected-void-matrice33-init)

Attributes Documentation#

m (protected)
double Matrice33::m[3][3]