#include <AbsPentaDiagonalLS.hpp>
Inheritance diagram for AbsPentaDiagonalLS:
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 | |
AbsPentaDiagonalLS (int asize) | |
virtual | ~AbsPentaDiagonalLS () |
virtual void | initFreezing (int val=0) |
virtual void | freeze (int item, int val=0) |
virtual void | loadA (RPentaDiagonalMatrix *m) |
virtual void | loadMatrix (RealVector *u2, RealVector *u1, RealVector *d1, RealVector *l1, RealVector *l2) |
virtual void | loadX (RealVector *data) |
virtual void | loadB (RealVector *data) |
virtual int | size () |
virtual int | getWidth () |
virtual int | getHeight () |
virtual RealVector * | getX () |
virtual RealVector * | getB () |
virtual RPentaDiagonalMatrix * | getA () |
virtual bool | solve ()=0 |
virtual bool | solve (RealVector *aX, RealVector *aB) |
virtual bool | solve (RPentaDiagonalMatrix *aA, RealVector *aX, RealVector *aB) |
virtual RealVector * | evaluate (RealVector *aX, RealVector *aB) |
virtual RealVector * | evaluate (RPentaDiagonalMatrix *aA, RealVector *aX, RealVector *aB) |
virtual void | output () |
virtual void | output (FILE *file) |
Protected Attributes | |
int | order |
int | N |
RPentaDiagonalMatrix * | A |
RealVector * | x |
RealVector * | b |