IArrayFunctions<T, TShape, TArray>.Min Method

Definition

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

Overload List

Min(TShape, TArray) Computes the minimum of all elements in the array.
Min(TShape, TArray, T, TArray) Computes the minimum of a number and each element of an array.

Min(TShape, TArray)

Computes the minimum of all elements in the array.
C#
T Min(
	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 minimum of the elements of operand.

Min(TShape, TArray, T, TArray)

Computes the minimum of a number and each element of an array.
C#
void Min(
	TShape shape,
	TArray operand,
	T value,
	TArray result
)

Parameters

shape  TShape
The number of elements in the array.
operand  TArray
The array that holds the operands.
value  T
The number to compare to.
result  TArray
The array that holds the results.

See Also