CHROMA
Public Member Functions | Public Attributes | List of all members
Chroma::LinAlg::VectorArrays< T > Class Template Reference

Hold vectors. More...

#include <containers.h>

Public Member Functions

 VectorArrays ()
 
 VectorArrays (const multi2d< T > &v)
 
 VectorArrays (int size2, int size1)
 
 ~VectorArrays ()
 
void AddVector (const multi1d< T > &v, const Subset &s)
 
void NormalizeAndAddVector (const multi1d< T > &v, const Double &inorm, const Subset &s)
 
void AddOrReplaceVector (const multi1d< T > &v, const Subset &s)
 
void AddVectors (multi2d< T > &v, const Subset &s)
 
void resize (int n2, int n1)
 
int size () const
 
int Nvecs () const
 
int N5d () const
 
multi1d< Toperator[] (int i)
 

Public Attributes

multi2d< Tvec
 
int N
 
int Ls
 

Detailed Description

template<class T>
class Chroma::LinAlg::VectorArrays< T >

Hold vectors.

Definition at line 355 of file containers.h.

Constructor & Destructor Documentation

◆ VectorArrays() [1/3]

template<class T >
Chroma::LinAlg::VectorArrays< T >::VectorArrays ( )
inline

Definition at line 362 of file containers.h.

◆ VectorArrays() [2/3]

template<class T >
Chroma::LinAlg::VectorArrays< T >::VectorArrays ( const multi2d< T > &  v)
inline

Definition at line 363 of file containers.h.

◆ VectorArrays() [3/3]

template<class T >
Chroma::LinAlg::VectorArrays< T >::VectorArrays ( int  size2,
int  size1 
)
inline

Definition at line 364 of file containers.h.

References Chroma::LinAlg::VectorArrays< T >::resize().

◆ ~VectorArrays()

template<class T >
Chroma::LinAlg::VectorArrays< T >::~VectorArrays ( )
inline

Definition at line 366 of file containers.h.

Member Function Documentation

◆ AddOrReplaceVector()

template<class T >
void Chroma::LinAlg::VectorArrays< T >::AddOrReplaceVector ( const multi1d< T > &  v,
const Subset &  s 
)
inline

◆ AddVector()

template<class T >
void Chroma::LinAlg::VectorArrays< T >::AddVector ( const multi1d< T > &  v,
const Subset &  s 
)
inline

◆ AddVectors()

template<class T >
void Chroma::LinAlg::VectorArrays< T >::AddVectors ( multi2d< T > &  v,
const Subset &  s 
)
inline

◆ N5d()

template<class T >
int Chroma::LinAlg::VectorArrays< T >::N5d ( ) const
inline

Definition at line 437 of file containers.h.

References Chroma::LinAlg::VectorArrays< T >::Ls.

◆ NormalizeAndAddVector()

template<class T >
void Chroma::LinAlg::VectorArrays< T >::NormalizeAndAddVector ( const multi1d< T > &  v,
const Double &  inorm,
const Subset &  s 
)
inline

◆ Nvecs()

template<class T >
int Chroma::LinAlg::VectorArrays< T >::Nvecs ( ) const
inline

Definition at line 436 of file containers.h.

References Chroma::LinAlg::VectorArrays< T >::N.

◆ operator[]()

template<class T >
multi1d<T> Chroma::LinAlg::VectorArrays< T >::operator[] ( int  i)
inline

Definition at line 438 of file containers.h.

References Chroma::i, and Chroma::LinAlg::VectorArrays< T >::vec.

◆ resize()

template<class T >
void Chroma::LinAlg::VectorArrays< T >::resize ( int  n2,
int  n1 
)
inline

◆ size()

template<class T >
int Chroma::LinAlg::VectorArrays< T >::size ( void  ) const
inline

Member Data Documentation

◆ Ls

template<class T >
int Chroma::LinAlg::VectorArrays< T >::Ls

◆ N

template<class T >
int Chroma::LinAlg::VectorArrays< T >::N

◆ vec

template<class T >
multi2d<T> Chroma::LinAlg::VectorArrays< T >::vec

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