Linear functor. More...
#include <linear.h>
Public Types | |
| typedef Base::argument_type | argument_type |
| The argument type. | |
| typedef Base::result_type | result_type |
| The result type. | |
Public Member Functions | |
| UnaryLinear (const T a_=0, const T b_=0) | |
| Construct from the coefficients. | |
| result_type | operator() (const argument_type &x) const |
| Return the value of the linear function. | |
Public Attributes | |
| T | a |
| The multiplicative coefficient. | |
| T | b |
| The additive coefficient. | |
Linear functor.
1.6.3