Function

cblas_idamax(_:_:_:)

Returns the index of the element with the largest absolute value in a vector (double-precision).

Declaration

func cblas_idamax(_ __N: Int32, _ __X: UnsafePointer<Double>!, _ __incX: Int32) -> Int32

Parameters

N

Number of elements in the vector.

X

The vector.

incX

Stride within X. For example, if incX is 7, every 7th element is used.

Return Value

Returns an index in the range 0..N-1 corresponding with the element with the largest absolute value.

See Also

General Functions

func cblas_icamax(Int32, UnsafeRawPointer!, Int32) -> Int32

Returns the index of the element with the largest absolute value in a vector (single-precision complex).

func cblas_isamax(Int32, UnsafePointer<Float>!, Int32) -> Int32

Returns the index of the element with the largest absolute value in a vector (single-precision).

func cblas_izamax(Int32, UnsafeRawPointer!, Int32) -> Int32

Returns the index of the element with the largest absolute value in a vector (double-precision complex).