$extrastylesheet
#include <mln/fun/v2v/linear.hh>
Public Member Functions | |
| linear (T a, T b) | |
| R | operator() (const V &v) const |
| template<typename U > | |
| R | operator() (const U &u) const |
Public Attributes | |
| T | a |
| T | b |
Public Types | |
| typedef Function_v2v< void > | category |
| typedef linear< V, T, R > | exact_t |
| typedef void | mutable_result |
| typedef R | result |
Linear function. f(v) = a * v + b. V is the type of input values; T is the type used to compute the result; R is the result type.
Definition at line 55 of file v2v/linear.hh.
| mln::fun::v2v::linear< V, T, R >::linear | ( | T | a, |
| T | b | ||
| ) |
| R mln::fun::v2v::linear< V, T, R >::operator() | ( | const V & | v | ) | const |
| R mln::fun::v2v::linear< V, T, R >::operator() | ( | const U & | u | ) | const |
| T mln::fun::v2v::linear< V, T, R >::a |
Definition at line 65 of file v2v/linear.hh.
| T mln::fun::v2v::linear< V, T, R >::b |
Definition at line 65 of file v2v/linear.hh.
|
inherited |
Definition at line 134 of file function.hh.
|
inherited |
|
inherited |
Definition at line 135 of file function.hh.
| typedef R mln::fun::v2v::linear< V, T, R >::result |
Definition at line 57 of file v2v/linear.hh.