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

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

#include <Stokhos_FlatSparse3Tensor_kji.hpp>

Public Types

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

Public Member Functions

 FlatSparse3Tensor_kji (const FlatSparse3Tensor_kji &rhs)
 
FlatSparse3Tensor_kji & operator= (const FlatSparse3Tensor_kji &rhs)
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
dimension () const
 Dimension of the tensor.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
num_k () const
 Number of k entries.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
entry_count () const
 Number of sparse entries.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
j_begin (size_type k) const
 Begin j entries with a coordinate 'k'.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
j_end (size_type k) const
 End j entries with a coordinate 'k'.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
num_j (size_type k) const
 Number of j entries with a coordinate 'k'.
 
KOKKOSARRAY_INLINE_FUNCTION
const size_type & 
j_coord (const size_type jEntry) const
 j coordinate for j entry 'jEntry'
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
i_begin (size_type jEntry) const
 Begin i entries with a j entry 'jEntry'.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
i_end (size_type jEntry) const
 End i entries with a j entry 'jEntry'.
 
KOKKOSARRAY_INLINE_FUNCTION
size_type 
num_i (size_type jEntry) const
 Number of i entries with a j entry 'jEntry'.
 
KOKKOSARRAY_INLINE_FUNCTION
const size_type & 
i_coord (const size_type iEntry) const
 i coordinate for i entry 'iEntry'
 
KOKKOSARRAY_INLINE_FUNCTION
const value_type & 
value (const size_type iEntry) const
 Value for i entry 'iEntry'.
 
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 FlatSparse3Tensor_kji create (const Stokhos::ProductBasis< OrdinalType, ValueType > &basis, const Stokhos::Sparse3Tensor< OrdinalType, ValueType > &Cijk, const Teuchos::ParameterList &params=Teuchos::ParameterList())
 

Detailed Description

template<typename ValueType, class DeviceType>
class Stokhos::FlatSparse3Tensor_kji< ValueType, DeviceType >

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


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