#include <RPentaDiagonalMatrix.hpp>
Collaboration diagram for RPentaDiagonalMatrix:
Purpose: Define the concept of Tri Diagonal Matrix Used to linearize differencial equations,....
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2003, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
RPentaDiagonalMatrix (int asize) | |
RPentaDiagonalMatrix (const RPentaDiagonalMatrix &v) | |
RPentaDiagonalMatrix | operator= (const RPentaDiagonalMatrix &v) |
~RPentaDiagonalMatrix () | |
void | load (RPentaDiagonalMatrix *m) |
void | load (RealVector *u2, RealVector *u1, RealVector *d1, RealVector *l1, RealVector *l2) |
int | size () const |
int | getWidth () const |
int | getHeight () const |
RealVector * | getUvalues (int idiag) |
RealVector * | getDvalues () |
RealVector * | getLvalues (int idiag) |
void | set0 (int i, int j, double value) |
double | get0 (int i, int j) const |
void | setD0 (int i, double value) |
double | getD0 (int i) const |
void | setU0 (int idiag, int i, double value) |
double | getU0 (int idiag, int i) const |
void | setL0 (int idiag, int i, double value) |
double | getL0 (int idiag, int i) const |
void | set (int i, int j, double value) |
double | get (int i, int j) const |
void | setD (int i, double value) |
double | getD (int i) const |
void | setU (int idiag, int i, double value) |
double | getU (int idiag, int i) const |
void | setL (int idiag, int i, double value) |
double | getL (int idiag, int i) const |
double | det () |
double | trace () |
double | norme2 () |
double | sum () |
double | minimum () |
double | maximum () |
double | mean () |
double | sigma () |
void | operator+= (double value) |
void | operator-= (double value) |
void | operator *= (double value) |
void | operator/= (double value) |
void | operator+= (const RPentaDiagonalMatrix &m) |
void | operator-= (const RPentaDiagonalMatrix &m) |
void | output () |
void | output (FILE *file) |
Public Attributes | |
RPentaDiagonalMatrix | t () |
Private Attributes | |
int | N |
int | order |
RealVector ** | up |
RealVector * | d |
RealVector ** | low |
Friends | |
RealVectorT | operator * (const RealVectorT &vt, const RPentaDiagonalMatrix &m) |
RealVector | operator * (const RPentaDiagonalMatrix &m, const RealVector &v) |