Matrice_SuperMorse#

#include <Matrice_SuperMorse.h>

: 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 cite this class in this doc#

: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
double Matrice_SuperMorse::ajouter_mult_vect_et_prodscal(const DoubleVect &x, DoubleVect &resu) const

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

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 cite in this doc:
:ref:`double Matrice_SuperMorse::ajouter_mult_vect_et_prodscal(const DoubleVect &x, DoubleVect &resu) const <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](#public-double-matrice-supermorse-ajouter-mult-vect-et-prodscal-const-doublevect-ref-x-doublevect-ref-resu-const)
coeff
double & Matrice_SuperMorse::coeff(int i)
References
How to cite in this doc:
:ref:`double & Matrice_SuperMorse::coeff(int i) <public-double-ref-matrice-supermorse-coeff-int-i>`
[double & Matrice_SuperMorse::coeff(int i)](#public-double-ref-matrice-supermorse-coeff-int-i)
coeff
const double & Matrice_SuperMorse::coeff(int i) const
References
How to cite in this doc:
:ref:`const double & Matrice_SuperMorse::coeff(int i) const <public-const-double-ref-matrice-supermorse-coeff-int-i-const>`
[const double & Matrice_SuperMorse::coeff(int i) const](#public-const-double-ref-matrice-supermorse-coeff-int-i-const)
get_coeff
const ArrOfDouble & Matrice_SuperMorse::get_coeff() const
References
How to cite in this doc:
:ref:`const ArrOfDouble & Matrice_SuperMorse::get_coeff() const <public-const-arrofdouble-ref-matrice-supermorse-get-coeff-const>`
[const ArrOfDouble & Matrice_SuperMorse::get_coeff() const](#public-const-arrofdouble-ref-matrice-supermorse-get-coeff-const)
get_set_coeff
ArrOfDouble & Matrice_SuperMorse::get_set_coeff()
References
How to cite in this doc:
:ref:`ArrOfDouble & Matrice_SuperMorse::get_set_coeff() <public-arrofdouble-ref-matrice-supermorse-get-set-coeff>`
[ArrOfDouble & Matrice_SuperMorse::get_set_coeff()](#public-arrofdouble-ref-matrice-supermorse-get-set-coeff)
get_set_tab1
ArrOfInt & Matrice_SuperMorse::get_set_tab1()
References
How to cite in this doc:
:ref:`ArrOfInt & Matrice_SuperMorse::get_set_tab1() <public-arrofint-ref-matrice-supermorse-get-set-tab1>`
[ArrOfInt & Matrice_SuperMorse::get_set_tab1()](#public-arrofint-ref-matrice-supermorse-get-set-tab1)
get_set_tab2
ArrOfInt & Matrice_SuperMorse::get_set_tab2()
References
How to cite in this doc:
:ref:`ArrOfInt & Matrice_SuperMorse::get_set_tab2() <public-arrofint-ref-matrice-supermorse-get-set-tab2>`
[ArrOfInt & Matrice_SuperMorse::get_set_tab2()](#public-arrofint-ref-matrice-supermorse-get-set-tab2)
get_tab1
const ArrOfInt & Matrice_SuperMorse::get_tab1() const
References
How to cite in this doc:
:ref:`const ArrOfInt & Matrice_SuperMorse::get_tab1() const <public-const-arrofint-ref-matrice-supermorse-get-tab1-const>`
[const ArrOfInt & Matrice_SuperMorse::get_tab1() const](#public-const-arrofint-ref-matrice-supermorse-get-tab1-const)
get_tab2
const ArrOfInt & Matrice_SuperMorse::get_tab2() const
References
How to cite in this doc:
:ref:`const ArrOfInt & Matrice_SuperMorse::get_tab2() const <public-const-arrofint-ref-matrice-supermorse-get-tab2-const>`
[const ArrOfInt & Matrice_SuperMorse::get_tab2() const](#public-const-arrofint-ref-matrice-supermorse-get-tab2-const)
tab1
int & Matrice_SuperMorse::tab1(int i)
References
How to cite in this doc:
:ref:`int & Matrice_SuperMorse::tab1(int i) <public-int-ref-matrice-supermorse-tab1-int-i>`
[int & Matrice_SuperMorse::tab1(int i)](#public-int-ref-matrice-supermorse-tab1-int-i)
tab1
const int & Matrice_SuperMorse::tab1(int i) const
References
How to cite in this doc:
:ref:`const int & Matrice_SuperMorse::tab1(int i) const <public-const-int-ref-matrice-supermorse-tab1-int-i-const>`
[const int & Matrice_SuperMorse::tab1(int i) const](#public-const-int-ref-matrice-supermorse-tab1-int-i-const)
tab2
int & Matrice_SuperMorse::tab2(int i)
References
How to cite in this doc:
:ref:`int & Matrice_SuperMorse::tab2(int i) <public-int-ref-matrice-supermorse-tab2-int-i>`
[int & Matrice_SuperMorse::tab2(int i)](#public-int-ref-matrice-supermorse-tab2-int-i)
tab2
const int & Matrice_SuperMorse::tab2(int i) const
References
How to cite in this doc:
:ref:`const int & Matrice_SuperMorse::tab2(int i) const <public-const-int-ref-matrice-supermorse-tab2-int-i-const>`
[const int & Matrice_SuperMorse::tab2(int i) const](#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_