Click or drag to resize

PiecewiseLinearFunction   Conversion (PiecewiseLinearFunction to FuncDouble, Double)

Converts the PiecewiseLinearFunction object to a FuncT, TResult to start converting values.

Namespace: GSF.NumericalAnalysis.Interpolation
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public static implicit operator Func<double, double> (
	PiecewiseLinearFunction func
)
View Source

Parameters

func  PiecewiseLinearFunction
The piecewise linear function to be converted.

Return Value

FuncDouble, Double
Exceptions
ExceptionCondition
InvalidOperationException

the size of the domain does not equal the size of the range

- or -

less than two pivot points are defined

See Also