Types publics | Fonctions membres publiques

Référence de la classe Castor::SquareMatrix< T, Rows > (modèle)

Représentation d'une matrice carrée. Plus de détails...

Graphe d'héritage de Castor::SquareMatrix< T, Rows >:
Graphe de collaboration de Castor::SquareMatrix< T, Rows >:

Liste de tous les membres

Types publics

typedef __value_type value_type
 Typedef sur le type de données.
typedef __column col_type
 Typedef sur le type de colonne.
typedef __row row_type
 Typedef sur le type de ligne.
typedef __transpose transpose_type
 Typedef sur le type de matrice transposée.
typedef __policy policy
 Typedef sur la politique.
typedef __square_type square_matrix_type
 Typedef sur le type de cette matrice.
typedef Matrix< T, Rows, Rows > my_matrix_type
 Typedef sur le type de cette matrice.
typedef __square_type my_square_type
 Typedef sur le type de cette matrice.

Fonctions membres publiques

 SquareMatrix ()
 Constructeur.
 SquareMatrix (T const &p_tValue)
 Constructeur.
 SquareMatrix (SquareMatrix< T, Rows > const &p_matrix)
 Constructeur par copie.
 SquareMatrix (SquareMatrix< T, Rows > &&p_matrix)
 Constructeur par déplacement.
template<typename Type >
 SquareMatrix (SquareMatrix< Type, Rows > const &p_matrix)
 Constructeur par copie convertie.
template<typename Type >
 SquareMatrix (Matrix< Type, Rows, Rows > const &p_matrix)
 Constructeur par copie convertie.
template<typename Type >
 SquareMatrix (Type const *p_pMatrix)
 Constructeur.
virtual ~SquareMatrix ()
 Destructeur.
SquareMatrix< T, Rows-1 > get_minor (std::size_t x, std::size_t y) const
 Récupère une matrice mineure, en ignorant la ligne et la colonne données.
__value_type get_cofactor (std::size_t p_uiRow, std::size_t p_uiColumn) const
 Calcule le cofacteur à la ligne et la colonne données.
__value_type get_determinant () const
 Calcule le déterminant de cette matrice.
bool is_orthogonal () const
 Dit si la matrice est orthogonale.
SquareMatrix< T, Rows > & transpose ()
 Transpose cette matrice.
bool is_symmetrical () const
 Dit si la matrice est symétrique.
bool is_anti_symmetrical () const
 Dit si la matrice est anti-symétrique.
SquareMatrix< T, Rows > get_inverse () const
 Récupère la matrice inverse de cette matrice.
SquareMatrix< T, Rows > & invert ()
 Inverse cette matrice.
SquareMatrix< T, Rows > multiply (my_square_type const &p_matrix) const
 Fonction de multiplication.
template<typename Type >
SquareMatrix< T, Rows > multiply (SquareMatrix< Type, Rows > const &p_matrix) const
 Fonction de multiplication.
template<std::size_t _Columns>
Matrix< T, Rows, _Columns > multiply (Matrix< T, Rows, _Columns > const &p_matrix) const
 Fonction de multiplication.
template<typename Type >
SquareMatrix< T, Rows > & operator= (Matrix< Type, Rows, Rows > const &p_matrix)
 Opérateur d'affectation par copie convertie.
SquareMatrix< T, Rows > & operator= (SquareMatrix< T, Rows > const &p_matrix)
 Opérateur d'affectation par copie.
SquareMatrix< T, Rows > & operator= (SquareMatrix< T, Rows > &&p_matrix)
 Opérateur d'affectation par déplacement.
template<typename Type >
SquareMatrix< T, Rows > & operator= (SquareMatrix< Type, Rows > const &p_matrix)
 Opérateur d'affectation par copie convertie.
template<typename Type >
SquareMatrix< T, Rows > & operator+= (SquareMatrix< Type, Rows > const &p_matrix)
 Opérateur d'affectation par addition.
template<typename Type >
SquareMatrix< T, Rows > & operator-= (SquareMatrix< Type, Rows > const &p_matrix)
 Opérateur d'affectation par soustraction.
template<typename Type >
SquareMatrix< T, Rows > & operator*= (SquareMatrix< Type, Rows > const &p_matrix)
 Opérateur d'affectation par multiplication.
template<typename Type >
SquareMatrix< T, Rows > & operator= (Type const *p_pMatrix)
 Opérateur d'affectation par copie convertie.
template<typename Type >
SquareMatrix< T, Rows > & operator+= (Type const *p_pMatrix)
 Opérateur d'affectation par addition.
template<typename Type >
SquareMatrix< T, Rows > & operator-= (Type const *p_pMatrix)
 Opérateur d'affectation par soustraction.
template<typename Type >
SquareMatrix< T, Rows > & operator*= (Type const *p_pMatrix)
 Opérateur d'affectation par multiplication.
SquareMatrix< T, Rows > & operator+= (T const &p_tValue)
 Opérateur d'affectation par addition.
SquareMatrix< T, Rows > & operator-= (T const &p_tValue)
 Opérateur d'affectation par soustraction.
SquareMatrix< T, Rows > & operator*= (T const &p_tValue)
 Opérateur d'affectation par multiplication.
SquareMatrix< T, Rows > & operator/= (T const &p_tValue)
 Opérateur d'affectation par division.

Description détaillée

template<typename T, std::size_t Rows>
class Castor::SquareMatrix< T, Rows >

Représentation d'une matrice carrée.

Auteur:
Sylvain DOREMUS
Version:
0.1.0.0
Date:
09/02/2010

Documentation des définitions de type membres

template<typename T, std::size_t Rows>
typedef __column Castor::SquareMatrix< T, Rows >::col_type

Typedef sur le type de colonne.

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
typedef Matrix<T, Rows, Rows> Castor::SquareMatrix< T, Rows >::my_matrix_type

Typedef sur le type de cette matrice.

template<typename T, std::size_t Rows>
typedef __square_type Castor::SquareMatrix< T, Rows >::my_square_type

Typedef sur le type de cette matrice.

template<typename T, std::size_t Rows>
typedef __policy Castor::SquareMatrix< T, Rows >::policy

Typedef sur la politique.

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
typedef __row Castor::SquareMatrix< T, Rows >::row_type

Typedef sur le type de ligne.

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
typedef __square_type Castor::SquareMatrix< T, Rows >::square_matrix_type

Typedef sur le type de cette matrice.

template<typename T, std::size_t Rows>
typedef __transpose Castor::SquareMatrix< T, Rows >::transpose_type

Typedef sur le type de matrice transposée.

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
typedef __value_type Castor::SquareMatrix< T, Rows >::value_type

Typedef sur le type de données.

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.


Documentation des constructeurs et destructeur

template<typename T, std::size_t Rows>
Castor::SquareMatrix< T, Rows >::SquareMatrix (  ) 

Constructeur.

template<typename T, std::size_t Rows>
Castor::SquareMatrix< T, Rows >::SquareMatrix ( T const &  p_tValue  ) 

Constructeur.

Paramètres:
[in] p_tValue La matrice est initialisée comme une Jordan avec cette valeur
template<typename T, std::size_t Rows>
Castor::SquareMatrix< T, Rows >::SquareMatrix ( SquareMatrix< T, Rows > const &  p_matrix  ) 

Constructeur par copie.

Paramètres:
[in] p_matrix L'objet Matrix à copier
template<typename T, std::size_t Rows>
Castor::SquareMatrix< T, Rows >::SquareMatrix ( SquareMatrix< T, Rows > &&  p_matrix  ) 

Constructeur par déplacement.

Paramètres:
[in] p_matrix L'objet Matrix à déplacer
template<typename T, std::size_t Rows>
template<typename Type >
Castor::SquareMatrix< T, Rows >::SquareMatrix ( SquareMatrix< Type, Rows > const &  p_matrix  ) 

Constructeur par copie convertie.

Paramètres:
[in] p_matrix L'objet Matrix à copier
template<typename T, std::size_t Rows>
template<typename Type >
Castor::SquareMatrix< T, Rows >::SquareMatrix ( Matrix< Type, Rows, Rows > const &  p_matrix  ) 

Constructeur par copie convertie.

Paramètres:
[in] p_matrix L'objet Matrix à copier
template<typename T, std::size_t Rows>
template<typename Type >
Castor::SquareMatrix< T, Rows >::SquareMatrix ( Type const *  p_pMatrix  ) 

Constructeur.

Paramètres:
[in] p_pMatrix Buffer de données à copier dans la matrice
template<typename T, std::size_t Rows>
virtual Castor::SquareMatrix< T, Rows >::~SquareMatrix (  )  [virtual]

Destructeur.


Documentation des fonctions membres

template<typename T, std::size_t Rows>
__value_type Castor::SquareMatrix< T, Rows >::get_cofactor ( std::size_t  p_uiRow,
std::size_t  p_uiColumn 
) const

Calcule le cofacteur à la ligne et la colonne données.

Paramètres:
[in] p_uiRow,p_uiColumn La ligne et la colonne
Renvoie:
Le cofacteur
template<typename T, std::size_t Rows>
__value_type Castor::SquareMatrix< T, Rows >::get_determinant (  )  const

Calcule le déterminant de cette matrice.

Renvoie:
Le déterminant
template<typename T, std::size_t Rows>
SquareMatrix<T, Rows> Castor::SquareMatrix< T, Rows >::get_inverse (  )  const

Récupère la matrice inverse de cette matrice.

Renvoie:
La matrice inverse
template<typename T, std::size_t Rows>
SquareMatrix<T, Rows-1> Castor::SquareMatrix< T, Rows >::get_minor ( std::size_t  x,
std::size_t  y 
) const

Récupère une matrice mineure, en ignorant la ligne et la colonne données.

Paramètres:
[in] x,y La ligne et la colonne ignorées
Renvoie:
La matrice mineure
template<typename T, std::size_t Rows>
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::invert (  ) 

Inverse cette matrice.

Renvoie:
Une référence sur cette matrice
template<typename T, std::size_t Rows>
bool Castor::SquareMatrix< T, Rows >::is_anti_symmetrical (  )  const

Dit si la matrice est anti-symétrique.

Renvoie:
true si la matrice est anti-symétrique
template<typename T, std::size_t Rows>
bool Castor::SquareMatrix< T, Rows >::is_orthogonal (  )  const

Dit si la matrice est orthogonale.

Renvoie:
true si elle est orthogonale
template<typename T, std::size_t Rows>
bool Castor::SquareMatrix< T, Rows >::is_symmetrical (  )  const

Dit si la matrice est symétrique.

Renvoie:
true si la matrice est symétrique
template<typename T, std::size_t Rows>
SquareMatrix<T, Rows> Castor::SquareMatrix< T, Rows >::multiply ( my_square_type const &  p_matrix  )  const

Fonction de multiplication.

Paramètres:
[in] p_matrix La matrice à multiplier
Renvoie:
Le résultat de la multiplication
template<typename T, std::size_t Rows>
template<typename Type >
SquareMatrix<T, Rows> Castor::SquareMatrix< T, Rows >::multiply ( SquareMatrix< Type, Rows > const &  p_matrix  )  const

Fonction de multiplication.

Paramètres:
[in] p_matrix La matrice à multiplier
Renvoie:
Le résultat de la multiplication
template<typename T, std::size_t Rows>
template<std::size_t _Columns>
Matrix<T, Rows, _Columns> Castor::SquareMatrix< T, Rows >::multiply ( Matrix< T, Rows, _Columns > const &  p_matrix  )  const

Fonction de multiplication.

Paramètres:
[in] p_matrix La matrice à multiplier
Renvoie:
Le résultat de la multiplication
template<typename T, std::size_t Rows>
template<typename Type >
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator*= ( SquareMatrix< Type, Rows > const &  p_matrix  ) 

Opérateur d'affectation par multiplication.

Paramètres:
[in] p_matrix L'objet SquareMatrix à multiplier
Renvoie:
Une référence sur cet objet SquareMatrix
template<typename T, std::size_t Rows>
template<typename Type >
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator*= ( Type const *  p_pMatrix  ) 

Opérateur d'affectation par multiplication.

