| 
    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 47 of file Stokhos_ProductBasisUtils.hpp.
| typedef ordinal_t Stokhos::MultiIndex< ordinal_t >::ordinal_type | 
Definition at line 50 of file Stokhos_ProductBasisUtils.hpp.
| typedef ordinal_t Stokhos::MultiIndex< ordinal_t >::element_type | 
Definition at line 51 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Constructor.
Definition at line 54 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Constructor.
Definition at line 57 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Destructor.
Definition at line 61 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Dimension.
Definition at line 64 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Size.
Definition at line 67 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Term access.
Definition at line 70 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Term access.
Definition at line 73 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Term access.
Definition at line 76 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Term access.
Definition at line 79 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Initialize.
Definition at line 82 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Resize.
Definition at line 88 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Compute total order of index.
Definition at line 93 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Compare equality.
Definition at line 100 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Compare equality.
Definition at line 111 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Compare term-wise less-than or equal-to.
Definition at line 114 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Print multiindex.
Definition at line 123 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Replace multiindex with min of this and other multiindex.
Definition at line 132 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Replace multiindex with min of this and given value.
Definition at line 139 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Replace multiindex with max of this and other multiindex.
Definition at line 146 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  inline | 
Replace multiindex with max of this and given value.
Definition at line 153 of file Stokhos_ProductBasisUtils.hpp.
      
  | 
  protected | 
index terms
Definition at line 162 of file Stokhos_ProductBasisUtils.hpp.
 1.8.5