PiecewiseLinearFunction   Conversion (PiecewiseLinearFunction to FuncDouble, Double)

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

Definition

Namespace: Gemstone.Numeric.Interpolation
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.167 -- Release Build+9e631c9f4ed4cd2c2da47045792d813c2de0c4a8
public static implicit operator Func<double, double> (
	PiecewiseLinearFunction func
)

Parameters

func  PiecewiseLinearFunction
The piecewise linear function to be converted.

Return Value

FuncDouble, Double

[Missing <returns> documentation for "M:Gemstone.Numeric.Interpolation.PiecewiseLinearFunction.op_Implicit(Gemstone.Numeric.Interpolation.PiecewiseLinearFunction)~System.Func{System.Double,System.Double}"]

Exceptions

InvalidOperationException

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

- or -

less than two pivot points are defined

See Also