#include <BFTriDiag3_1.hpp>
Collaboration diagram for BFTriDiag3_1:
Purpose: Define the Block TriDiagonal Matrix or penta band Used to linearize differencial equations,....
Public Methods | |
BFTriDiag3_1 (int asize, int nsub) | |
BFTriDiag3_1 (int asize, int nsub, float value) | |
BFTriDiag3_1 (int asize, int nsub, float lval, float dval, float uval) | |
BFTriDiag3_1 (const BFTriDiag3_1 &v) | |
BFTriDiag3_1 | operator= (const BFTriDiag3_1 &v) |
~BFTriDiag3_1 () | |
int | getWidth () |
int | getHeight () |
int | getItemWidth () |
int | getItemHeight () |
int | getBlockWidth () |
int | getBlockHeight () |
int | size () const |
FDiagonalMatrix ** | getUblocks () |
FTriDiagonalMatrix ** | getDblocks () |
FDiagonalMatrix ** | getLblocks () |
void | setBlockD0 (int i, FTriDiagonalMatrix *value) |
FTriDiagonalMatrix * | getBlockD0 (int i) const |
void | setBlockU0 (int i, FDiagonalMatrix *value) |
FDiagonalMatrix * | getBlockU0 (int i) const |
void | setBlockL0 (int i, FDiagonalMatrix *value) |
FDiagonalMatrix * | getBlockL0 (int i) const |
void | set0 (int i, int j, float value) |
float | get0 (int i, int j) const |
void | setBlockD (int i, FTriDiagonalMatrix *value) |
FTriDiagonalMatrix * | getBlockD (int i) const |
void | setBlockU (int i, FDiagonalMatrix *value) |
FDiagonalMatrix * | getBlockU (int i) const |
void | setBlockL (int i, FDiagonalMatrix *value) |
FDiagonalMatrix * | 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 |
FDiagonalMatrix ** | up |
FTriDiagonalMatrix ** | d |
FDiagonalMatrix ** | low |
Friends | |
FloatVectorT | operator * (const FloatVectorT &vt, const FTriDiagonalMatrix &m) |
FloatVector | operator * (const FTriDiagonalMatrix &m, const FloatVector &v) |