aux_blas(3)
πΈ NAME πΈ
aux_blas β Auxiliary BLAS, aka the little helper squad of LAPACK π (this page ships with the LAPACK manual, section 3)
π SYNOPSIS π
β¨ Functions β¨
integer function icamax (N, CX, INCX)β ICAMAXinteger function idamax (N, DX, INCX)β IDAMAXinteger function isamax (N, SX, INCX)β ISAMAXinteger function izamax (N, ZX, INCX)β IZAMAXlogical function lsame (CA, CB)β LSAMEsubroutine xerbla (SRNAME, INFO)β XERBLAsubroutine xerbla_array (SRNAME_ARRAY, SRNAME_LEN, INFO)β XERBLA_ARRAY
π« Detailed Description π«
okay so bestie, this is the whole group of Auxiliary 3 BLAS routines. that's it, that's the vibe. these are the backstage crew that make the main character routines possible π«Ά
π₯ Function Documentation π₯
π integer function icamax (integer N, complex, dimension(*) CX, integer INCX)
ICAMAX
β¨ Purpose β¨
ICAMAX finds the index of the first element having maximum |Re(.)| + |Im(.)| β like, the element with the biggest real-plus-imaginary magnitude, and she gives you the first one if there's a tie. no cap.
π― Parameters
NNisINTEGER- number of elements in input vector(s)
CXCXisCOMPLEXarray, dimension( 1 + ( N - 1 )*abs( INCX ) )
INCXINCXisINTEGER- storage spacing between elements of
CX
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π Further Details:
jack dongarra, linpack, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)
π¦ integer function idamax (integer N, double precision, dimension(*) DX, integer INCX)
IDAMAX
β¨ Purpose β¨
IDAMAX finds the index of the first element having maximum absolute value. first one wins, always π
π― Parameters
NNisINTEGER- number of elements in input vector(s)
DXDXisDOUBLE PRECISIONarray, dimension( 1 + ( N - 1 )*abs( INCX ) )
INCXINCXisINTEGER- storage spacing between elements of
DX
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π Further Details:
jack dongarra, linpack, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)
π integer function isamax (integer N, real, dimension(*) SX, integer INCX)
ISAMAX
β¨ Purpose β¨
ISAMAX finds the index of the first element having maximum absolute value. same energy as her double-precision sister, just single precision π
π― Parameters
NNisINTEGER- number of elements in input vector(s)
SXSXisREALarray, dimension( 1 + ( N - 1 )*abs( INCX ) )
INCXINCXisINTEGER- storage spacing between elements of
SX
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π Further Details:
jack dongarra, linpack, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)
π§ integer function izamax (integer N, complex*16, dimension(*) ZX, integer INCX)
IZAMAX
β¨ Purpose β¨
IZAMAX finds the index of the first element having maximum |Re(.)| + |Im(.)| β double-complex edition, she's serving the same as ICAMAX but fancier β¨
π― Parameters
NNisINTEGER- number of elements in input vector(s)
ZXZXisCOMPLEX*16array, dimension( 1 + ( N - 1 )*abs( INCX ) )
INCXINCXisINTEGER- storage spacing between elements of
ZX
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π Further Details:
jack dongarra, 1/15/85.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)
π logical function lsame (character CA, character CB)
LSAME
β¨ Purpose β¨
LSAME returns .TRUE. if CA is the same letter as CB regardless of case. she does not care about your caps lock situation, she is above it π
π― Parameters
CACAisCHARACTER*1
CBCBisCHARACTER*1CAandCBspecify the single characters to be compared.
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π subroutine xerbla (character*(*) SRNAME, integer INFO)
XERBLA
β¨ Purpose β¨
XERBLA is an error handler for the LAPACK routines. she gets called by a LAPACK routine when an input parameter has an invalid value. a message is printed and execution stops. like, dead stop. π
Installers may consider modifying the STOP statement in order to call system-specific exception-handling facilities.
bestie if you're an installer, this is your moment β the STOP statement is the thing you'd tweak. do with that what you will π
π― Parameters
SRNAMESRNAMEisCHARACTER*(*)- The name of the routine which called
XERBLA.
INFOINFOisINTEGER- The position of the invalid parameter in the parameter list of the calling routine.
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π subroutine xerbla_array (character(1), dimension(srname_len) SRNAME_ARRAY, integer SRNAME_LEN, integer INFO)
XERBLA_ARRAY
β¨ Purpose β¨
XERBLA_ARRAY assists other languages in calling XERBLA, the LAPACK and BLAS error handler. Rather than taking a Fortran string argument as the function's name, XERBLA_ARRAY takes an array of single characters along with the array's length. XERBLA_ARRAY then copies up to 32 characters of that array into a Fortran string and passes that to XERBLA. If called with a non-positive SRNAME_LEN, XERBLA_ARRAY will call XERBLA with a string of all blank characters.
Say some macro or other device makes XERBLA_ARRAY available to C99 by a name lapack_xerbla and with a common Fortran calling convention. Then a C99 program could invoke XERBLA via:
{
int flen = strlen(__func__);
lapack_xerbla(__func__, &flen, &info);
}
Providing XERBLA_ARRAY is not necessary for intercepting LAPACK errors. XERBLA_ARRAY calls XERBLA.
π― Parameters
SRNAME_ARRAYSRNAME_ARRAYisCHARACTER(1)array, dimension(SRNAME_LEN)- The name of the routine which called
XERBLA_ARRAY.
SRNAME_LENSRNAME_LENisINTEGER- The length of the name in
SRNAME_ARRAY.
INFOINFOisINTEGER- The position of the invalid parameter in the parameter list of the calling routine.
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page bestie, you ate π
β¨ this was aux_blas(3) from LAPACK Version 3.11.0, dated Sun Nov 27 2022. go forth and slay your BLAS calls ππ¦
π¦ where this page comes from
- debian bookworm: liblapack-doc 3.11.0-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms