#include <Limits.hpp>
Public Member Functions | |
LimitIO () | |
LimitIO (const Limit< T > &in, const Limit< T > &out) | |
LimitIO (T minIn, T maxIn, T minOut, T maxOut) | |
Public Attributes | |
Limit< T > | in |
Limit< T > | out |
The class implements input/output limits. It contains separate labust::math::Limit values for block input and output. To be used with black-box classes that have IO constraints.
T | The precision template variable. |
Definition at line 82 of file Limits.hpp.
labust::math::LimitIO< T >::LimitIO | ( | ) | [inline] |
Default constructor. Instantiates all limits to NaN.
Definition at line 87 of file Limits.hpp.
labust::math::LimitIO< T >::LimitIO | ( | const Limit< T > & | in, |
const Limit< T > & | out | ||
) | [inline] |
Main constructor. Takes two single limits for the block input and output.
in | Input range limit. |
out | Output range limit. |
Definition at line 96 of file Limits.hpp.
labust::math::LimitIO< T >::LimitIO | ( | T | minIn, |
T | maxIn, | ||
T | minOut, | ||
T | maxOut | ||
) | [inline] |
Main constructor. Takes all the range constraints separately.
minIn | Minimum of the input range. |
maxIn | Maximum of the input range. |
minOut | Minimum of the output range. |
maxOut | Maximum of the output range. |
Definition at line 107 of file Limits.hpp.
Limit<T> labust::math::LimitIO< T >::in |
Input and output range limiters.
Definition at line 109 of file Limits.hpp.
Limit<T> labust::math::LimitIO< T >::out |
Definition at line 109 of file Limits.hpp.