ManagedArrayFunctionsOfSingle.Max Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics.SinglePrecision (in Extreme.Numerics.SinglePrecision.dll) Version: 8.1.4

Overload List

Max(Int32, ArraySlice<Single>) Computes the maximum of all elements in the array.
Max(Int32, ArraySlice<Single>, Single, ArraySlice<Single>) Computes the maximum of a number and each element of an array.

Max(Int32, ArraySlice<Single>)

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

Parameters

length  Int32
The number of elements in the array.
operand  ArraySlice<Single>
The array that holds the operands.

Return Value

Single
The maximum of the elements of operand.

Implements

IArrayFunctions<T, TShape, TArray>.Max(TShape, TArray)

Max(Int32, ArraySlice<Single>, Single, ArraySlice<Single>)

Computes the maximum of a number and each element of an array.
C#
public override void Max(
	int length,
	ArraySlice<float> operand,
	float value,
	ArraySlice<float> result
)

Parameters

length  Int32
The number of elements in the array.
operand  ArraySlice<Single>
The array that holds the operands.
value  Single
The number to compare to.
result  ArraySlice<Single>
The array that holds the results.

Implements

IArrayFunctions<T, TShape, TArray>.Max(TShape, TArray, T, TArray)

See Also