#include <AbsCTriDiagonalLS.hpp>
Inheritance diagram for AbsCTriDiagonalLS:
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 Used to extend Gilboa's idea to AOS solvers.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2003, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
AbsCTriDiagonalLS (int asize) | |
virtual | ~AbsCTriDiagonalLS () |
virtual void | initFreezing (int val=0) |
virtual void | freeze (int item, int val=0) |
virtual void | loadA (CTriDiagonalMatrix *m) |
virtual void | loadMatrix (CVector *u1, CVector *d1, CVector *l1) |
virtual void | loadX (CVector *data) |
virtual void | loadB (CVector *data) |
virtual int | size () |
virtual int | getWidth () |
virtual int | getHeight () |
virtual CVector * | getX () |
virtual CVector * | getB () |
virtual CTriDiagonalMatrix * | getA () |
virtual bool | solve ()=0 |
virtual bool | solve (CVector *aX, CVector *aB) |
virtual bool | solve (CTriDiagonalMatrix *aA, CVector *aX, CVector *aB) |
virtual CVector * | evaluate (CVector *aX, CVector *aB) |
virtual CVector * | evaluate (CTriDiagonalMatrix *aA, CVector *aX, CVector *aB) |
virtual void | output () |
virtual void | output (FILE *file) |
Protected Attributes | |
int | N |
CTriDiagonalMatrix * | A |
CVector * | x |
CVector * | b |