Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

matrixSD.h File Reference

#include "matrix.h"

Go to the source code of this file.

Compounds

class  MatrixSD

Defines

#define MAT_CS(M,NR,I,J)    (M[((J)*(2*(NR)-(J)+1)/2)+(I)-(J)])
 Direct access for column oriented full storage matrices. More...

#define REF_CS(A,I,J)    MAT_CS(((A).D)->m,((A).D)->nrow,I,J)
#define THIS_CS(I,J)    REF_CS(*this,I,J)


Define Documentation

#define MAT_CS( M, NR, I, J )   (M[((J)*(2*(NR)-(J)+1)/2)+(I)-(J)])
 

Direct access for column oriented full storage matrices.

The first macro can be used for fast access in functions that have direct access to the matrix content. This should only be used when aggressive optimization is mandatory. The second and third macro can only be used in class members.

#define REF_CS( A, I, J )   MAT_CS(((A).D)->m,((A).D)->nrow,I,J)
 

#define THIS_CS( I, J )   REF_CS(*this,I,J)
 


Generated at Wed Nov 22 08:38:29 2000 for LinAl - a simple and efficient Matrix library - by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000