Matrice_Dense#
#include <Matrice_Dense.h>
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:`Matrice\_Dense <class-matrice-dense>`
[Matrice\_Dense](#class-matrice-dense)
Detailed description#
Inherits from#
public : Matrice_Base
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
List of Public Static Methods#
List of Protected Methods#
Complete Member Function Documentation#
ajouter_multTab_#
DoubleTab & Matrice_Dense::ajouter_multTab_(const DoubleTab &x, DoubleTab &r) const override
Detailed description
Reimplements:
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:`DoubleTab & Matrice_Dense::ajouter_multTab_(const DoubleTab &x, DoubleTab &r) const override <matrice-dense-public-doubletab-ref-matrice-dense-ajouter-multtab-underscore-const-doubletab-ref-x-doubletab-ref-r-const-override>`
[DoubleTab & Matrice_Dense::ajouter_multTab_(const DoubleTab &x, DoubleTab &r) const override](#matrice-dense-public-doubletab-ref-matrice-dense-ajouter-multtab-underscore-const-doubletab-ref-x-doubletab-ref-r-const-override)
ajouter_multvect_#
DoubleVect & Matrice_Dense::ajouter_multvect_(const DoubleVect &x, DoubleVect &r) const override
Operation de multiplication - accumulation (saxpy) matrice vecteur.
Detailed description
Operation: resu = resu + Matrix_ * x
Reimplements:
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:`DoubleVect & Matrice_Dense::ajouter_multvect_(const DoubleVect &x, DoubleVect &r) const override <matrice-dense-public-doublevect-ref-matrice-dense-ajouter-multvect-underscore-const-doublevect-ref-x-doublevect-ref-r-const-override>`
[DoubleVect & Matrice_Dense::ajouter_multvect_(const DoubleVect &x, DoubleVect &r) const override](#matrice-dense-public-doublevect-ref-matrice-dense-ajouter-multvect-underscore-const-doublevect-ref-x-doublevect-ref-r-const-override)
ajouter_multvectT_#
DoubleVect & Matrice_Dense::ajouter_multvectT_(const DoubleVect &x, DoubleVect &r) const override
Operation de multiplication - accumulation (saxpy) matrice vecteur, par la matrice transposee.
Detailed description
Operation: resu = resu + A^{T}*x
Reimplements:
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:`DoubleVect & Matrice_Dense::ajouter_multvectT_(const DoubleVect &x, DoubleVect &r) const override <matrice-dense-public-doublevect-ref-matrice-dense-ajouter-multvectt-underscore-const-doublevect-ref-x-doublevect-ref-r-const-override>`
[DoubleVect & Matrice_Dense::ajouter_multvectT_(const DoubleVect &x, DoubleVect &r) const override](#matrice-dense-public-doublevect-ref-matrice-dense-ajouter-multvectt-underscore-const-doublevect-ref-x-doublevect-ref-r-const-override)
build_matrix_from_coefficients_column_by_column#
void Matrice_Dense::build_matrix_from_coefficients_column_by_column(const DoubleVect &coefficients)
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:`void Matrice_Dense::build_matrix_from_coefficients_column_by_column(const DoubleVect &coefficients) <matrice-dense-public-void-matrice-dense-build-matrix-from-coefficients-column-by-column-const-doublevect-ref-coefficients>`
[void Matrice_Dense::build_matrix_from_coefficients_column_by_column(const DoubleVect &coefficients)](#matrice-dense-public-void-matrice-dense-build-matrix-from-coefficients-column-by-column-const-doublevect-ref-coefficients)
build_matrix_from_coefficients_line_by_line#
void Matrice_Dense::build_matrix_from_coefficients_line_by_line(const DoubleVect &coefficients)
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:`void Matrice_Dense::build_matrix_from_coefficients_line_by_line(const DoubleVect &coefficients) <matrice-dense-public-void-matrice-dense-build-matrix-from-coefficients-line-by-line-const-doublevect-ref-coefficients>`
[void Matrice_Dense::build_matrix_from_coefficients_line_by_line(const DoubleVect &coefficients)](#matrice-dense-public-void-matrice-dense-build-matrix-from-coefficients-line-by-line-const-doublevect-ref-coefficients)
build_the_transposed#
void Matrice_Dense::build_the_transposed(Matrice_Dense &transposed) const
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 Matrice_Dense::build_the_transposed(Matrice_Dense &transposed) const <matrice-dense-public-void-matrice-dense-build-the-transposed-matrice-dense-ref-transposed-const>`
[void Matrice_Dense::build_the_transposed(Matrice_Dense &transposed) const](#matrice-dense-public-void-matrice-dense-build-the-transposed-matrice-dense-ref-transposed-const)
clean#
void Matrice_Dense::clean() override
Detailed description
Reimplements:
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 Matrice_Dense::clean() override <matrice-dense-public-void-matrice-dense-clean-override>`
[void Matrice_Dense::clean() override](#matrice-dense-public-void-matrice-dense-clean-override)
coeffs#
DoubleTab & Matrice_Dense::coeffs()
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:`DoubleTab & Matrice_Dense::coeffs() <matrice-dense-public-doubletab-ref-matrice-dense-coeffs>`
[DoubleTab & Matrice_Dense::coeffs()](#matrice-dense-public-doubletab-ref-matrice-dense-coeffs)
convert_to_morse_matrix#
void Matrice_Dense::convert_to_morse_matrix(Matrice_Morse &morse_matrix) const
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 Matrice_Dense::convert_to_morse_matrix(Matrice_Morse &morse_matrix) const <matrice-dense-public-void-matrice-dense-convert-to-morse-matrix-matrice-morse-ref-morse-matrix-const>`
[void Matrice_Dense::convert_to_morse_matrix(Matrice_Morse &morse_matrix) const](#matrice-dense-public-void-matrice-dense-convert-to-morse-matrix-matrice-morse-ref-morse-matrix-const)
dimensionner#
void Matrice_Dense::dimensionner(const int nb_lines, const int nb_cols)
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 Matrice_Dense::dimensionner(const int nb_lines, const int nb_cols) <matrice-dense-public-void-matrice-dense-dimensionner-const-int-nb-lines-const-int-nb-cols>`
[void Matrice_Dense::dimensionner(const int nb_lines, const int nb_cols)](#matrice-dense-public-void-matrice-dense-dimensionner-const-int-nb-lines-const-int-nb-cols)
duplique#
int Matrice_Dense::duplique() const override
Detailed description
Reimplements:
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:`int Matrice_Dense::duplique() const override <matrice-dense-public-int-matrice-dense-duplique-const-override>`
[int Matrice_Dense::duplique() const override](#matrice-dense-public-int-matrice-dense-duplique-const-override)
get_info#
const Type_info * Matrice_Dense::get_info() const override
Donne des informations sur le type de l’ Objet_U .
Detailed description
Reimplements:
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:`const Type_info * Matrice_Dense::get_info() const override <matrice-dense-public-const-type-info-ptr-matrice-dense-get-info-const-override>`
[const Type_info * Matrice_Dense::get_info() const override](#matrice-dense-public-const-type-info-ptr-matrice-dense-get-info-const-override)
get_stencil#
void Matrice_Dense::get_stencil(IntTab &stencil) const override
Detailed description
Reimplements:
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 Matrice_Dense::get_stencil(IntTab &stencil) const override <matrice-dense-public-void-matrice-dense-get-stencil-inttab-ref-stencil-const-override>`
[void Matrice_Dense::get_stencil(IntTab &stencil) const override](#matrice-dense-public-void-matrice-dense-get-stencil-inttab-ref-stencil-const-override)
imprimer_formatte#
Sortie & Matrice_Dense::imprimer_formatte(Sortie &s) const override
Detailed description
Reimplements:
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:`Sortie & Matrice_Dense::imprimer_formatte(Sortie &s) const override <matrice-dense-public-sortie-ref-matrice-dense-imprimer-formatte-sortie-ref-s-const-override>`
[Sortie & Matrice_Dense::imprimer_formatte(Sortie &s) const override](#matrice-dense-public-sortie-ref-matrice-dense-imprimer-formatte-sortie-ref-s-const-override)
inverse#
void Matrice_Dense::inverse()
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 Matrice_Dense::inverse() <matrice-dense-public-void-matrice-dense-inverse>`
[void Matrice_Dense::inverse()](#matrice-dense-public-void-matrice-dense-inverse)
is_the_same#
bool Matrice_Dense::is_the_same(const Matrice_Dense &other_matrix, const double tol=1e-14) const
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:`bool Matrice_Dense::is_the_same(const Matrice_Dense &other_matrix, const double tol=1e-14) const <matrice-dense-public-bool-matrice-dense-is-the-same-const-matrice-dense-ref-other-matrix-const-double-tol-equal-1e-14-const>`
[bool Matrice_Dense::is_the_same(const Matrice_Dense &other_matrix, const double tol=1e-14) const](#matrice-dense-public-bool-matrice-dense-is-the-same-const-matrice-dense-ref-other-matrix-const-double-tol-equal-1e-14-const)
Matrice_Dense#
Matrice_Dense::Matrice_Dense()
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:`Matrice_Dense::Matrice_Dense() <matrice-dense-public-matrice-dense-matrice-dense>`
[Matrice_Dense::Matrice_Dense()](#matrice-dense-public-matrice-dense-matrice-dense)
Matrice_Dense#
Matrice_Dense::Matrice_Dense(const int nb_lines, const int nb_cols)
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:`Matrice_Dense::Matrice_Dense(const int nb_lines, const int nb_cols) <matrice-dense-public-matrice-dense-matrice-dense-const-int-nb-lines-const-int-nb-cols>`
[Matrice_Dense::Matrice_Dense(const int nb_lines, const int nb_cols)](#matrice-dense-public-matrice-dense-matrice-dense-const-int-nb-lines-const-int-nb-cols)
multiplyToRight#
void Matrice_Dense::multiplyToRight(const Matrice_Dense &B, Matrice_Dense &RES) const
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 Matrice_Dense::multiplyToRight(const Matrice_Dense &B, Matrice_Dense &RES) const <matrice-dense-public-void-matrice-dense-multiplytoright-const-matrice-dense-ref-b-matrice-dense-ref-res-const>`
[void Matrice_Dense::multiplyToRight(const Matrice_Dense &B, Matrice_Dense &RES) const](#matrice-dense-public-void-matrice-dense-multiplytoright-const-matrice-dense-ref-b-matrice-dense-ref-res-const)
nb_colonnes#
int Matrice_Dense::nb_colonnes() const override
Return local number of columns ( = size on the current proc)
Detailed description
Reimplements:
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:`int Matrice_Dense::nb_colonnes() const override <matrice-dense-public-int-matrice-dense-nb-colonnes-const-override>`
[int Matrice_Dense::nb_colonnes() const override](#matrice-dense-public-int-matrice-dense-nb-colonnes-const-override)
nb_lignes#
int Matrice_Dense::nb_lignes() const override
Return local number of lines ( = size on the current proc)
Detailed description
Reimplements:
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:`int Matrice_Dense::nb_lignes() const override <matrice-dense-public-int-matrice-dense-nb-lignes-const-override>`
[int Matrice_Dense::nb_lignes() const override](#matrice-dense-public-int-matrice-dense-nb-lignes-const-override)
operator()#
double & Matrice_Dense::operator()(const int line, const int col)
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:`double & Matrice_Dense::operator()(const int line, const int col) <matrice-dense-public-double-ref-matrice-dense-operator-const-int-line-const-int-col>`
[double & Matrice_Dense::operator()(const int line, const int col)](#matrice-dense-public-double-ref-matrice-dense-operator-const-int-line-const-int-col)
operator()#
const double & Matrice_Dense::operator()(const int line, const int col) const
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:`const double & Matrice_Dense::operator()(const int line, const int col) const <matrice-dense-public-const-double-ref-matrice-dense-operator-const-int-line-const-int-col-const>`
[const double & Matrice_Dense::operator()(const int line, const int col) const](#matrice-dense-public-const-double-ref-matrice-dense-operator-const-int-line-const-int-col-const)
ordre#
int Matrice_Dense::ordre() const override
If square matrix, returns number of lines, otherwise 0.
Detailed description
Reimplements:
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:`int Matrice_Dense::ordre() const override <matrice-dense-public-int-matrice-dense-ordre-const-override>`
[int Matrice_Dense::ordre() const override](#matrice-dense-public-int-matrice-dense-ordre-const-override)
read_from_file#
void Matrice_Dense::read_from_file(const Nom &filename)
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 Matrice_Dense::read_from_file(const Nom &filename) <matrice-dense-public-void-matrice-dense-read-from-file-const-nom-ref-filename>`
[void Matrice_Dense::read_from_file(const Nom &filename)](#matrice-dense-public-void-matrice-dense-read-from-file-const-nom-ref-filename)
scale#
void Matrice_Dense::scale(const double x) override
Detailed description
Reimplements:
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 Matrice_Dense::scale(const double x) override <matrice-dense-public-void-matrice-dense-scale-const-double-x-override>`
[void Matrice_Dense::scale(const double x) override](#matrice-dense-public-void-matrice-dense-scale-const-double-x-override)
set_coefficient#
void Matrice_Dense::set_coefficient(const int i, const int j, const double value)
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 Matrice_Dense::set_coefficient(const int i, const int j, const double value) <matrice-dense-public-void-matrice-dense-set-coefficient-const-int-i-const-int-j-const-double-value>`
[void Matrice_Dense::set_coefficient(const int i, const int j, const double value)](#matrice-dense-public-void-matrice-dense-set-coefficient-const-int-i-const-int-j-const-double-value)
solve#
void Matrice_Dense::solve(const ArrOfDouble &b, ArrOfDouble &x)
Solves the linear system A*x = b using LU factorization.
Detailed description
This method solves a system of linear equations using LAPACK routines:
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 Matrice_Dense::solve(const ArrOfDouble &b, ArrOfDouble &x) <matrice-dense-public-void-matrice-dense-solve-const-arrofdouble-ref-b-arrofdouble-ref-x>`
[void Matrice_Dense::solve(const ArrOfDouble &b, ArrOfDouble &x)](#matrice-dense-public-void-matrice-dense-solve-const-arrofdouble-ref-b-arrofdouble-ref-x)
taille_memoire#
unsigned Matrice_Dense::taille_memoire() const override
Detailed description
Reimplements:
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:`unsigned Matrice_Dense::taille_memoire() const override <matrice-dense-public-unsigned-matrice-dense-taille-memoire-const-override>`
[unsigned Matrice_Dense::taille_memoire() const override](#matrice-dense-public-unsigned-matrice-dense-taille-memoire-const-override)
~Matrice_Dense#
Matrice_Dense::~Matrice_Dense()
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:`Matrice_Dense::~Matrice_Dense() <matrice-dense-public-matrice-dense-dtor-matrice-dense>`
[Matrice_Dense::~Matrice_Dense()](#matrice-dense-public-matrice-dense-dtor-matrice-dense)
cree_instance#
Objet_U * Matrice_Dense::cree_instance()
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:`Objet_U * Matrice_Dense::cree_instance() <matrice-dense-public-static-objet-u-ptr-matrice-dense-cree-instance>`
[Objet_U * Matrice_Dense::cree_instance()](#matrice-dense-public-static-objet-u-ptr-matrice-dense-cree-instance)
info#
const Type_info * Matrice_Dense::info()
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:`const Type_info * Matrice_Dense::info() <matrice-dense-public-static-const-type-info-ptr-matrice-dense-info>`
[const Type_info * Matrice_Dense::info()](#matrice-dense-public-static-const-type-info-ptr-matrice-dense-info)
self_cast#
const Matrice_Dense & Matrice_Dense::self_cast(const Objet_U &)
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:`const Matrice_Dense & Matrice_Dense::self_cast(const Objet_U &) <matrice-dense-public-static-const-matrice-dense-ref-matrice-dense-self-cast-const-objet-u-ref>`
[const Matrice_Dense & Matrice_Dense::self_cast(const Objet_U &)](#matrice-dense-public-static-const-matrice-dense-ref-matrice-dense-self-cast-const-objet-u-ref)
self_cast#
Matrice_Dense & Matrice_Dense::self_cast(Objet_U &)
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:`Matrice_Dense & Matrice_Dense::self_cast(Objet_U &) <matrice-dense-public-static-matrice-dense-ref-matrice-dense-self-cast-objet-u-ref>`
[Matrice_Dense & Matrice_Dense::self_cast(Objet_U &)](#matrice-dense-public-static-matrice-dense-ref-matrice-dense-self-cast-objet-u-ref)
printOn#
Sortie & Matrice_Dense::printOn(Sortie &x) const override
Ecriture de l’objet sur un flot de sortie Methode a surcharger.
Detailed description
Reimplements:
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:`Sortie & Matrice_Dense::printOn(Sortie &x) const override <matrice-dense-protected-sortie-ref-matrice-dense-printon-sortie-ref-x-const-override>`
[Sortie & Matrice_Dense::printOn(Sortie &x) const override](#matrice-dense-protected-sortie-ref-matrice-dense-printon-sortie-ref-x-const-override)
readOn#
Entree & Matrice_Dense::readOn(Entree &) override
Lecture d’un Objet_U sur un flot d’entree Methode a surcharger.
Detailed description
Reimplements:
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:`Entree & Matrice_Dense::readOn(Entree &) override <matrice-dense-protected-entree-ref-matrice-dense-readon-entree-ref-override>`
[Entree & Matrice_Dense::readOn(Entree &) override](#matrice-dense-protected-entree-ref-matrice-dense-readon-entree-ref-override)
Attributes Documentation#
const Type_info Matrice_Dense::info_obj
ArrOfInt Matrice_Dense::ipiv
DoubleTab Matrice_Dense::Matrix_
ArrOfDouble Matrice_Dense::work
Friends#
Matrice_Dense operator*
Matrice_Dense operator+