#include <AbsFTriDiagonalLS.hpp>
Inheritance diagram for AbsFTriDiagonalLS:
Purpose: Define the concept of Optimized Tri Diagonal Linear Solver Used to solve a set of linearized differencial equations,.... Some restoration are of the style: A * iNew = iOld iNew could be X, and iOld could be b. Basic Memory Usage: 5*N
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
AbsFTriDiagonalLS (int asize) | |
virtual | ~AbsFTriDiagonalLS () |
virtual void | loadA (FTriDiagonalMatrix *m) |
virtual void | loadMatrix (FloatVector *u1, FloatVector *d1, FloatVector *l1) |
virtual void | loadX (FloatVector *data) |
virtual void | loadB (FloatVector *data) |
virtual int | size () |
virtual int | getWidth () |
virtual int | getHeight () |
virtual FloatVector * | getX () |
virtual FloatVector * | getB () |
virtual FTriDiagonalMatrix * | getA () |
virtual bool | solve ()=0 |
virtual bool | solve (FloatVector *aX, FloatVector *aB) |
virtual bool | solve (FTriDiagonalMatrix *aA, FloatVector *aX, FloatVector *aB) |
virtual FloatVector * | evaluate (FloatVector *aX, FloatVector *aB) |
virtual FloatVector * | evaluate (FTriDiagonalMatrix *aA, FloatVector *aX, FloatVector *aB) |
virtual void | output () |
virtual void | output (FILE *file) |
Protected Attributes | |
int | N |
FTriDiagonalMatrix * | A |
FloatVector * | x |
FloatVector * | b |