cblas_isamax(_:_:_:)
Returns the index of the element with the largest absolute value in a vector (single-precision).
Declaration
func cblas_isamax(_ N: __LAPACK_int, _ X: UnsafePointer<Float>?, _ INCX: __LAPACK_int) -> __LAPACK_int
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.
Discussion
See Also
General functions