Function

cblas_izamax(_:_:_:)

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

Declaration

func cblas_izamax(_ __N: Int32, _ __X: UnsafeRawPointer!, _ __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_idamax(Int32, UnsafePointer<Double>!, Int32) -> Int32

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

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

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