Piecewise Curve Constructor
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Piecewise |
Constructs a new PiecewiseCurve object.
Obsolete. |
Piecewise | Constructs a new PiecewiseCurve object. |
Piecewise | Constructs a new PiecewiseCurve object. |
Piecewise | Constructs a new PiecewiseCurve object. |
Piecewise |
Constructs a new PiecewiseCurve object.
Obsolete. |
Piecewise | Constructs a new PiecewiseCurve object. |
Piecewise | Constructs a new PiecewiseCurve object. |
Piecewise | Constructs a new PiecewiseCurve object. |
PiecewiseCurve(Double[], Double[])
Constructs a new PiecewiseCurve object.
[ObsoleteAttribute("Use the constructor that uses spans instead.")]
protected PiecewiseCurve(
double[] xValues,
params double[] extra
)
Parameters
Exceptions
Argument | xValues is null. |
PiecewiseCurve(IList<Point>, IList<Double>)
Constructs a new PiecewiseCurve object.
protected PiecewiseCurve(
IList<Point> dataPoints,
IList<double> extra
)
Parameters
Remarks
The xValues-values of the dataPoints values
PiecewiseCurve(IList<Point>, Double[])
Constructs a new PiecewiseCurve object.
protected PiecewiseCurve(
IList<Point> dataPoints,
params double[] extra
)
Parameters
Remarks
The xValues-values of the dataPoints values
PiecewiseCurve(ReadOnlySpan<Double>, ReadOnlySpan<Double>)
Constructs a new PiecewiseCurve object.
protected PiecewiseCurve(
ReadOnlySpan<double> xValues,
ReadOnlySpan<double> extra
)
Parameters
- xValues ReadOnlySpan<Double>
- A Double span containing the boundaries of the intervals.
- extra ReadOnlySpan<Double>
- A Double span that contains any additional parameters.
PiecewiseCurve(Double[], Double[], Double[])
Constructs a new PiecewiseCurve object.
[ObsoleteAttribute("Use the constructor that uses spans instead.")]
protected PiecewiseCurve(
double[] xValues,
double[] yValues,
params double[] extra
)
Parameters
Exceptions
Argument | xValues is null. -or- yValues is null. |
PiecewiseCurve(IList<Double>, IList<Double>, IList<Double>)
Constructs a new PiecewiseCurve object.
protected PiecewiseCurve(
IList<double> xValues,
IList<double> yValues,
IList<double> extra
)
Parameters
Exceptions
Argument | xValues is null. -or- yValues is null. |
PiecewiseCurve(IList<Double>, IList<Double>, Double[])
Constructs a new PiecewiseCurve object.
protected PiecewiseCurve(
IList<double> xValues,
IList<double> yValues,
params double[] extra
)
Parameters
Exceptions
Argument | xValues is null. -or- yValues is null. |
PiecewiseCurve(ReadOnlySpan<Double>, ReadOnlySpan<Double>, ReadOnlySpan<Double>)
Constructs a new PiecewiseCurve object.
protected PiecewiseCurve(
ReadOnlySpan<double> xValues,
ReadOnlySpan<double> yValues,
ReadOnlySpan<double> extra
)
Parameters
- xValues ReadOnlySpan<Double>
- A Double span containing the boundaries of the intervals.
- yValues ReadOnlySpan<Double>
- A Double span containing the y-values corresponding to the values in xValues.
- extra ReadOnlySpan<Double>
- A Double span that contains any additional parameters.
Exceptions
Dimension | xValues and yValues do not have the same length. |