Managed Array Functions.Hypot Method
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Hypot( | Computes the hypotenuse of corresponding elements of two arrays. |
Hypot( | Computes the hypotenuse of corresponding elements of two arrays. |
Hypot<TStorage>(Int32, TStorage, TStorage, TStorage) | Computes the hypotenuse of corresponding elements of two arrays. |
Hypot(Int32, ReadOnlySpan<Double>, Int32, ReadOnlySpan<Double>, Int32, Span<Double>, Int32)
Computes the hypotenuse of corresponding elements of two arrays.
public override void Hypot(
int length,
ReadOnlySpan<double> first,
int firstStride,
ReadOnlySpan<double> second,
int secondStride,
Span<double> result,
int resultStride
)
Parameters
- length Int32
- The number of elements in the span.
- first ReadOnlySpan<Double>
- The span that holds the first operands.
- firstStride Int32
- The distance between elements in first.
- second ReadOnlySpan<Double>
- The span that holds the second operands.
- secondStride Int32
- The distance between elements in second.
- result Span<Double>
- The span that holds the results.
- resultStride Int32
- The distance between elements in result.