![]() |
Moka libraries
|
#include <Matrice.hh>
Public Member Functions | |
| Matrice () | |
| Matrice (int nbli, int nbcol) | |
| Matrice (const Matrice &source) | |
| ~Matrice () | |
| unsigned long | size () const |
| Return the memory size (in bytes) required for the matrixes. | |
| bool | valid () |
| int | getVal (int i, int j) |
| int | getnbcol () |
| int | getnbli () |
| coord | getMinElemNonZero (int pos) |
| void | setVal (int i, int j, int val) |
| void | setMatrice (Matrice *m) |
| void | inverseColonne (int i, int j) |
| void | inverseLigne (int i, int j) |
| void | multiplyLigne (int i, int coeff) |
| void | multiplyColonne (int i, int coeff) |
| void | multGauche (Matrice *op2) |
| coord | verifyDiviseLigne (int pos) |
| coord | verifyDiviseColonne (int pos) |
| coord | verifyOthers (int pos) |
| void | addLigne (int i, int j, int coeff) |
| void | addColonne (int i, int j, int coeff) |
| void | affiche () |
| int | nbTorsion () |
| int | nbCycle () |
Protected Member Functions | |
| bool | allocate (int nbli, int nbcol) |
| void | desallocate () |
| Free all the arrays. | |
Definition at line 14 of file Matrice.hh.
| Matrice::Matrice | ( | ) |
Definition at line 14 of file Matrice.cc.
| Matrice::Matrice | ( | int | nbli, |
| int | nbcol | ||
| ) |
Definition at line 62 of file Matrice.cc.
| Matrice::Matrice | ( | const Matrice & | source | ) |
Definition at line 76 of file Matrice.cc.
| Matrice::~Matrice | ( | ) |
Definition at line 90 of file Matrice.cc.
| void Matrice::addColonne | ( | int | i, |
| int | j, | ||
| int | coeff | ||
| ) |
Definition at line 288 of file Matrice.cc.
| void Matrice::addLigne | ( | int | i, |
| int | j, | ||
| int | coeff | ||
| ) |
Definition at line 280 of file Matrice.cc.
| void Matrice::affiche | ( | ) |
Definition at line 296 of file Matrice.cc.
|
protected |
Allocate the matrix.
Definition at line 39 of file Matrice.cc.
|
protected |
Free all the arrays.
Definition at line 27 of file Matrice.cc.
| coord Matrice::getMinElemNonZero | ( | int | pos | ) |
Definition at line 149 of file Matrice.cc.
| int Matrice::getnbcol | ( | ) |
Definition at line 227 of file Matrice.cc.
| int Matrice::getnbli | ( | ) |
Definition at line 222 of file Matrice.cc.
| int Matrice::getVal | ( | int | i, |
| int | j | ||
| ) |
Definition at line 217 of file Matrice.cc.
| void Matrice::inverseColonne | ( | int | i, |
| int | j | ||
| ) |
Definition at line 237 of file Matrice.cc.
| void Matrice::inverseLigne | ( | int | i, |
| int | j | ||
| ) |
Definition at line 250 of file Matrice.cc.
| void Matrice::multGauche | ( | Matrice * | op2 | ) |
Definition at line 172 of file Matrice.cc.
| void Matrice::multiplyColonne | ( | int | i, |
| int | coeff | ||
| ) |
Definition at line 271 of file Matrice.cc.
| void Matrice::multiplyLigne | ( | int | i, |
| int | coeff | ||
| ) |
Definition at line 263 of file Matrice.cc.
| int Matrice::nbCycle | ( | ) |
Definition at line 308 of file Matrice.cc.
| int Matrice::nbTorsion | ( | ) |
Definition at line 325 of file Matrice.cc.
| void Matrice::setMatrice | ( | Matrice * | m | ) |
Definition at line 203 of file Matrice.cc.
| void Matrice::setVal | ( | int | i, |
| int | j, | ||
| int | val | ||
| ) |
Definition at line 232 of file Matrice.cc.
| unsigned long Matrice::size | ( | ) | const |
Return the memory size (in bytes) required for the matrixes.
Definition at line 24 of file Matrice.cc.
| bool Matrice::valid | ( | ) |
Return true if the matrix is valid, ie if the allocation of matrixes was successful.
Definition at line 21 of file Matrice.cc.
| coord Matrice::verifyDiviseColonne | ( | int | pos | ) |
Definition at line 111 of file Matrice.cc.
| coord Matrice::verifyDiviseLigne | ( | int | pos | ) |
Definition at line 93 of file Matrice.cc.
| coord Matrice::verifyOthers | ( | int | pos | ) |
Definition at line 129 of file Matrice.cc.