Stokhos
Development
|
Container storing a term in a generalized tensor product. More...
#include <Stokhos_ProductBasisUtils.hpp>
Public Types | |
typedef ordinal_t | ordinal_type |
typedef element_t | element_type |
Public Member Functions | |
TensorProductElement () | |
Default constructor. | |
TensorProductElement (ordinal_type dim, const element_type &val=element_type(0)) | |
Constructor. | |
~TensorProductElement () | |
Destructor. | |
ordinal_type | dimension () const |
Return dimension. | |
ordinal_type | size () const |
Return dimension. | |
const element_type & | operator[] (ordinal_type i) const |
Term access. | |
element_type & | operator[] (ordinal_type i) |
Term access. | |
const Teuchos::Array < element_type > & | getTerm () const |
Term access. | |
Teuchos::Array< element_type > & | getTerm () |
Term access. | |
operator Teuchos::ArrayView< element_type > () | |
Convert to ArrayView. | |
operator Teuchos::ArrayView< const element_type > () const | |
Convert to ArrayView. | |
element_type | order () const |
Compute total order of tensor product element. | |
std::ostream & | print (std::ostream &os) const |
Print multiindex. | |
Protected Attributes | |
Teuchos::Array< element_type > | term |
Array storing term elements. | |
Container storing a term in a generalized tensor product.