#include <BSp1FloatSMatrix.hpp>
Collaboration diagram for BSp1FloatSMatrix:
Purpose: Define the concept of Random Block Spared Symmetric Matrix,....
@ Copyrights: Bernard De Cuyper 2004, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
BSp1FloatSMatrix (int w, int nmax) | |
BSp1FloatSMatrix (const BSp1FloatSMatrix &m) | |
BSp1FloatSMatrix | operator= (const BSp1FloatSMatrix &m) |
virtual | ~BSp1FloatSMatrix () |
virtual BSp1FloatSMatrix * | copy () |
int | getWidth () |
int | getHeight () |
int | getItemWidth () |
int | getItemHeight () |
int | getBlockWidth () |
int | getBlockHeight () |
int | size () |
virtual int | numberOfItems () |
virtual int | getMaxItems () |
virtual void | addItem (int x, int y, AFSymMatrix *value=0) |
virtual bool | getItem (int index, int *x, int *y, AFSymMatrix **value) |
virtual bool | setItem (int index, AFSymMatrix *value) |
void | setBlock0 (int i, int j, AFSymMatrix *value) |
AFSymMatrix * | getBlock0 (int i, int j) |
void | setBlock (int i, int j, AFSymMatrix *value) |
AFSymMatrix * | getBlock (int i, int j) |
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 | 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 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, FloatVector *result=0) |
FloatVector * | mult_ATv (FloatVector *v, int col0, int row0, FloatVector *result=0) |
FloatVector * | mult_vA (FloatVector *v, int col0, int row0, FloatVector *result=0) |
FloatVector * | mult_vAT (FloatVector *vt, int col0, int row0, FloatVector *result=0) |
void | output () |
void | output (FILE *file) |
Protected Attributes | |
int | width |
int | totalWidth |
int | widthSubMatrix |
int | nItems |
int | maxItems |
int * | ia |
int * | ja |
AFSymMatrix ** | data |