ManagedArrayFunctionsOfSingle.Max Method

Definition

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

Overload List

Max<TStorage>(Int32, TStorage, TStorage, TStorage) 
Max(Int32, ReadOnlySpanSlice<T>) Computes the maximum of all elements in the span.
Max(Int32, ReadOnlySpan<Single>, Int32) Computes the maximum of all elements in the span.
Max(Int32, ReadOnlySpanSlice<T>, T, SpanSlice<T>) Computes the maximum of a number and each element of a span.
Max(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the maximum of corresponding elements of two spans.
Max(Int32, ReadOnlySpan<T>, Int32, T, Span<T>, Int32) Computes the maximum of a number and each element of a span.
Max(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the maximum of corresponding elements of two spans.
Max<TStorage>(Int32, TStorage) Computes the maximum of all elements in the array.
Max<TStorage>(Int32, TStorage, TStorage, TStorage) Computes the maximum of each element of an array and the corresponding element in another array.

Max(Int32, ReadOnlySpan<Single>, Int32)

Computes the maximum of all elements in the span.
C#
public override float Max(
	int length,
	ReadOnlySpan<float> operand,
	int stride
)

Parameters

length  Int32
The number of elements in the span.
operand  ReadOnlySpan<Single>
The span that holds the operands.
stride  Int32
The distance between elements in operand.

Return Value

Single
The maximum of the elements of operand.

See Also