version 1.8, 2011/11/21 20:37:08
|
version 1.18, 2023/08/07 08:38:44
|
Line 2
|
Line 2
|
* |
* |
* =========== DOCUMENTATION =========== |
* =========== DOCUMENTATION =========== |
* |
* |
* Online html documentation available at |
* Online html documentation available at |
* http://www.netlib.org/lapack/explore-html/ |
* http://www.netlib.org/lapack/explore-html/ |
* |
* |
* Definition: |
* Definition: |
* =========== |
* =========== |
* |
* |
* INTEGER FUNCTION IDAMAX(N,DX,INCX) |
* INTEGER FUNCTION IDAMAX(N,DX,INCX) |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
* INTEGER INCX,N |
* INTEGER INCX,N |
* .. |
* .. |
* .. Array Arguments .. |
* .. Array Arguments .. |
* DOUBLE PRECISION DX(*) |
* DOUBLE PRECISION DX(*) |
* .. |
* .. |
* |
* |
* |
* |
*> \par Purpose: |
*> \par Purpose: |
* ============= |
* ============= |
*> |
*> |
*> \verbatim |
*> \verbatim |
*> |
*> |
*> IDAMAX finds the index of element having max. absolute value. |
*> IDAMAX finds the index of the first element having maximum absolute value. |
|
*> \endverbatim |
|
* |
|
* Arguments: |
|
* ========== |
|
* |
|
*> \param[in] N |
|
*> \verbatim |
|
*> N is INTEGER |
|
*> number of elements in input vector(s) |
|
*> \endverbatim |
|
*> |
|
*> \param[in] DX |
|
*> \verbatim |
|
*> DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
|
*> \endverbatim |
|
*> |
|
*> \param[in] INCX |
|
*> \verbatim |
|
*> INCX is INTEGER |
|
*> storage spacing between elements of DX |
*> \endverbatim |
*> \endverbatim |
* |
* |
* Authors: |
* Authors: |
* ======== |
* ======== |
* |
* |
*> \author Univ. of Tennessee |
*> \author Univ. of Tennessee |
*> \author Univ. of California Berkeley |
*> \author Univ. of California Berkeley |
*> \author Univ. of Colorado Denver |
*> \author Univ. of Colorado Denver |
*> \author NAG Ltd. |
*> \author NAG Ltd. |
* |
|
*> \date November 2011 |
|
* |
* |
*> \ingroup aux_blas |
*> \ingroup aux_blas |
* |
* |
Line 51
|
Line 69
|
* ===================================================================== |
* ===================================================================== |
INTEGER FUNCTION IDAMAX(N,DX,INCX) |
INTEGER FUNCTION IDAMAX(N,DX,INCX) |
* |
* |
* -- Reference BLAS level1 routine (version 3.4.0) -- |
* -- Reference BLAS level1 routine -- |
* -- Reference BLAS is a software package provided by Univ. of Tennessee, -- |
* -- Reference BLAS is a software package provided by Univ. of Tennessee, -- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* November 2011 |
|
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
INTEGER INCX,N |
INTEGER INCX,N |
Line 103
|
Line 120
|
END DO |
END DO |
END IF |
END IF |
RETURN |
RETURN |
|
* |
|
* End of IDAMAX |
|
* |
END |
END |