Stokhos
Development
|
An anisotropic total order index set. More...
#include <Stokhos_ProductBasisUtils.hpp>
Classes | |
class | Iterator |
Iterator class for iterating over elements of the index set. More... | |
Public Types | |
typedef ordinal_t | ordinal_type |
typedef MultiIndex< ordinal_type > | multiindex_type |
typedef Iterator | iterator |
typedef Iterator | const_iterator |
Public Member Functions | |
AnisotropicTotalOrderIndexSet (ordinal_type upper_order_, const multiindex_type &lower_, const multiindex_type &upper_) | |
Constructor. More... | |
AnisotropicTotalOrderIndexSet (ordinal_type upper_order_, const multiindex_type &upper_) | |
Constructor. More... | |
ordinal_type | dimension () const |
Return dimension. | |
multiindex_type | max_orders () const |
Return maximum order for each dimension. | |
const_iterator | begin () const |
Return iterator for first element in the set. | |
const_iterator | end () const |
Return iterator for end of the index set. | |
Protected Attributes | |
ordinal_type | dim |
Dimension. | |
ordinal_type | lower_order |
Lower order of index set. | |
ordinal_type | upper_order |
Upper order of index set. | |
multiindex_type | lower |
Component-wise lower bounds. | |
multiindex_type | upper |
Component-wise upper bounds. | |
An anisotropic total order index set.
Represents the set l <= |i| <= u and i_j <= u_j given upper and lower order bounds l and u, upper component bounds u_j, and |i| = i_1 + ... + i_d where d is the dimension of the index.
Currently this class only really provides an input iterator for iterating over the elements of the index set. One should not make any assumption on the order of these elements.
|
inline |
Constructor.
dim_
is the dimension of the index set, lower_
is the lower bound of the index set, and upper_
is the upper bound (inclusive)
|
inline |
Constructor.
dim_
is the dimension of the index set, the lower bound is zero, and upper_
is the upper bound (inclusive)