Template Class measurement

Inheritance Relationships

Base Types

Class Documentation

template<typename T, typename Tag>
class measurement : public rcppsw::types::named_type<T, Tag>, public rcppsw::er::client<measurement<T, Tag>>

The result of a measurement between elements of a spatial space.

It should always be >= 0.

Public Types

using value_type = T

Public Functions

measurement(const measurement&) = default
inline explicit measurement(const T &value, bool check_psd = true)
~measurement(void) override = default
inline bool operator<(const measurement &rhs) const
inline bool operator<=(const measurement &rhs) const
inline bool operator<=(T rhs) const
inline bool operator>(const measurement &rhs) const
inline bool operator>(T rhs) const
inline bool operator>=(const measurement &rhs) const
inline bool operator>=(T rhs) const