GridSurface.Evaluate Method

Definition

Namespace: Numerics.NET.Curves.Surfaces
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0

Overload List

Evaluate(Double[]) Evaluates the surface at the specified point.
Evaluate(IReadOnlyList<Double>) Evaluates the surface at the specified point.
Evaluate(ReadOnlySpan<Double>) Evaluates the surface at the specified point.
Evaluate(IReadOnlyList<Vector<Double>>, Span<Double>) Evaluates the surface at multiple points specified by a list of vectors.
Evaluate(ReadOnlySpan<Double>, ExtrapolationMode) Evaluates the surface at the specified point.
Evaluate(ReadOnlySpan<Vector<Double>>, Span<Double>) Evaluates the surface at multiple points specified by a read-only span of vectors.
Evaluate(Int32, ReadOnlySpan2D<Double>, Span<Double>) Evaluates the surface at multiple points stored in column-major layout.

Evaluate(ReadOnlySpan<Double>)

Evaluates the surface at the specified point.
C#
public override sealed double Evaluate(
	ReadOnlySpan<double> point
)

Parameters

point  ReadOnlySpan<Double>
A read-only span representing the coordinates of the point.

Return Value

Double
The value of the surface at the specified point.

Remarks

The length of point must equal Dimension.

Exceptions

ArgumentException The length of point does not equal Dimension.

Evaluate(ReadOnlySpan<Double>, ExtrapolationMode)

Evaluates the surface at the specified point.
C#
public double Evaluate(
	ReadOnlySpan<double> point,
	ExtrapolationMode extrapolation
)

Parameters

point  ReadOnlySpan<Double>
A read-only span representing the coordinates of the point.
extrapolation  ExtrapolationMode
The extrapolation mode to use for out-of-range coordinates.

Return Value

Double
The value of the surface at the specified point.

Remarks

The length of point must equal Dimension.

Exceptions

ArgumentException The length of point does not equal Dimension.

See Also