|
Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
A multidimensional index. More...
#include <Stokhos_ProductBasisUtils.hpp>

Public Types | |
| typedef ordinal_t | ordinal_type |
| typedef ordinal_t | element_type |
Public Member Functions | |
| MultiIndex () | |
| Constructor. More... | |
| MultiIndex (ordinal_type dim, ordinal_type v=ordinal_type(0)) | |
| Constructor. More... | |
| ~MultiIndex () | |
| Destructor. More... | |
| ordinal_type | dimension () const |
| Dimension. More... | |
| ordinal_type | size () const |
| Size. More... | |
| const ordinal_type & | operator[] (ordinal_type i) const |
| Term access. More... | |
| ordinal_type & | operator[] (ordinal_type i) |
| Term access. More... | |
| const Teuchos::Array < element_type > & | getTerm () const |
| Term access. More... | |
| Teuchos::Array< element_type > & | getTerm () |
| Term access. More... | |
| void | init (ordinal_type v) |
| Initialize. More... | |
| void | resize (ordinal_type d, ordinal_type v=ordinal_type(0)) |
| Resize. More... | |
| ordinal_type | order () const |
| Compute total order of index. More... | |
| bool | operator== (const MultiIndex &idx) const |
| Compare equality. More... | |
| bool | operator!= (const MultiIndex &idx) const |
| Compare equality. More... | |
| bool | termWiseLEQ (const MultiIndex &idx) const |
| Compare term-wise less-than or equal-to. More... | |
| std::ostream & | print (std::ostream &os) const |
| Print multiindex. More... | |
| MultiIndex & | termWiseMin (const MultiIndex &idx) |
| Replace multiindex with min of this and other multiindex. More... | |
| MultiIndex & | termWiseMin (const ordinal_type idx) |
| Replace multiindex with min of this and given value. More... | |
| MultiIndex & | termWiseMax (const MultiIndex &idx) |
| Replace multiindex with max of this and other multiindex. More... | |
| MultiIndex & | termWiseMax (const ordinal_type idx) |
| Replace multiindex with max of this and given value. More... | |
Protected Attributes | |
| Teuchos::Array< ordinal_type > | index |
| index terms More... | |
A multidimensional index.
Definition at line 79 of file Stokhos_ProductBasisUtils.hpp.
| typedef ordinal_t Stokhos::MultiIndex< ordinal_t >::ordinal_type |
Definition at line 82 of file Stokhos_ProductBasisUtils.hpp.
| typedef ordinal_t Stokhos::MultiIndex< ordinal_t >::element_type |
Definition at line 83 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Constructor.
Definition at line 86 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Constructor.
Definition at line 89 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Destructor.
Definition at line 93 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Dimension.
Definition at line 96 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Size.
Definition at line 99 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Term access.
Definition at line 102 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Term access.
Definition at line 105 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Term access.
Definition at line 108 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Term access.
Definition at line 111 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Initialize.
Definition at line 114 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Resize.
Definition at line 120 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Compute total order of index.
Definition at line 125 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Compare equality.
Definition at line 132 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Compare equality.
Definition at line 143 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Compare term-wise less-than or equal-to.
Definition at line 146 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Print multiindex.
Definition at line 155 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Replace multiindex with min of this and other multiindex.
Definition at line 164 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Replace multiindex with min of this and given value.
Definition at line 171 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Replace multiindex with max of this and other multiindex.
Definition at line 178 of file Stokhos_ProductBasisUtils.hpp.
|
inline |
Replace multiindex with max of this and given value.
Definition at line 185 of file Stokhos_ProductBasisUtils.hpp.
|
protected |
index terms
Definition at line 194 of file Stokhos_ProductBasisUtils.hpp.
1.8.5