#include <Sp3FloatSMatrix.hpp>
Inheritance diagram for Sp3FloatSMatrix:
Purpose: Define the concept of Random Spared Symmetric Matrix,....
Public Methods | |
Sp3FloatSMatrix (int w, int nmax) | |
Sp3FloatSMatrix (const Sp3FloatSMatrix &m) | |
Sp3FloatSMatrix | operator= (const Sp3FloatSMatrix &m) |
virtual | ~Sp3FloatSMatrix () |
virtual AFloatMatrix * | copy () |
virtual AFloatMatrix * | t (AFloatMatrix *result=0) |
virtual int | numberOfItems () |
virtual int | getMaxItems () |
virtual void | addItem (int x, int y, float value=0) |
virtual bool | getItem (int index, int *x, int *y, float *value) |
virtual bool | setItem (int index, float value) |
virtual void | set0 (int i, int j, float value) |
virtual float | get0 (int i, int j) |
virtual void | set (int i, int j, float value) |
virtual float | get (int i, int j) |
virtual void | setAll (float value=0.0) |
virtual float | det () |
virtual float | trace () |
virtual float | norme2 () |
virtual float | sum () |
virtual float | sum2 () |
virtual float | sigma () |
virtual float | minimum () |
virtual float | maximum () |
void | operator+= (float value) |
void | operator-= (float value) |
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) |
virtual void | add (AFloatMatrix &m) |
virtual void | subst (AFloatMatrix &m) |
virtual FloatVector * | mult_Av (FloatVector *v, FloatVector *result=0) |
virtual FloatVector * | mult_ATv (FloatVector *v, FloatVector *result=0) |
virtual FloatVector * | mult_vA (FloatVector *v, FloatVector *result=0) |
virtual 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 AFloatMatrix * | ilu0 () |
virtual AFloatMatrix * | iluth (double threshold=0.001) |
virtual void | output () |
Protected Attributes | |
int | nItems |
int | maxItems |
int * | ia |
int * | ja |
float * | data |