Struct ResultObjectLess

Struct Documentation

struct ResultObjectLess

Orders Tensors and Variables by the identity of the object they refer to, i.e. tensors are compared by label and block, variables by label. Supports heterogeneous lookup via Expr objects.

Public Types

using is_transparent = void

Public Functions

inline bool operator()(const Expr &lhs, const Expr &rhs) const
inline bool operator()(const ExprPtr &lhs, const ExprPtr &rhs) const
inline bool operator()(const ExprPtr &lhs, const Expr &rhs) const
inline bool operator()(const Expr &lhs, const ExprPtr &rhs) const

Public Members

TensorNormalizer normalize = {}

If set, tensors are compared in the form produced by this normalizer.