Sparse product tensor with replicated entries to provide subsets with a given coordinate.
More...
#include <Stokhos_FlatSparse3Tensor.hpp>
|
|
typedef ExecutionSpace | execution_space |
|
typedef execution_space::size_type | size_type |
|
typedef ValueType | value_type |
|
|
| FlatSparse3Tensor (const FlatSparse3Tensor &rhs) |
|
FlatSparse3Tensor & | operator= (const FlatSparse3Tensor &rhs) |
|
KOKKOS_INLINE_FUNCTION size_type | dimension () const |
| | Dimension of the tensor.
|
|
KOKKOS_INLINE_FUNCTION size_type | entry_count () const |
| | Number of sparse entries.
|
|
KOKKOS_INLINE_FUNCTION size_type | k_begin (size_type i) const |
| | Begin k entries with a coordinate 'i'.
|
|
KOKKOS_INLINE_FUNCTION size_type | k_end (size_type i) const |
| | End k entries with a coordinate 'i'.
|
|
KOKKOS_INLINE_FUNCTION size_type | num_k (size_type i) const |
| | Number of k entries with a coordinate 'i'.
|
|
KOKKOS_INLINE_FUNCTION const size_type & | k_coord (const size_type kEntry) const |
| | k coordinate for k entry 'kEntry'
|
|
KOKKOS_INLINE_FUNCTION size_type | j_begin (size_type kEntry) const |
| | Begin j entries with a k entry 'kEntry'.
|
|
KOKKOS_INLINE_FUNCTION size_type | j_end (size_type kEntry) const |
| | End j entries with a k entry 'kEntry'.
|
|
KOKKOS_INLINE_FUNCTION size_type | num_j (size_type kEntry) const |
| | Number of j entries with a k entry 'kEntry'.
|
|
KOKKOS_INLINE_FUNCTION const size_type & | j_coord (const size_type jEntry) const |
| | j coordinate for j entry 'jEntry'
|
|
KOKKOS_INLINE_FUNCTION const value_type & | value (const size_type jEntry) const |
| | Value for j entry 'jEntry'.
|
|
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.
|
|
|
template<typename OrdinalType> |
| static FlatSparse3Tensor | create (const Stokhos::ProductBasis< OrdinalType, ValueType > &basis, const Stokhos::Sparse3Tensor< OrdinalType, ValueType > &Cijk, const Teuchos::ParameterList ¶ms=Teuchos::ParameterList()) |
template<typename ValueType, class ExecutionSpace>
class Stokhos::FlatSparse3Tensor< ValueType, ExecutionSpace >
Sparse product tensor with replicated entries to provide subsets with a given coordinate.
The documentation for this class was generated from the following file:
- Stokhos_FlatSparse3Tensor.hpp