Click or drag to resize
Accord.NET (logo)

PiecewiseLinearFunction Constructor (Point)

Initializes a new instance of the PiecewiseLinearFunction class.

Namespace:  Accord.Fuzzy
Assembly:  Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.7.0
Syntax
public PiecewiseLinearFunction(
	Point[] points
)
Request Example View Source

Parameters

points
Type: AccordPoint
Array of (X,Y) coordinates of each start/end of the lines.
Exceptions
ExceptionCondition
ArgumentExceptionPoints must be in crescent order on X axis.
ArgumentExceptionY value of points must be in the range of [0, 1].
Remarks

Specified point must be in crescent order on X axis and their Y value must be in the range of [0, 1].

See Also