Matrice_SuperMorse#

#include <Matrice_SuperMorse.h>
Brief description

: Matrice avec un stockage encore plus creux que Matrice_Morse : On stocke uniquement les lignes non vides (economie sur la taille de tab1_,

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\_SuperMorse <class-matrice-supermorse>`
[Matrice\_SuperMorse](#class-matrice-supermorse)

Detailed description#

tab2_ et coeff_ restent identiques)

List of Public Methods#

Complete Member Function Documentation#

ajouter_mult_vect_et_prodscal#

Definition
double Matrice_SuperMorse::ajouter_mult_vect_et_prodscal(const DoubleVect &x, DoubleVect &resu) const
Brief description

Calcul de “resu + = MATRICE * x” et d’un produit scalaire (c’est une brique de base pour le gradient conjugue, voir class Solv_GCP )

Detailed description

Valeur de retour: partie locale a ce processeur de “(MATRICE * x) scalaire x” (attention: le produit scalaire compte toutes les lignes de la matrice les items communs ne sont pas supprimes !) (attention: c’est different de resu scalaire x !)

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 Matrice_SuperMorse::ajouter_mult_vect_et_prodscal(const DoubleVect &x, DoubleVect &resu) const <matrice-supermorse-public-double-matrice-supermorse-ajouter-mult-vect-et-prodscal-const-doublevect-ref-x-doublevect-ref-resu-const>`
[double Matrice_SuperMorse::ajouter_mult_vect_et_prodscal(const DoubleVect &x, DoubleVect &resu) const](#matrice-supermorse-public-double-matrice-supermorse-ajouter-mult-vect-et-prodscal-const-doublevect-ref-x-doublevect-ref-resu-const)

coeff#

Definition
double & Matrice_SuperMorse::coeff(int i)
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 & Matrice_SuperMorse::coeff(int i) <matrice-supermorse-public-double-ref-matrice-supermorse-coeff-int-i>`
[double & Matrice_SuperMorse::coeff(int i)](#matrice-supermorse-public-double-ref-matrice-supermorse-coeff-int-i)

coeff#

Definition
const double & Matrice_SuperMorse::coeff(int i) 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:`const double & Matrice_SuperMorse::coeff(int i) const <matrice-supermorse-public-const-double-ref-matrice-supermorse-coeff-int-i-const>`
[const double & Matrice_SuperMorse::coeff(int i) const](#matrice-supermorse-public-const-double-ref-matrice-supermorse-coeff-int-i-const)

get_coeff#

Definition
const ArrOfDouble & Matrice_SuperMorse::get_coeff() 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:`const ArrOfDouble & Matrice_SuperMorse::get_coeff() const <matrice-supermorse-public-const-arrofdouble-ref-matrice-supermorse-get-coeff-const>`
[const ArrOfDouble & Matrice_SuperMorse::get_coeff() const](#matrice-supermorse-public-const-arrofdouble-ref-matrice-supermorse-get-coeff-const)

get_set_coeff#

Definition
ArrOfDouble & Matrice_SuperMorse::get_set_coeff()
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:`ArrOfDouble & Matrice_SuperMorse::get_set_coeff() <matrice-supermorse-public-arrofdouble-ref-matrice-supermorse-get-set-coeff>`
[ArrOfDouble & Matrice_SuperMorse::get_set_coeff()](#matrice-supermorse-public-arrofdouble-ref-matrice-supermorse-get-set-coeff)

get_set_tab1#

Definition
ArrOfInt & Matrice_SuperMorse::get_set_tab1()
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:`ArrOfInt & Matrice_SuperMorse::get_set_tab1() <matrice-supermorse-public-arrofint-ref-matrice-supermorse-get-set-tab1>`
[ArrOfInt & Matrice_SuperMorse::get_set_tab1()](#matrice-supermorse-public-arrofint-ref-matrice-supermorse-get-set-tab1)

get_set_tab2#

Definition
ArrOfInt & Matrice_SuperMorse::get_set_tab2()
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:`ArrOfInt & Matrice_SuperMorse::get_set_tab2() <matrice-supermorse-public-arrofint-ref-matrice-supermorse-get-set-tab2>`
[ArrOfInt & Matrice_SuperMorse::get_set_tab2()](#matrice-supermorse-public-arrofint-ref-matrice-supermorse-get-set-tab2)

get_tab1#

Definition
const ArrOfInt & Matrice_SuperMorse::get_tab1() 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:`const ArrOfInt & Matrice_SuperMorse::get_tab1() const <matrice-supermorse-public-const-arrofint-ref-matrice-supermorse-get-tab1-const>`
[const ArrOfInt & Matrice_SuperMorse::get_tab1() const](#matrice-supermorse-public-const-arrofint-ref-matrice-supermorse-get-tab1-const)

get_tab2#

Definition
const ArrOfInt & Matrice_SuperMorse::get_tab2() 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:`const ArrOfInt & Matrice_SuperMorse::get_tab2() const <matrice-supermorse-public-const-arrofint-ref-matrice-supermorse-get-tab2-const>`
[const ArrOfInt & Matrice_SuperMorse::get_tab2() const](#matrice-supermorse-public-const-arrofint-ref-matrice-supermorse-get-tab2-const)

tab1#

Definition
int & Matrice_SuperMorse::tab1(int i)
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:`int & Matrice_SuperMorse::tab1(int i) <matrice-supermorse-public-int-ref-matrice-supermorse-tab1-int-i>`
[int & Matrice_SuperMorse::tab1(int i)](#matrice-supermorse-public-int-ref-matrice-supermorse-tab1-int-i)

tab1#

Definition
const int & Matrice_SuperMorse::tab1(int i) 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:`const int & Matrice_SuperMorse::tab1(int i) const <matrice-supermorse-public-const-int-ref-matrice-supermorse-tab1-int-i-const>`
[const int & Matrice_SuperMorse::tab1(int i) const](#matrice-supermorse-public-const-int-ref-matrice-supermorse-tab1-int-i-const)

tab2#

Definition
int & Matrice_SuperMorse::tab2(int i)
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:`int & Matrice_SuperMorse::tab2(int i) <matrice-supermorse-public-int-ref-matrice-supermorse-tab2-int-i>`
[int & Matrice_SuperMorse::tab2(int i)](#matrice-supermorse-public-int-ref-matrice-supermorse-tab2-int-i)

tab2#

Definition
const int & Matrice_SuperMorse::tab2(int i) 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:`const int & Matrice_SuperMorse::tab2(int i) const <matrice-supermorse-public-const-int-ref-matrice-supermorse-tab2-int-i-const>`
[const int & Matrice_SuperMorse::tab2(int i) const](#matrice-supermorse-public-const-int-ref-matrice-supermorse-tab2-int-i-const)

Attributes Documentation#

lignes_non_vides_ (public)
ArrOfInt Matrice_SuperMorse::lignes_non_vides_
coeff_ (protected)
ArrOfDouble Matrice_SuperMorse::coeff_
tab1_ (protected)
ArrOfInt Matrice_SuperMorse::tab1_
tab2_ (protected)
ArrOfInt Matrice_SuperMorse::tab2_