#include <RTriDiagonalMatrix.hpp>
Collaboration diagram for RTriDiagonalMatrix:
Purpose: Define the concept of Tri Diagonal Matrix Used to linearize differencial equations,....
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
RTriDiagonalMatrix (int asize) | |
RTriDiagonalMatrix (const RTriDiagonalMatrix &v) | |
RTriDiagonalMatrix | operator= (const RTriDiagonalMatrix &v) |
~RTriDiagonalMatrix () | |
void | load (RTriDiagonalMatrix *m) |
void | load (RealVector *u1, RealVector *d1, RealVector *l1) |
int | size () const |
int | getWidth () const |
int | getHeight () const |
RealVector * | getUvalues () |
RealVector * | getDvalues () |
RealVector * | getLvalues () |
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 i, double value) |
double | getU0 (int i) const |
void | setL0 (int i, double value) |
double | getL0 (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 i, double value) |
double | getU (int i) const |
void | setL (int i, double value) |
double | getL (int i) const |
double | det () |
double | trace () |
double | norme2 () |
double | sum () |
double | minimum () |
double | maximum () |
double | mean () |
double | sigma () |
RTriDiagonalMatrix | pow (double pow) |
RTriDiagonalMatrix | log (double base) |
void | operator+= (double value) |
void | operator-= (double value) |
void | operator *= (double value) |
void | operator/= (double value) |
void | operator+= (const RTriDiagonalMatrix &m) |
void | operator-= (const RTriDiagonalMatrix &m) |
void | output () |
void | output (FILE *file) |
Public Attributes | |
RTriDiagonalMatrix | t () |
RTriDiagonalMatrix | sqrt () |
RTriDiagonalMatrix | sqr () |
RTriDiagonalMatrix | exp () |
RTriDiagonalMatrix | log () |
RTriDiagonalMatrix | sin () |
RTriDiagonalMatrix | cos () |
RTriDiagonalMatrix | tan () |
Private Attributes | |
int | N |
RealVector * | up |
RealVector * | d |
RealVector * | low |
Friends | |
RealVectorT | operator * (const RealVectorT &vt, const RTriDiagonalMatrix &m) |
RealVector | operator * (const RTriDiagonalMatrix &m, const RealVector &v) |