A standard linear mapping class for the 1D case f(x) = m * x + b.
More...
#include <LinearTransform1D.h>
A standard linear mapping class for the 1D case f(x) = m * x + b.
◆ LinearTransform1D() [1/2]
icl::math::LinearTransform1D::LinearTransform1D |
( |
float |
m = 0 , |
|
|
float |
b = 0 |
|
) |
| |
|
inline |
base constructor with given parameters m and b
◆ LinearTransform1D() [2/2]
spedical constructor template with given source and destination range
◆ operator()()
float icl::math::LinearTransform1D::operator() |
( |
float |
x | ) |
const |
|
inline |
applies the mapping to a given x -> f(x) = m * x + b
float icl::math::LinearTransform1D::b |
float icl::math::LinearTransform1D::m |
The documentation for this struct was generated from the following file: