Nearest Scatter Surface.Evaluate Method
Definition
Namespace: Numerics.NET.Curves.Surfaces
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
Overload List
| Evaluate(Double[]) | Evaluates the surface at the specified point. |
| Evaluate( | Evaluates the surface at the specified point. |
| Evaluate( | Evaluates the surface at the specified point. |
| Evaluate( | Evaluates the surface at multiple points specified by a list of vectors. |
| Evaluate( | Evaluates the surface at multiple points specified by a read-only span of vectors. |
| Evaluate( | Evaluates the surface at multiple points stored in column-major layout. |
Evaluate(ReadOnlySpan<Double>)
Evaluates the surface at the specified point.
public override double Evaluate(
ReadOnlySpan<double> point
)Parameters
- point ReadOnlySpan<Double>
- The coordinates of the point.
Return Value
DoubleThe value of the nearest sample point.
Remarks
This method performs a brute-force search to find the nearest sample point. In case of a tie (multiple points at the same minimum distance), the point with the smaller index is selected.
Exceptions
| Argument | The length of point does not equal Dimension. |