Grid Surface.Gradient 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
| Gradient( | Computes the gradient of the surface at the specified point. |
| Gradient( | Computes the gradient of a 2D surface at the specified point. |
| Gradient( | Computes the gradient of the scalar field at the specified point. |
| Gradient( | Computes the gradient of the surface at the specified point. |
| Gradient( |
Gradient(ReadOnlySpan<Double>, Span<Double>)
Computes the gradient of the scalar field at the specified point.
public override sealed void Gradient(
ReadOnlySpan<double> point,
Span<double> result
)Parameters
- point ReadOnlySpan<Double>
- A read-only span representing the coordinates of the point.
- result Span<Double>
- A span to receive the gradient vector.
Remarks
The gradient computation is method-specific and must be implemented by derived classes.
Gradient(ReadOnlySpan<Double>, ExtrapolationMode, Span<Double>)
public void Gradient(
ReadOnlySpan<double> point,
ExtrapolationMode extrapolation,
Span<double> result
)Parameters
- point ReadOnlySpan<Double>
- extrapolation ExtrapolationMode
- The extrapolation mode to use for out-of-range coordinates.
- result Span<Double>