Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
If xs outside range of x, returns NaN, otherwide, returns linearly interpolated result
Interpolation in one dimension (assumes x are monotonically increasing)
Namespace: Vts.Common.MathAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- x
- Type: System.Collections.Generic IList Double
The known independent values
- y
- Type: System.Collections.Generic IList Double
The known dependent values
- xs
- Type: System.Collections.Generic IEnumerable Double
Value to at which to interpolate
Return Value
Type: IEnumerable DoubleIf xs outside range of x, returns NaN, otherwide, returns linearly interpolated result
See Also