# Vector Extrema Calculation

Calculate the minimum and maximum values in a vector.

## Topics

### Maximum Calculation

`static func maximum<U>(U) -> Double`

Returns the maximum element of a double-precision vector.

`static func maximum<U>(U) -> Float`

Returns the maximum element of a single-precision vector.

`static func maximumMagnitude<U>(U) -> Double`

Returns the maximum magnitude element of a double-precision vector.

`static func maximumMagnitude<U>(U) -> Float`

Returns the maximum magnitude element of a single-precision vector.

`static func indexOfMaximum<U>(U) -> (UInt, Double)`

Returns the maximum element, and its index, of a double-precision vector.

`static func indexOfMaximum<U>(U) -> (UInt, Float)`

Returns the maximum element, and its index, of a signal-precision vector.

`static func indexOfMaximumMagnitude<U>(U) -> (UInt, Double)`

Returns the maximum magnitude element, and its index, of a double-precision vector.

`static func indexOfMaximumMagnitude<U>(U) -> (UInt, Float)`

Returns the maximum magnitude element, and its index, of a single-precision vector.

### Minimum Calculation

`static func minimum<U>(U) -> Double`

Returns the minimum element of a double-precision vector.

`static func minimum<U>(U) -> Float`

Returns the minimum element of a single-precision vector.

`static func indexOfMinimum<U>(U) -> (UInt, Double)`

Returns the minimum element, and its index, of a double-precision vector.

`static func indexOfMinimum<U>(U) -> (UInt, Float)`

Returns the minimum element, and its index, of a single-precision vector.