# Vector-to-Vector Minima and Maxima

No overview available.

## Topics

### Vector-to-Vector Minima

`static func minimum<U>(U, U) -> [Double]`

Returns a double-precision array containing the minimum of the corresponding values of two vectors.

`static func minimum<U>(U, U) -> [Float]`

Returns a single-precision array containing the minimum of the corresponding values of two vectors.

`static func minimum<U, V>(U, U, result: inout V)`

Calculates the double-precision minimum of the corresponding values of two vectors.

`static func minimum<U, V>(U, U, result: inout V)`

Calculates the single-precision minimum of the corresponding values of two vectors.

`func vDSP_vmin(UnsafePointer<Float>, vDSP_Stride, UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length)`

Calculates the single-precision minimum of the corresponding values of two vectors using specified strides.

`func vDSP_vminD(UnsafePointer<Double>, vDSP_Stride, UnsafePointer<Double>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)`

Calculates the double-precision minimum of the corresponding values of two vectors using specified strides.

`func vDSP_vminmg(UnsafePointer<Float>, vDSP_Stride, UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length)`

Calculates the single-precision minimum magnitude of the corresponding values of two vectors using specified strides.

`func vDSP_vminmgD(UnsafePointer<Double>, vDSP_Stride, UnsafePointer<Double>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)`

Calculates the double-precision minimum magnitude of the corresponding values of two vectors using specified strides.

### Vector-to-Vector Maxima

`static func maximum<U>(U, U) -> [Double]`

Returns a double-precision array containing the maximum of the corresponding values of two vectors.

`static func maximum<U>(U, U) -> [Float]`

Returns a single-precision array containing the maximum of the corresponding values of two vectors.

`static func maximum<U, V>(U, U, result: inout V)`

Calculates the maximum of the corresponding double-precision values of two vectors.

`static func maximum<U, V>(U, U, result: inout V)`

Calculates the maximum of the corresponding single-precision values of two vectors.

`func vDSP_vmax(UnsafePointer<Float>, vDSP_Stride, UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length)`

Calculates the single-precision maximum of the corresponding values of two vectors using specified strides.

`func vDSP_vmaxD(UnsafePointer<Double>, vDSP_Stride, UnsafePointer<Double>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)`

Calculates the double-precision maximum of the corresponding values of two vectors using specified strides.

`func vDSP_vmaxmg(UnsafePointer<Float>, vDSP_Stride, UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length)`

Calculates the single-precision maximum magnitude of the corresponding values of two vectors using specified strides.

`func vDSP_vmaxmgD(UnsafePointer<Double>, vDSP_Stride, UnsafePointer<Double>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)`

Calculates the double-precision maximum magnitude of the corresponding values of two vectors using specified strides.