MFEM  v3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Friends | List of all members
mfem::Array2D< T > Class Template Reference

#include <array.hpp>

Public Member Functions

 Array2D ()
 
 Array2D (int m, int n)
 
void SetSize (int m, int n)
 
int NumRows () const
 
int NumCols () const
 
const T & operator() (int i, int j) const
 
T & operator() (int i, int j)
 
const T * operator[] (int i) const
 
T * operator[] (int i)
 
const T * operator() (int i) const
 
T * operator() (int i)
 
const T * GetRow (int i) const
 
T * GetRow (int i)
 
void Copy (Array2D &copy) const
 
void operator= (const T &a)
 
void MakeRef (const Array2D &master)
 Make this Array a reference to 'master'. More...
 

Friends

void Swap (Array2D< T > &, Array2D< T > &)
 

Detailed Description

template<class T>
class mfem::Array2D< T >

Definition at line 208 of file array.hpp.

Constructor & Destructor Documentation

template<class T>
mfem::Array2D< T >::Array2D ( )
inline

Definition at line 223 of file array.hpp.

template<class T>
mfem::Array2D< T >::Array2D ( int  m,
int  n 
)
inline

Definition at line 224 of file array.hpp.

Member Function Documentation

template<class T>
void mfem::Array2D< T >::Copy ( Array2D< T > &  copy) const
inline

Definition at line 243 of file array.hpp.

template<class T>
const T* mfem::Array2D< T >::GetRow ( int  i) const
inline

Definition at line 240 of file array.hpp.

template<class T>
T* mfem::Array2D< T >::GetRow ( int  i)
inline

Definition at line 241 of file array.hpp.

template<class T>
void mfem::Array2D< T >::MakeRef ( const Array2D< T > &  master)
inline

Make this Array a reference to 'master'.

Definition at line 250 of file array.hpp.

template<class T>
int mfem::Array2D< T >::NumCols ( ) const
inline

Definition at line 229 of file array.hpp.

template<class T>
int mfem::Array2D< T >::NumRows ( ) const
inline

Definition at line 228 of file array.hpp.

template<class T >
const T & mfem::Array2D< T >::operator() ( int  i,
int  j 
) const
inline

Definition at line 459 of file array.hpp.

template<class T >
T & mfem::Array2D< T >::operator() ( int  i,
int  j 
)
inline

Definition at line 469 of file array.hpp.

template<class T>
const T* mfem::Array2D< T >::operator() ( int  i) const
inline

Definition at line 237 of file array.hpp.

template<class T>
T* mfem::Array2D< T >::operator() ( int  i)
inline

Definition at line 238 of file array.hpp.

template<class T>
void mfem::Array2D< T >::operator= ( const T &  a)
inline

Definition at line 246 of file array.hpp.

template<class T >
const T * mfem::Array2D< T >::operator[] ( int  i) const
inline

Definition at line 479 of file array.hpp.

template<class T >
T * mfem::Array2D< T >::operator[] ( int  i)
inline

Definition at line 488 of file array.hpp.

template<class T>
void mfem::Array2D< T >::SetSize ( int  m,
int  n 
)
inline

Definition at line 226 of file array.hpp.

Friends And Related Function Documentation

template<class T>
void Swap ( Array2D< T > &  a,
Array2D< T > &  b 
)
friend

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