Developer documentation

declare_glue.hpp File Reference

Go to the source code of this file.

Macros

#define DECLARE_CLASS(X, S)
 

Macro Definition Documentation

#define DECLARE_CLASS (   X,
 
)
Value:
inline unsigned hash(const X& p){ return 1;} \
inline unsigned exact_hash(const X& p){ return 1;} \
inline unsigned soft_hash(const X& p){ return 1;} \
inline bool exact_eq(const X& p, const X& q){ return true;} \
inline bool exact_neq(const X& p, const X& q){ return false;} \
inline bool operator ==(const X& p, const X& q){ return true;} \
inline bool operator !=(const X& p, const X& q){ return false;} \
inline syntactic flatten(const X& x) { return syntactic(S); }
bool operator==(const extended< NT > &lhs, const extended< NT > &rhs)
Definition: extended.hpp:88
TMPL X
Definition: polynomial_operators.hpp:148
TMPL bool exact_neq(const Monomial &v1, const Monomial &v2)
Definition: monomial_glue.hpp:24
TMPL unsigned exact_hash(const Monomial &m)
Definition: monomial_glue.hpp:32
TMPL unsigned hash(const Monomial &v)
Definition: monomial_glue.hpp:26
TMPL syntactic flatten(const MONOMIAL &v)
Definition: monomial_glue.hpp:36
TMPL bool exact_eq(const Monomial &v1, const Monomial &v2)
Definition: monomial_glue.hpp:23
bool operator!=(const extended< NT > &lhs, const extended< NT > &rhs)
Definition: extended.hpp:95
TMPL unsigned soft_hash(const Monomial &m)
Definition: monomial_glue.hpp:33
Home