Curve.Value At Method
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
Overload List
| Value | Gets the Y-value of the curve at the specified X-coordinate. |
| Value | Gets the Y-values of the curve at the specified X-coordinates. |
| Value | Gets the Y-values of the curve at the specified X-coordinates. |
| Value | Gets the Y-values of the curve at the specified X-coordinates. |
| Value | Gets the Y-values of the curve at the specified X-coordinates. |
ValueAt(Double)
Gets the Y-value of the curve at the specified
X-coordinate.
public abstract double ValueAt(
double x
)Parameters
- x Double
- A real number.
Return Value
DoubleThe Y-value of the curve at the specified X-coordinate.
ValueAt(Double[])
Gets the Y-values of the curve at the specified X-coordinates.
public double[] ValueAt(
double[] x
)Parameters
- x Double[]
- An array of X-coordinates.
Return Value
Double[]An array containing the Y-values of the curve at the specified X-coordinates.
ValueAt(ReadOnlySpan<Double>)
Gets the Y-values of the curve at the specified X-coordinates.
public double[] ValueAt(
ReadOnlySpan<double> x
)Parameters
- x ReadOnlySpan<Double>
- A read-only span of X-coordinates.
Return Value
Double[]An array containing the Y-values of the curve at the specified X-coordinates.
ValueAt(Vector<Double>)
Gets the Y-values of the curve at the specified X-coordinates.
public Vector<double> ValueAt(
Vector<double> x
)Parameters
Return Value
Vector<Double>A vector containing the Y-values of the curve at the specified X-coordinates.
ValueAt(ReadOnlySpan<Double>, Span<Double>)
Gets the Y-values of the curve at the specified X-coordinates.
public virtual void ValueAt(
ReadOnlySpan<double> x,
Span<double> y
)Parameters
- x ReadOnlySpan<Double>
- A read-only span of X-coordinates.
- y Span<Double>
- A span to receive the Y-values of the curve at the specified X-coordinates.
Remarks
This method evaluates the curve at each X-coordinate in x and stores the result in the corresponding position in y.