CMatrix Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]


a simple and fast matrix class More...

#include <../libInvertedFile/include/CMatrix.h>

Inherits: vector>

Public Members

Protected Members


Detailed Description

a simple and fast matrix class


CMatrix(int inSize,float inDiagonal=1)

constructor

void getDiagonal(vector<float>& outDiagonal)

get the diagonal of this

float getOffDiagonalSum()

the sum of off diagonal objects

void symmetrify()

putting the lower triangle into the upper

void transpose()

transpose the matrix: this is useful for having the eigenvectors in the lines of the matrix

void moveLeftUp()

this function is interesting for what we want to do with thismatrix later. We move simply all elements one up, one left. Instead of the elements which were on the righter-lower rim we

int mSize

the size of this matrix


Documentation generated by muellerw@pc7170 on Fre Sep 29 14:43:08 CEST 2000
Kdoc