Psi4
Public Member Functions | Public Attributes | List of all members
psi::FiveIndex< T > Struct Template Reference

Templated skeleton five index array for convenience. More...

#include <multiarr.h>

Public Member Functions

T & operator() (int i, int j, int k, int l, int m)
 
operator() (int i, int j, int k, int l, int m) const
 
 FiveIndex ()
 
 FiveIndex (int dim1, int dim2, int dim3, int dim4, int dim5)
 
 FiveIndex (const FiveIndex< T > &other)
 

Public Attributes

int dims [5]
 
std::vector< T > data
 

Detailed Description

template<typename T>
struct psi::FiveIndex< T >

Templated skeleton five index array for convenience.

Constructor & Destructor Documentation

template<typename T>
psi::FiveIndex< T >::FiveIndex ( )
inline
template<typename T>
psi::FiveIndex< T >::FiveIndex ( int  dim1,
int  dim2,
int  dim3,
int  dim4,
int  dim5 
)
inline
template<typename T>
psi::FiveIndex< T >::FiveIndex ( const FiveIndex< T > &  other)
inline

Member Function Documentation

template<typename T>
T& psi::FiveIndex< T >::operator() ( int  i,
int  j,
int  k,
int  l,
int  m 
)
inline
template<typename T>
T psi::FiveIndex< T >::operator() ( int  i,
int  j,
int  k,
int  l,
int  m 
) const
inline

Member Data Documentation

template<typename T>
std::vector<T> psi::FiveIndex< T >::data
template<typename T>
int psi::FiveIndex< T >::dims[5]

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