Header menu logo Euclid

Arr Module

An internal module with functions for working with arrays.

Functions and values

Function or value Description

maxIndex xs

Full Usage: maxIndex xs

Parameters:
    xs : 'T[]

Returns: int

Returns the index of the biggest element.

xs : 'T[]
Returns: int

minIndex xs

Full Usage: minIndex xs

Parameters:
    xs : 'T[]

Returns: int

Returns the index of the smallest element.

xs : 'T[]
Returns: int

Type something to start searching.