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.232-beta+203aa83a5a82d50f387e69875549969ad138d6e0
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