Stokhos
Development
|
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 ¶ms) |
Static Public Attributes | |
static const int | block_size = BlockSize |
Sparse product tensor with replicated entries to provide subsets with a given coordinate.