solver move matricies

This commit is contained in:
2024-05-04 14:56:50 +02:00
parent 36ef301cb9
commit e71bc588e5
6 changed files with 37 additions and 32 deletions

View File

@@ -18,14 +18,14 @@ class Solver {
* \param a_Matrix La matrice à traiter
* \return L'espace vectoriel correspondant
*/
Vect Image(const Matrix& a_Matrix) const;
Vect Image(Matrix&& a_Matrix) const;
/**
* \brief Calcule le noyau d'une matrice
* \param a_Matrix La matrice à traiter
* \return L'espace vectoriel correspondant
*/
Vect Kernel(const Matrix& a_Matrix) const;
Vect Kernel(Matrix&& a_Matrix) const;
/**
* \brief Résout le système rectangulaire de la forme AX=B, avec X et B, des vecteurs colonne.
@@ -33,12 +33,12 @@ class Solver {
* \param a_VectorB La matrice colonne jouant le rôle de B
* \return L'espace affine associé
*/
VectAffine RectangularSystem(const Matrix& a_MatrixA, const Matrix& a_VectorB) const;
VectAffine RectangularSystem(Matrix&& a_MatrixA, const Matrix& a_VectorB) const;
/**
* \brief Calcule le rang d'une matrice
* \param a_Matrix La matrice à traiter
* \note Ceci équivaut à \code Image(a_Matrix).GetCardinal() \endcode
*/
std::size_t Rank(const Matrix& a_Matrix) const;
std::size_t Rank(Matrix&& a_Matrix) const;
};