Paramètres:
[in] p_pMatrix Le buffer de données à multiplier
Renvoie:
Une référence sur cet objet SquareMatrix
template<typename T, std::size_t Rows>
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator*= ( T const &  p_tValue  ) 

Opérateur d'affectation par multiplication.

Paramètres:
[in] p_tValue La valeur à multiplier
Renvoie:
Une référence sur cet objet SquareMatrix

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
template<typename Type >
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator+= ( SquareMatrix< Type, Rows > const &  p_matrix  ) 

Opérateur d'affectation par addition.

Paramètres:
[in] p_matrix L'objet SquareMatrix à ajouter
Renvoie:
Une référence sur cet objet SquareMatrix
template<typename T, std::size_t Rows>
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator+= ( T const &  p_tValue  ) 

Opérateur d'affectation par addition.

Paramètres:
[in] p_tValue La valeur à additionner
Renvoie:
Une référence sur cet objet SquareMatrix

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
template<typename Type >
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator+= ( Type const *  p_pMatrix  ) 

Opérateur d'affectation par addition.

Paramètres:
[in] p_pMatrix Le buffer de données à ajouter
Renvoie:
Une référence sur cet SquareMatrix Point

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator-= ( T const &  p_tValue  ) 

Opérateur d'affectation par soustraction.

Paramètres:
[in] p_tValue La valeur à soustraire
Renvoie:
Une référence sur cet objet SquareMatrix

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
template<typename Type >
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator-= ( Type const *  p_pMatrix  ) 

Opérateur d'affectation par soustraction.

Paramètres:
[in] p_pMatrix Le buffer de données à soustraire
Renvoie:
Une référence sur cet objet SquareMatrix

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
template<typename Type >
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator-= ( SquareMatrix< Type, Rows > const &  p_matrix  ) 

Opérateur d'affectation par soustraction.

Paramètres:
[in] p_matrix L'objet SquareMatrix à soustraire
Renvoie:
Une référence sur cet objet SquareMatrix
template<typename T, std::size_t Rows>
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator/= ( T const &  p_tValue  ) 

Opérateur d'affectation par division.

Paramètres:
[in] p_tValue La valeur à diviser
Renvoie:
Une référence sur cet objet SquareMatrix

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
template<typename Type >
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator= ( Matrix< Type, Rows, Rows > const &  p_matrix  ) 

Opérateur d'affectation par copie convertie.

Paramètres:
[in] p_matrix L'objet Matrix à copier
Renvoie:
Une référence sur cet objet SquareMatrix
template<typename T, std::size_t Rows>
template<typename Type >
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator= ( Type const *  p_pMatrix  ) 

Opérateur d'affectation par copie convertie.

Paramètres:
[in] p_pMatrix Le buffer de données à copier
Renvoie:
Une référence sur cet objet SquareMatrix

Réimplémentée à partir de Castor::Matrix< T, Rows, Rows >.

template<typename T, std::size_t Rows>
template<typename Type >
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator= ( SquareMatrix< Type, Rows > const &  p_matrix  ) 

Opérateur d'affectation par copie convertie.

Paramètres:
[in] p_matrix L'objet SquareMatrix à copier
Renvoie:
Une référence sur cet objet SquareMatrix
template<typename T, std::size_t Rows>
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator= ( SquareMatrix< T, Rows > const &  p_matrix  ) 

Opérateur d'affectation par copie.

Paramètres:
[in] p_matrix L'objet SquareMatrix à copier
Renvoie:
Une référence sur cet objet SquareMatrix
template<typename T, std::size_t Rows>
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::operator= ( SquareMatrix< T, Rows > &&  p_matrix  ) 

Opérateur d'affectation par déplacement.

Paramètres:
[in] p_matrix L'objet SquareMatrix à déplacer
Renvoie:
Une référence sur cet objet SquareMatrix
template<typename T, std::size_t Rows>
SquareMatrix<T, Rows>& Castor::SquareMatrix< T, Rows >::transpose (  ) 

Transpose cette matrice.

Renvoie:
Une référence sur cette matrice

La documentation de cette classe a été générée à partir du fichier suivant :
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Définition de type Énumérations Valeurs énumérées Amis Macros