ManagedArrayFunctions<T>.Min Method

Definition

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

Overload List

Min(Int32, ArraySlice<T>) Computes the minimum of all elements in the array.
Min(Int32, ArraySlice<T>, T, ArraySlice<T>) Computes the minimum of a number and each element of an array.

Min(Int32, ArraySlice<T>)

Computes the minimum of all elements in the array.
C#
public virtual T Min(
	int length,
	ArraySlice<T> operand
)

Parameters

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

Return Value

T
The minimum of the elements of operand.

Implements

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

Min(Int32, ArraySlice<T>, T, ArraySlice<T>)

Computes the minimum of a number and each element of an array.
C#
public virtual void Min(
	int length,
	ArraySlice<T> operand,
	T value,
	ArraySlice<T> result
)

Parameters

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

Implements

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

See Also