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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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