CrystMatrix< T > Class Template Reference
2D Vector library (Blitz++ mimic) for ObjCryst++
More...
Collaboration diagram for CrystMatrix< T >:
[legend]List of all members.
Detailed Description
template<class T>
class CrystMatrix< T >
2D Vector library (Blitz++ mimic) for ObjCryst++
The CrystVector library is not a new array computation library, despite the appearances. ObjCryst++ should used the Blitz++ array library , which yields excellent performance and simple array expressions. Unfortunately, the memory required to compile the library using gcc is far too high to be reasonable when using complex expressions and optimizing code. So until this has changed, The CrystVector and CrystMatrix library have been created, and these emulate (supposedly exactly) the Blitz++ interface (but not the smart handling of mathematical expressions, so pointers must be used). For documentation about these two libraries you should read the Blitz++ documentation. CrystVector and CrystMatrix use the same kind of storage in memory.
You can use CrystMatrix_REAL, CrystMatrix_long,etc... to declare 2D vectors. Macros ensure (well, should) ensure compatibility with Blitz++. (as of april 2001 support of blitz++ is broken).
Constructor & Destructor Documentation
Member Function Documentation
template<class T> |
long CrystMatrix< T >::cols |
( |
|
) |
const |
|
template<class T> |
const T* CrystMatrix< T >::data |
( |
|
) |
const |
|
template<class T> |
long CrystMatrix< T >::numElements |
( |
|
) |
const |
|
template<class T> |
void CrystMatrix< T >::operator *= |
( |
const T |
num |
) |
|
|
template<class T> |
T& CrystMatrix< T >::operator() |
( |
const long |
i, |
|
|
const long |
j |
|
) |
|
|
template<class T> |
T& CrystMatrix< T >::operator() |
( |
const long |
i |
) |
|
|
template<class T> |
T CrystMatrix< T >::operator() |
( |
const long |
row, |
|
|
const long |
col |
|
) |
const |
|
template<class T> |
T CrystMatrix< T >::operator() |
( |
const long |
i |
) |
const |
|
template<class T> |
void CrystMatrix< T >::operator+= |
( |
const T |
num |
) |
|
|
template<class T> |
void CrystMatrix< T >::operator-= |
( |
const T |
num |
) |
|
|
template<class T> |
void CrystMatrix< T >::operator/= |
( |
const T |
num |
) |
|
|
template<class T> |
void CrystMatrix< T >::resize |
( |
const long |
ySize, |
|
|
const long |
xSize |
|
) |
|
|
template<class T> |
void CrystMatrix< T >::resizeAndPreserve |
( |
const long |
ySize, |
|
|
const long |
xSize |
|
) |
|
|
template<class T> |
long CrystMatrix< T >::rows |
( |
|
) |
const |
|
Member Data Documentation
The documentation for this class was generated from the following file:
Generated on Tue Nov 14 15:03:38 2006 for ObjCryst++ by
1.3.6