Array Functions<T>.Reciprocal Method
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Reciprocal( | Computes the reciprocal (inverse) of each element of a span. |
Reciprocal( | Computes the reciprocal (inverse) of each element of a span. |
Reciprocal(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>)
Computes the reciprocal (inverse) of each element of a span.
public void Reciprocal(
int length,
ReadOnlySpanSlice<T> operand,
SpanSlice<T> result
)
Parameters
- length Int32
- The number of elements in the span.
- operand ReadOnlySpanSlice<T>
- The span that holds the operands.
- result SpanSlice<T>
- The span that holds the results.
Reciprocal(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)
Computes the reciprocal (inverse) of each element of a span.
public abstract void Reciprocal(
int length,
ReadOnlySpan<T> operand,
int stride,
Span<T> result,
int resultStride
)