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.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
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