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 as an IEnumerable of type double
Interpolation in one dimension within a 2-dimensional array of values
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 value
- y
- Type: System Double
The known dependent value
- xs
- Type: System.Collections.Generic IEnumerable Double
Value to at which to interpolate
- fixedDimension
- Type: System Int32
The dimension of y in which to interpolate
- fixedIndex
- Type: System Int32
The index within the dimension of y in which to interpolate
Return Value
Type: IEnumerable DoubleIf xs outside range of x, returns NaN, otherwide, returns linearly interpolated result as an IEnumerable of type double
See Also