Stokhos Development
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
Stokhos::TotalOrderLess< term_type, compare_type > Class Template Reference

A comparison functor implementing a strict weak ordering based total-order ordering, recursive on the dimension. More...

#include <Stokhos_ProductBasisUtils.hpp>

List of all members.

Public Types

typedef term_type product_element_type
typedef term_type::ordinal_type ordinal_type
typedef term_type::element_type element_type

Public Member Functions

 TotalOrderLess (const compare_type &cmp_=compare_type())
 Constructor.
bool operator() (const term_type &a, const term_type &b) const

Protected Member Functions

bool equal (const element_type &a, const element_type &b) const
 Determine if two elements a and b are equal.

Protected Attributes

compare_type cmp
 Element comparison functor.

Detailed Description

template<typename term_type, typename compare_type = std::less<typename term_type::element_type>>
class Stokhos::TotalOrderLess< term_type, compare_type >

A comparison functor implementing a strict weak ordering based total-order ordering, recursive on the dimension.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator