#include <BFloatSMatrix.hpp>
Collaboration diagram for BFloatSMatrix:
Purpose: Define the concept of Symmetric Matrix,....
@ Copyrights: Bernard De Cuyper 2004, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
BFloatSMatrix (int n, int nsub) | |
BFloatSMatrix (int n, int nsub, float value) | |
BFloatSMatrix (int n, AFSymMatrix &m) | |
BFloatSMatrix (const BFloatSMatrix &bm) | |
BFloatSMatrix | operator= (const BFloatSMatrix &bm) |
~BFloatSMatrix () | |
BFloatSMatrix * | copy () |
int | getWidth () |
int | getHeight () |
int | getItemWidth () |
int | getItemHeight () |
int | getBlockWidth () |
int | getBlockHeight () |
int | size () |
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) |
void | set0 (int i, int j, float value) |
float | get0 (int i, int j) |
void | set (int i, int j, float value) |
float | get (int i, int j) |
void | setAll (float value=0.0) |
void | setAll (AFSymMatrix &m) |
float | det () |
float | trace () |
float | norme2 () |
float | sum () |
float | minimum () |
float | maximum () |
float | mean () |
float | sigma () |
void | operator+= (float value) |
void | operator-= (float value) |
void | operator *= (float value) |
void | operator/= (float value) |
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, 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) |
Private Attributes | |
int | width |
int | totalWidth |
int | widthSubMatrix |
AFSymMatrix ** | p1 |
AFSymMatrix *** | data |