Piecewise Constant Curve Constructor
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Piecewise | Constructs a new PiecewiseConstantCurve object. |
Piecewise | Initializes a new instance of the PiecewiseConstantCurve class |
Piecewise | Constructs a new PiecewiseConstantCurve object. |
Piecewise | Constructs a new PiecewiseConstantCurve object. |
PiecewiseConstantCurve(Point[])
Constructs a new PiecewiseConstantCurve object.
public PiecewiseConstantCurve(
Point[] dataPoints
)
Parameters
PiecewiseConstantCurve(Double[], Double[])
Initializes a new instance of the PiecewiseConstantCurve class
public PiecewiseConstantCurve(
double[] xValues,
double[] yValues
)
Parameters
PiecewiseConstantCurve(ReadOnlySpan<Double>, ReadOnlySpan<Double>)
Constructs a new PiecewiseConstantCurve object.
public PiecewiseConstantCurve(
ReadOnlySpan<double> xValues,
ReadOnlySpan<double> yValues
)
Parameters
- xValues ReadOnlySpan<Double>
- A vector containing the boundaries of the intervals.
- yValues ReadOnlySpan<Double>
- A vector containing y-values corresponding to the values in xValues.
PiecewiseConstantCurve(Vector<Double>, Vector<Double>)
Constructs a new PiecewiseConstantCurve object.
public PiecewiseConstantCurve(
Vector<double> xValues,
Vector<double> yValues
)