Stokhos Development
Loading...
Searching...
No Matches
Stokhos::LinearSparse3Tensor< ValueType, ExecutionSpace, 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 ExecutionSpace execution_space
typedef execution_space::size_type size_type
typedef ValueType value_type

Public Member Functions

 LinearSparse3Tensor (const LinearSparse3Tensor &rhs)
LinearSparse3Tensor & operator= (const LinearSparse3Tensor &rhs)
KOKKOS_INLINE_FUNCTION size_type dimension () const
 Dimension of the tensor.
KOKKOS_INLINE_FUNCTION size_type aligned_dimension () const
 Dimension of the tensor.
KOKKOS_INLINE_FUNCTION size_type entry_count () const
 Number of sparse entries.
KOKKOS_INLINE_FUNCTION bool symmetric () const
 Is tensor built from symmetric PDFs.
KOKKOS_INLINE_FUNCTION const value_type & value (const size_type entry) const
 Value for entry 'entry'.
KOKKOS_INLINE_FUNCTION size_type num_non_zeros () const
 Number of non-zero's.
KOKKOS_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 ExecutionSpace, int BlockSize>
class Stokhos::LinearSparse3Tensor< ValueType, ExecutionSpace, 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: