new ContinuousTransform()
ContinuousTransfrom defines a transformation on continuous (nummerical) data. Currently linear interpolation between a set of control points is implemented.
- Source:
Members
(static) count :number
Number of times this transform is used
Type:
- number
- Source:
Methods
(static) inverse(fx) → {number}
The inverse of the transfrom
Parameters:
| Name | Type | Description |
|---|---|---|
fx |
number |
- Source:
Returns:
x
- Type
- number
(static) range()
- Source:
(static) transform(x) → {number}
Apply piecewise linear transformation The function is constant outside the range spanned by the control points; there it is set to value of the first, or the last, control points.
Parameters:
| Name | Type | Description |
|---|---|---|
x |
number |
- Source:
Returns:
fx
- Type
- number