Table of Contents

Method IndexOfMin

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

IndexOfMin(params double[])

Searches for the smallest value and returns the index of its occurrence in a one-dimensional array.

public static int IndexOfMin(params double[] values)

Parameters

values double[]

The one-dimensional array to search.

Returns

int

The index of the smallest value the in array, if found; otherwise -1.