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 float
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 Single
The known independent value
- y
- Type: System Single
The known dependent value
- xs
- Type: System.Collections.Generic IEnumerable Single
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 SingleIf xs outside range of x, returns NaN, otherwide, returns linearly interpolated result as an IEnumerable of type float
See Also