ManagedArrayFunctionsOfSingle.Divide Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.dll) Version: 9.0.0

Overload List

Divide(Int32, T, ReadOnlySpanSlice<T>, SpanSlice<T>) Divides a number by each element of a span.
Divide(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Divides each element of a span by the corresponding element in another span.
Divide(Int32, T, ReadOnlySpan<T>, Int32, Span<T>, Int32) Divides a number by each element of a span.
Divide(Int32, ReadOnlySpan<Single>, Int32, ReadOnlySpan<Single>, Int32, Span<Single>, Int32) Divides each element of a span by the corresponding element in another span.
Divide<TStorage>(Int32, TStorage, TStorage, TStorage) Divides each element of an array by the corresponding element in another array.
Divide<TStorage>(Int32, T, TStorage, TStorage) Divides a number by each element of an array.

Divide(Int32, ReadOnlySpan<Single>, Int32, ReadOnlySpan<Single>, Int32, Span<Single>, Int32)

Divides each element of a span by the corresponding element in another span.
C#
public override void Divide(
	int length,
	ReadOnlySpan<float> first,
	int firstStride,
	ReadOnlySpan<float> second,
	int secondStride,
	Span<float> result,
	int resultStride
)

Parameters

length  Int32
The number of elements in the span.
first  ReadOnlySpan<Single>
The span that holds the first operands.
firstStride  Int32
The distance between elements in first.
second  ReadOnlySpan<Single>
The span that holds the second operands.
secondStride  Int32
The distance between elements in second.
result  Span<Single>
The span that holds the results.
resultStride  Int32
The distance between elements in result.

See Also