Stokhos Development
Public Types | Public Member Functions | Protected Attributes
Stokhos::TensorProductElement< ordinal_t, element_t > Class Template Reference

Container storing a term in a generalized tensor product. More...

#include <Stokhos_ProductBasisUtils.hpp>

List of all members.

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))
 ~TensorProductElement ()
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.

Detailed Description

template<typename ordinal_t, typename element_t>
class Stokhos::TensorProductElement< ordinal_t, element_t >

Container storing a term in a generalized tensor product.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator