xerbla_array.f(3)
π xerbla_array.f β LAPACK bestie edition β¨
okay so this page is straight out of the LAPACK manual (yes, the big one), and it's about one tiny little helper subroutine that's lowkey a legend. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
xerbla_array.f β that's the file, that's the vibe. periodt.
π SYNOPSIS π
Functions/Subroutines
subroutine xerbla_array (SRNAME_ARRAY, SRNAME_LEN, INFO)β XERBLA_ARRAY, the icon herself π
π¦ Function/Subroutine Documentation π¦
subroutine xerbla_array (character(1), dimension(srname_len) SRNAME_ARRAY,
integer SRNAME_LEN, integer INFO)
XERBLA_ARRAY. no cap, that's the whole name.
π Purpose π
okay so here's the tea: XERBLA_ARRAY assists other languages in calling XERBLA, the LAPACK and BLAS error handler. it's literally the bridge friend π«Ά.
so instead of taking a Fortran string argument as the function's name, XERBLA_ARRAY takes an array of single characters along with the array's length. then XERBLA_ARRAY copies up to 32 characters of that array into a Fortran string and passes that to XERBLA. and if you call it with a non-positive SRNAME_LEN, XERBLA_ARRAY will call XERBLA with a string of all blank characters β like, an empty vibe, but make it legal π.
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);
}
and honestly? iconic.
π«§ heads up bestie: providing XERBLA_ARRAY is not necessary for intercepting LAPACK errors. XERBLA_ARRAY calls XERBLA. that's it, that's the whole relationship.
πΈ Parameters πΈ
SRNAME_ARRAYβCHARACTER(1)array, dimension (SRNAME_LEN). the name of the routine which called XERBLA_ARRAY. like a little name tag at a party π.SRNAME_LENβINTEGER. the length of the name inSRNAME_ARRAY. how many characters we're working with, fr fr.INFOβINTEGER. the position of the invalid parameter in the parameter list of the calling routine. the culprit's seat number π.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four whole institutions, main character energy π.
β Date β
December 2016. vintage. retro. a classic π.
π§ Definition π§
Definition at line 82 of file BLAS/SRC/xerbla_array.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. not a human, just a very efficient little robot πβ¨.
and that's the whole page!! huge thank you to Version 3.8.0, dated Tue Nov 14 2017, for sponsoring this read π slay, bye bestie ππ
π¦ where this page comes from
- centos-stream 9: lapack 3.9.0-10.el9 Β· BSD
- centos-stream 9: lapack 3.9.0-10.el9 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms