Struct ThresholdOptions#
Defined in File activation.h
Page Contents
Struct Documentation#
-
struct ThresholdOptions#
Options for the
Threshold
module.Example:
Threshold model(ThresholdOptions(42.42, 24.24).inplace(true));
Public Functions
-
inline ThresholdOptions(double threshold, double value)#
-
inline auto threshold(const double &new_threshold) -> decltype(*this)#
The value to threshold at.
-
inline auto threshold(double &&new_threshold) -> decltype(*this)#
-
inline const double &threshold() const noexcept#
-
inline double &threshold() noexcept#
-
inline auto value(const double &new_value) -> decltype(*this)#
The value to replace with.
-
inline auto value(double &&new_value) -> decltype(*this)#
-
inline const double &value() const noexcept#
-
inline double &value() noexcept#
-
inline auto inplace(const bool &new_inplace) -> decltype(*this)#
can optionally do the operation in-place. Default: False
-
inline auto inplace(bool &&new_inplace) -> decltype(*this)#
-
inline const bool &inplace() const noexcept#
-
inline bool &inplace() noexcept#
-
inline ThresholdOptions(double threshold, double value)#