|
|
| MultiIndex () |
| | Constructor.
|
|
| MultiIndex (ordinal_type dim, ordinal_type v=ordinal_type(0)) |
| | Constructor.
|
|
| ~MultiIndex () |
| | Destructor.
|
| ordinal_type | dimension () const |
| | Dimension.
|
| ordinal_type | size () const |
| | Size.
|
|
const ordinal_type & | operator[] (ordinal_type i) const |
| | Term access.
|
|
ordinal_type & | operator[] (ordinal_type i) |
| | Term access.
|
|
const Teuchos::Array< element_type > & | getTerm () const |
| | Term access.
|
|
Teuchos::Array< element_type > & | getTerm () |
| | Term access.
|
|
void | init (ordinal_type v) |
| | Initialize.
|
|
void | resize (ordinal_type d, ordinal_type v=ordinal_type(0)) |
| | Resize.
|
|
ordinal_type | order () const |
| | Compute total order of index.
|
|
bool | operator== (const MultiIndex &idx) const |
| | Compare equality.
|
|
bool | operator!= (const MultiIndex &idx) const |
| | Compare equality.
|
|
bool | termWiseLEQ (const MultiIndex &idx) const |
| | Compare term-wise less-than or equal-to.
|
|
std::ostream & | print (std::ostream &os) const |
| | Print multiindex.
|
|
MultiIndex & | termWiseMin (const MultiIndex &idx) |
| | Replace multiindex with min of this and other multiindex.
|
|
MultiIndex & | termWiseMin (const ordinal_type idx) |
| | Replace multiindex with min of this and given value.
|
|
MultiIndex & | termWiseMax (const MultiIndex &idx) |
| | Replace multiindex with max of this and other multiindex.
|
|
MultiIndex & | termWiseMax (const ordinal_type idx) |
| | Replace multiindex with max of this and given value.
|
template<typename ordinal_t>
class Stokhos::MultiIndex< ordinal_t >
A multidimensional index.