Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Stokhos::TotalOrderPredicate< ordinal_type > Struct Template Reference

Predicate functor for building sparse triple products based on total order. More...

#include <Stokhos_ProductBasisUtils.hpp>

Public Types

typedef MultiIndex< ordinal_typecoeff_type

Public Member Functions

 TotalOrderPredicate (ordinal_type max_order_, const coeff_type &orders_)
bool operator() (const coeff_type &term) const

Public Attributes

ordinal_type max_order
coeff_type orders

Detailed Description

template<typename ordinal_type>
struct Stokhos::TotalOrderPredicate< ordinal_type >

Predicate functor for building sparse triple products based on total order.

Definition at line 972 of file Stokhos_ProductBasisUtils.hpp.

Member Typedef Documentation

◆ coeff_type

Definition at line 973 of file Stokhos_ProductBasisUtils.hpp.

Constructor & Destructor Documentation

◆ TotalOrderPredicate()

template<typename ordinal_type>
Stokhos::TotalOrderPredicate< ordinal_type >::TotalOrderPredicate ( ordinal_type max_order_,
const coeff_type & orders_ )
inline

Definition at line 977 of file Stokhos_ProductBasisUtils.hpp.

Member Function Documentation

◆ operator()()

template<typename ordinal_type>
bool Stokhos::TotalOrderPredicate< ordinal_type >::operator() ( const coeff_type & term) const
inline

Definition at line 980 of file Stokhos_ProductBasisUtils.hpp.

Member Data Documentation

◆ max_order

Definition at line 974 of file Stokhos_ProductBasisUtils.hpp.

◆ orders

Definition at line 975 of file Stokhos_ProductBasisUtils.hpp.


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