ColumnMajor Class Reference

#include <matgen.h>

Inheritance diagram for ColumnMajor:

Inheritance graph
[legend]
Collaboration diagram for ColumnMajor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ColumnMajor ()
 ColumnMajor (unsigned rows, unsigned cols)
unsigned coordToOffset (unsigned i, unsigned j) const
template<typename T_numtype>
T_numtype get (const T_numtype *restrict data, unsigned i, unsigned j) const
template<typename T_numtype>
T_numtype & get (T_numtype *restrict data, unsigned i, unsigned j)


Constructor & Destructor Documentation

ColumnMajor::ColumnMajor (  )  [inline]

ColumnMajor::ColumnMajor ( unsigned  rows,
unsigned  cols 
) [inline]


Member Function Documentation

unsigned ColumnMajor::coordToOffset ( unsigned  i,
unsigned  j 
) const [inline]

References AsymmetricMatrix::rows_.

Referenced by get().

template<typename T_numtype>
T_numtype ColumnMajor::get ( const T_numtype *restrict  data,
unsigned  i,
unsigned  j 
) const [inline]

template<typename T_numtype>
T_numtype& ColumnMajor::get ( T_numtype *restrict  data,
unsigned  i,
unsigned  j 
) [inline]


The documentation for this class was generated from the following file:

Generated on Mon Mar 17 18:08:12 2008 for blitz by  doxygen 1.5.5