|
Stokhos Development
|
Sparse product tensor with replicated entries to provide subsets with a given coordinate. More...
#include <Stokhos_FlatSparse3Tensor_kji.hpp>
Public Types | |
| typedef ExecutionSpace | execution_space |
| typedef execution_space::size_type | size_type |
| typedef ValueType | value_type |
Public Member Functions | |
| FlatSparse3Tensor_kji (const FlatSparse3Tensor_kji &rhs) | |
| FlatSparse3Tensor_kji & | operator= (const FlatSparse3Tensor_kji &rhs) |
| KOKKOS_INLINE_FUNCTION size_type | dimension () const |
| Dimension of the tensor. | |
| KOKKOS_INLINE_FUNCTION size_type | num_k () const |
| Number of k entries. | |
| KOKKOS_INLINE_FUNCTION size_type | entry_count () const |
| Number of sparse entries. | |
| KOKKOS_INLINE_FUNCTION size_type | j_begin (size_type k) const |
| Begin j entries with a coordinate 'k'. | |
| KOKKOS_INLINE_FUNCTION size_type | j_end (size_type k) const |
| End j entries with a coordinate 'k'. | |
| KOKKOS_INLINE_FUNCTION size_type | num_j (size_type k) const |
| Number of j entries with a coordinate 'k'. | |
| KOKKOS_INLINE_FUNCTION const size_type & | j_coord (const size_type jEntry) const |
| j coordinate for j entry 'jEntry' | |
| KOKKOS_INLINE_FUNCTION size_type | i_begin (size_type jEntry) const |
| Begin i entries with a j entry 'jEntry'. | |
| KOKKOS_INLINE_FUNCTION size_type | i_end (size_type jEntry) const |
| End i entries with a j entry 'jEntry'. | |
| KOKKOS_INLINE_FUNCTION size_type | num_i (size_type jEntry) const |
| Number of i entries with a j entry 'jEntry'. | |
| KOKKOS_INLINE_FUNCTION const size_type & | i_coord (const size_type iEntry) const |
| i coordinate for i entry 'iEntry' | |
| KOKKOS_INLINE_FUNCTION const value_type & | value (const size_type iEntry) const |
| Value for i entry 'iEntry'. | |
| 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 FlatSparse3Tensor_kji | create (const Stokhos::ProductBasis< OrdinalType, ValueType > &basis, const Stokhos::Sparse3Tensor< OrdinalType, ValueType > &Cijk, const Teuchos::ParameterList ¶ms=Teuchos::ParameterList()) |
Sparse product tensor with replicated entries to provide subsets with a given coordinate.