ug4
MatrixTwoIndices< I, D, type, type > Class Template Reference

#include <support.h>

Public Member Functions

 MatrixTwoIndices ()
 
 MatrixTwoIndices (I _x_degree_, I _y_degree_, D defVal=0)
 
D & operator() (I i, I j)
 
D const operator() (I i, I j) const
 

Private Attributes

std::vector< D > values
 
x_degree
 
y_degree
 

Constructor & Destructor Documentation

◆ MatrixTwoIndices() [1/2]

template<typename I , typename D , typename std::enable_if< std::is_integral< I >::value, int >::type = 0, typename std::enable_if< std::is_arithmetic< D >::value, int >::type = 0>
MatrixTwoIndices< I, D, type, type >::MatrixTwoIndices ( )
inline

◆ MatrixTwoIndices() [2/2]

template<typename I , typename D , typename std::enable_if< std::is_integral< I >::value, int >::type = 0, typename std::enable_if< std::is_arithmetic< D >::value, int >::type = 0>
MatrixTwoIndices< I, D, type, type >::MatrixTwoIndices ( _x_degree_,
_y_degree_,
defVal = 0 
)
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename I , typename D , typename std::enable_if< std::is_integral< I >::value, int >::type = 0, typename std::enable_if< std::is_arithmetic< D >::value, int >::type = 0>
D& MatrixTwoIndices< I, D, type, type >::operator() ( i,
j 
)
inline

◆ operator()() [2/2]

template<typename I , typename D , typename std::enable_if< std::is_integral< I >::value, int >::type = 0, typename std::enable_if< std::is_arithmetic< D >::value, int >::type = 0>
D const MatrixTwoIndices< I, D, type, type >::operator() ( i,
j 
) const
inline

Member Data Documentation

◆ values

template<typename I , typename D , typename std::enable_if< std::is_integral< I >::value, int >::type = 0, typename std::enable_if< std::is_arithmetic< D >::value, int >::type = 0>
std::vector<D> MatrixTwoIndices< I, D, type, type >::values
private

◆ x_degree

template<typename I , typename D , typename std::enable_if< std::is_integral< I >::value, int >::type = 0, typename std::enable_if< std::is_arithmetic< D >::value, int >::type = 0>
I MatrixTwoIndices< I, D, type, type >::x_degree
private

◆ y_degree

template<typename I , typename D , typename std::enable_if< std::is_integral< I >::value, int >::type = 0, typename std::enable_if< std::is_arithmetic< D >::value, int >::type = 0>
I MatrixTwoIndices< I, D, type, type >::y_degree
private

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