#include <BFDiagonalMatrix.hpp>
Collaboration diagram for BFDiagonalMatrix:
Purpose: Define the concept of Block Diagonal Matrix Used to linearize differencial equations,....
@ Copyrights: Bernard De Cuyper 2004, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
BFDiagonalMatrix (int asize, int nsub) | |
BFDiagonalMatrix (int asize, int nsub, float value) | |
BFDiagonalMatrix (const BFDiagonalMatrix &v) | |
BFDiagonalMatrix | operator= (const BFDiagonalMatrix &v) |
~BFDiagonalMatrix () | |
int | getWidth () |
int | getHeight () |
int | getItemWidth () |
int | getItemHeight () |
int | getBlockWidth () |
int | getBlockHeight () |
int | size () const |
AFSymMatrix ** | getDblocks () |
void | setBlock0 (int i, AFSymMatrix *value) |
AFSymMatrix * | getBlock0 (int i) const |
void | setBlock (int i, AFSymMatrix *value) |
AFSymMatrix * | getBlock (int i) const |
void | set0 (int i, int j, float value) |
float | get0 (int i, int j) 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 ** | d |