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

matrixBD.h File Reference

#include "matrix.h"

Go to the source code of this file.

Compounds

class  MatrixBD

Defines

#define MAT_CB(M,NR,I,J,KU)    (M[(J)*((NR)-1)+(I)+(KU)])
 Direct access for column oriented, general, banded matrices. More...

#define REF_CB(A,I,J)    MAT_CB(((A).D)->m,((A).D)->nrow,I,J,((A).D)->ku)
#define THIS_CB(I,J)    REF_CB(*this,I,J)


Define Documentation

#define MAT_CB( M, NR, I, J, KU )   (M[(J)*((NR)-1)+(I)+(KU)])
 

Direct access for column oriented, general, banded 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 optimization is necessary. The second and third macro can only be used in class members.

#define REF_CB( A, I, J )   MAT_CB(((A).D)->m,((A).D)->nrow,I,J,((A).D)->ku)
 

#define THIS_CB( I, J )   REF_CB(*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