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.181-beta
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