pub trait NumberMapping { // Required method fn mapped_value(&self, x: &Number) -> Result<Number, PyErr>; }
Generic trait indicating a function exists to map one Number to another.
An example of this trait is used by certain PPSpline indicating that an x-value as some Number can be mapped under spline interpolation to some y-value as another Number.