Managed Array Functions<T>.Modulus 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
Modulus( | Computes the modulus of each element of a span with respect to the corresponding element in another span. |
Modulus( | Computes the modulus of each element of a span with respect to the corresponding element in another span. |
Modulus(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)
Computes the modulus of each element of a span with respect to the corresponding element
in another span.
public override void Modulus(
int length,
ReadOnlySpan<T> first,
int firstStride,
ReadOnlySpan<T> second,
int secondStride,
Span<T> result,
int resultStride
)
Parameters
- length Int32
- The number of elements in the span.
- first ReadOnlySpan<T>
- The span that holds the first operands.
- firstStride Int32
- The distance between elements in first.
- second ReadOnlySpan<T>
- The span that holds the second operands.
- secondStride Int32
- The distance between elements in second.
- result Span<T>
- The span that holds the results.
- resultStride Int32
- The distance between elements in result.