#include <curves.h>
Linear map for real values.
Methods | |
Linear (Sample a0, Sample a1) | |
Linear (Sample x0, Sample x1, Sample y0, Sample y1) | |
Construct by from/to value pairs. More... | |
Sample | operator() (Sample x) const |
Sample | dx () const |
Linear | inverse () const |
Returns the inverse map (with some numerical error) More... | |
|
inline |
Construct by from/to value pairs.
|
inline |
Returns the inverse map (with some numerical error)