Stokhos  Development
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Stokhos::LinearSparse3Tensor< ValueType, DeviceType, BlockSize > Class Template Reference

Sparse product tensor with replicated entries to provide subsets with a given coordinate. More...

#include <Stokhos_LinearSparse3Tensor.hpp>

Public Types

typedef DeviceType device_type
 
typedef device_type::size_type size_type
 
typedef ValueType value_type
 

Public Member Functions

 LinearSparse3Tensor (const LinearSparse3Tensor &rhs)
 
LinearSparse3Tensor & operator= (const LinearSparse3Tensor &rhs)
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
dimension () const
 Dimension of the tensor.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
aligned_dimension () const
 Dimension of the tensor.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
entry_count () const
 Number of sparse entries.
 
KOKKOSARRAY_INLINE_FUNCTION bool symmetric () const
 Is tensor built from symmetric PDFs.
 
KOKKOSARRAY_INLINE_FUNCTION
const value_type & 
value (const size_type entry) const
 Value for entry 'entry'.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
num_non_zeros () const
 Number of non-zero's.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
num_flops () const
 Number flop's per multiply-add.
 

Static Public Member Functions

template<typename OrdinalType >
static LinearSparse3Tensor create (const Stokhos::ProductBasis< OrdinalType, ValueType > &basis, const Stokhos::Sparse3Tensor< OrdinalType, ValueType > &Cijk, const Teuchos::ParameterList &params)
 

Static Public Attributes

static const int block_size = BlockSize
 

Detailed Description

template<typename ValueType, class DeviceType, int BlockSize>
class Stokhos::LinearSparse3Tensor< ValueType, DeviceType, BlockSize >

Sparse product tensor with replicated entries to provide subsets with a given coordinate.


The documentation for this class was generated from the following file: