IArrayFunctions<T, TShape, TArray>.Max Method

Definition

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

Overload List

Max(TShape, TArray) Computes the maximum of all elements in the array.
Max(TShape, TArray, TArray, TArray) Computes the maximum of corresponding elements of two arrays.

Max(TShape, TArray)

Computes the maximum of all elements in the array.
C#
T Max(
	TShape shape,
	TArray operand
)

Parameters

shape  TShape
The number of elements in the array.
operand  TArray
The array that holds the operands.

Return Value

T
The maximum of the elements of operand.

Max(TShape, TArray, TArray, TArray)

Computes the maximum of corresponding elements of two arrays.
C#
void Max(
	TShape shape,
	TArray first,
	TArray second,
	TArray result
)

Parameters

shape  TShape
The number of elements in the array.
first  TArray
The array that holds the first operands.
second  TArray
The array that holds the second operands.
result  TArray
The array that holds the results.

See Also