SRC/slascl.f(3)
okay so this page is SRC/slascl.f from the Library Functions Manual, and it's giving LAPACK matrix-scaling realness π
no cap. Let's get into it.
πΈ NAME πΈ
SRC/slascl.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine slascl (type, kl, ku, cfrom, cto, m, n, a, lda, info)βSLASCLmultiplies a general rectangular matrix by a real scalar defined ascto/cfrom.
π«Ά Function/Subroutine Documentation π«Ά
Here's the exact signature, character for character:
subroutine slascl (character type, integer kl, integer ku, real cfrom, real cto, integer m, integer n, real, dimension( lda, * ) a, integer lda, integer info)
SLASCL multiplies a general rectangular matrix by a real scalar defined as cto/cfrom.
Purpose
SLASCL multiplies the M by N real matrix A by the real scalar CTO/CFROM. This is done without over/underflow as long as the final result CTO*A(I,J)/CFROM does not over/underflow. TYPE specifies that A may be full, upper triangular, lower triangular, upper Hessenberg, or banded.
Parameters
TYPEβ isCHARACTER*1.TYPEindexes the storage type of the input matrix.= 'G':Ais a full matrix.= 'L':Ais a lower triangular matrix.= 'U':Ais an upper triangular matrix.= 'H':Ais an upper Hessenberg matrix.= 'B':Ais a symmetric band matrix with lower bandwidthKLand upper bandwidthKUand with only the lower half stored.= 'Q':Ais a symmetric band matrix with lower bandwidthKLand upper bandwidthKUand with only the upper half stored.= 'Z':Ais a band matrix with lower bandwidthKLand upper bandwidthKU. SeeSGBTRFfor storage details.
KLβ isINTEGER. The lower bandwidth ofA. Referenced only ifTYPE = 'B','Q'or'Z'.KUβ isINTEGER. The upper bandwidth ofA. Referenced only ifTYPE = 'B','Q'or'Z'.CFROMβ isREAL. That's the whole spec here, bestie β the multiplication lore lives underCTO.CTOβ isREAL. The matrixAis multiplied byCTO/CFROM.A(I,J)is computed without over/underflow if the final resultCTO*A(I,J)/CFROMcan be represented without over/underflow.CFROMmust be nonzero.Mβ isINTEGER. The number of rows of the matrixA.M >= 0.Nβ isINTEGER. The number of columns of the matrixA.N >= 0.Aβ isREAL array, dimension (LDA,N). The matrix to be multiplied byCTO/CFROM. SeeTYPEfor the storage type.LDAβ isINTEGER. The leading dimension of the arrayA.
If TYPE = 'G', 'L', 'U', 'H', LDA >= max(1,M);
TYPE = 'B', LDA >= KL+1;
TYPE = 'Q', LDA >= KU+1;
TYPE = 'Z', LDA >= 2*KL+KU+1.
INFOβ isINTEGER.0β successful exit<0β ifINFO = -i, the i-th argument had an illegal value.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 142 of file slascl.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie π β this is from SRC/slascl.f(3) and LAPACK Version 3.12.0; the footer didn't print a date, so I'm not inventing one. Mwah π«Άβ¨
π¦ 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