PiecewiseLinearCurve Constructor

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

PiecewiseLinearCurve(Point[])

Constructs a new PiecewiseLinearCurve object.
C#
public PiecewiseLinearCurve(
	Point[] dataPoints
)

Parameters

dataPoints  Point[]
An array of Point structures containing the data points.

Exceptions

ArgumentNullExceptiondataPoints is null.

PiecewiseLinearCurve(Vector<Double>, Vector<Double>)

Constructs a new PiecewiseLinearCurve object.
C#
public PiecewiseLinearCurve(
	Vector<double> xValues,
	Vector<double> yValues
)

Parameters

xValues  Vector<Double>
A vector containing the boundaries of the intervals.
yValues  Vector<Double>
A vector containing yValues-values corresponding to the values in xValues.

Exceptions

ArgumentNullExceptionxValues is null.

-or-

yValues is null.

DimensionMismatchException The length of xValues does not equal the length of yValues.

See Also