#include <BFTriDiagonalMatrix.hpp>
Collaboration diagram for BFTriDiagonalMatrix:
Purpose: Define the concept of Block TriDiagonal Matrix Used to linearize differential equations,....
@ Copyrights: Bernard De Cuyper 2004, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
BFTriDiagonalMatrix (int asize, int nsub) | |
BFTriDiagonalMatrix (int asize, int nsub, float value) | |
BFTriDiagonalMatrix (int asize, int nsub, float lval, float dval, float uval) | |
BFTriDiagonalMatrix (const BFTriDiagonalMatrix &v) | |
BFTriDiagonalMatrix | operator= (const BFTriDiagonalMatrix &v) |
~BFTriDiagonalMatrix () | |
int | getWidth () |
int | getHeight () |
int | getItemWidth () |
int | getItemHeight () |
int | getBlockWidth () |
int | getBlockHeight () |
int | size () const |
AFSymMatrix ** | getUblocks () |
AFSymMatrix ** | getDblocks () |
AFSymMatrix ** | getLblocks () |
void | setBlock0 (int i, int j, AFSymMatrix *value) |
AFSymMatrix * | getBlock0 (int i, int j) const |
void | setBlockD0 (int i, AFSymMatrix *value) |
AFSymMatrix * | getBlockD0 (int i) const |
void | setBlockU0 (int i, AFSymMatrix *value) |
AFSymMatrix * | getBlockU0 (int i) const |
void | setBlockL0 (int i, AFSymMatrix *value) |
AFSymMatrix * | getBlockL0 (int i) const |
void | set0 (int i, int j, float value) |
float | get0 (int i, int j) const |
void | setBlock (int i, int j, AFSymMatrix *value) |
AFSymMatrix * | getBlock (int i, int j) const |
void | setBlockD (int i, AFSymMatrix *value) |
AFSymMatrix * | getBlockD (int i) const |
void | setBlockU (int i, AFSymMatrix *value) |
AFSymMatrix * | getBlockU (int i) const |
void | setBlockL (int i, AFSymMatrix *value) |
AFSymMatrix * | getBlockL (int i) const |
void | set (int i, int j, float value) |
float | get (int i, int j) const |
float | det () |
float | trace () |
float | sum () |
float | minimum () |
float | maximum () |
float | mean () |
void | operator+= (float value) |
void | operator-= (float value) |
void | operator *= (float value) |
void | operator/= (float value) |
FloatVector * | mult_Av (FloatVector *v, FloatVector *result=0) |
FloatVector * | mult_ATv (FloatVector *v, FloatVector *result=0) |
FloatVector * | mult_vA (FloatVector *v, FloatVector *result=0) |
FloatVector * | mult_vAT (FloatVector *vt, FloatVector *result=0) |
FloatVector * | mult_Av (FloatVector *v, int col0, int row0, FloatVector *result=0) |
FloatVector * | mult_ATv (FloatVector *v, int col0, int row0, FloatVector *result=0) |
FloatVector * | mult_vA (FloatVector *v, int col0, int row0, FloatVector *result=0) |
FloatVector * | mult_vAT (FloatVector *vt, int col0, int row0, FloatVector *result=0) |
void | output () |
void | output (FILE *file) |
Private Attributes | |
int | N |
int | totalWidth |
int | widthSubMatrix |
AFSymMatrix ** | up |
AFSymMatrix ** | d |
AFSymMatrix ** | low |