interface Interpolator { update?(xs: readonly number[],
ys: readonly number[]): void; (x: number): number; } - Interpolator(x): number
Returns number
Methods
Optional
update
- update(xs, ys): void
Parameters
- xs: readonly number[]
- ys: readonly number[]
Returns void
The interpolator function that returns an interpolated value for the given argument.