xerbla_array(3)
π
xerbla_array(3) β Library Functions Manual π
okay bestie, welcome to xerbla_array, the little helper thatβs literally here to make error reporting from C hit different. Itβs giving βLAPACK/BLAS error handlerβs bilingual bestie,β and Iβm obsessed. π«Ά
β¨ NAME β¨
xerbla_array β xerbla_array: error reporting, callable from C. no cap, thatβs the whole name vibe. π
π¦ SYNOPSIS π¦
πΈ Functions πΈ
subroutine xerbla_array (srname_array, srname_len, info)
XERBLA_ARRAY β yes, thatβs the icon itself. π
π₯ DETAILED DESCRIPTION π₯
bestie, this section is where the deep lore would live, and the actual details are right below in the function documentation. keep scrolling, itβs worth it. π
π FUNCTION DOCUMENTATION π
π§ subroutine xerbla_array π§
subroutine xerbla_array (character(1), dimension(srname_len) srname_array,
integer srname_len, integer info)
XERBLA_ARRAY
π Purpose π
Okay so picture this: XERBLA_ARRAY helps other languages call XERBLA, aka the LAPACK and BLAS error handler. iconic behavior, honestly. π«Ά
Instead of taking a Fortran string argument as the functionβs name, XERBLA_ARRAY takes an array of single characters plus the arrayβs length. then XERBLA_ARRAY copies up to 32 characters of that array into a Fortran string and passes that string to XERBLA. the way that works is lowkey elegant. β¨
If itβs called with a non-positive SRNAME_LEN, XERBLA_ARRAY will call XERBLA with a string of all blank characters. periodt. π
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. thatβs it, thatβs the tea. π
π Parameters π
SRNAME_ARRAYβSRNAME_ARRAYis aCHARACTER(1)array, dimension(SRNAME_LEN). Itβs the name of the routine which calledXERBLA_ARRAY. main character energy, fr fr. πSRNAME_LENβSRNAME_LENisINTEGER. Itβs the length of the name inSRNAME_ARRAY. we love a clean length parameter. πINFOβINFOisINTEGER. Itβs the position of the invalid parameter in the parameter list of the calling routine. telling you exactly where the chaos happened. π₯
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 89 of file xerbla_array.f. literally right there if you need to peek at the source, bestie. π¦
π AUTHOR π
Generated automatically by Doxygen for LAPACK from the source code. yes, the docs were generated, and they ate. π
cute little footer sign-off: this page is from LAPACK, Version 3.12.0 β and the original footer doesnβt give a date, so Iβm not gonna invent one, bestie. π Thatβs the source/version energy at the very end. π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms