Template Struct PLApprox

Struct Documentation

template<class T, class Alloc = std::allocator<T>>
struct PLApprox

Public Functions

inline explicit PLApprox(const std::vector<T, Alloc> &comp)
template<class AllocA>
inline bool compare(const std::vector<T, AllocA> &lhs) const
inline std::string describe() const
inline PLApprox &epsilon(Util::remove_complex_t<T> eps)
inline PLApprox &margin(Util::remove_complex_t<T> m)

Public Members

const std::vector<T, Alloc> &comp_
Util::remove_complex_t<T> margin_ = {}
Util::remove_complex_t<T> epsilon_ = std::numeric_limits<float>::epsilon() * 100