#include <FDiagonalMatrix.hpp>
Inheritance diagram for FDiagonalMatrix:
Purpose: Define the concept of Diagonal Matrix Used to linearize differencial equations,....
Public Methods | |
FDiagonalMatrix (int asize, float val=0.0) | |
FDiagonalMatrix (const FDiagonalMatrix &v) | |
FDiagonalMatrix | operator= (const FDiagonalMatrix &v) |
virtual | ~FDiagonalMatrix () |
virtual AFloatMatrix * | copy () |
virtual AFloatMatrix * | t (AFloatMatrix *result=0) |
virtual FloatVector * | solve (FloatVector *b, FloatVector *x=0) |
virtual AFSymMatrix * | invert () |
void | load (FDiagonalMatrix *m) |
void | load (FloatVector *d1) |
virtual int | size () const |
FloatVector * | getDvalues () |
virtual void | set0 (int i, int j, float value) |
virtual float | get0 (int i, int j) |
void | setD0 (int i, float value) |
float | getD0 (int i) const |
virtual void | set (int i, int j, float value) |
virtual float | get (int i, int j) |
void | setD (int i, float value) |
float | getD (int i) const |
virtual void | setAll (float value=0.0) |
virtual float | det () |
virtual float | trace () |
virtual float | norme2 () |
virtual float | sum () |
virtual float | minimum () |
virtual float | maximum () |
virtual float | sigma () |
void | operator *= (float value) |
void | operator/= (float value) |
virtual void | add (float value) |
virtual void | subst (float value) |
virtual void | mult (float value) |
virtual void | div (float value) |
void | operator+= (const FDiagonalMatrix &m) |
void | operator-= (const FDiagonalMatrix &m) |
virtual void | add (AFloatMatrix &m) |
virtual void | subst (AFloatMatrix &m) |
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, bool incremental=false, FloatVector *result=0) |
FloatVector * | mult_ATv (FloatVector *v, int col0, int row0, bool incremental=false, FloatVector *result=0) |
FloatVector * | mult_vA (FloatVector *v, int row0, int col0, bool incremental=false, FloatVector *result=0) |
FloatVector * | mult_vAT (FloatVector *vt, int row0, int col0, bool incremental=false, FloatVector *result=0) |
virtual void | output () |
virtual void | output (FILE *file) |
Private Attributes | |
int | N |
FloatVector * | d |
Friends | |
FloatVectorT | operator * (const FloatVectorT &vt, const FDiagonalMatrix &m) |
FloatVector | operator * (const FDiagonalMatrix &m, const FloatVector &v) |