SRC/dlascl.f(3)
okay so bestie, welcome to SRC/dlascl.f(3) from the Library Functions Manual β this is the DLASCL page, and it's lowkey iconic for scaling matrices without letting them over/underflow. Let's get into it π
β¨
β¨ NAME β¨
SRC/dlascl.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dlascl (type, kl, ku, cfrom, cto, m, n, a, lda, info)βDLASCLmultiplies a general rectangular matrix by a real scalar defined ascto/cfrom.
β¨ Function/Subroutine Documentation β¨
subroutine dlascl (character type, integer kl, integer ku, double precision
cfrom, double precision cto, integer m, integer n, double precision,
dimension( lda, * ) a, integer lda, integer info)
DLASCL multiplies a general rectangular matrix by a real scalar defined as cto/cfrom.
Purpose
DLASCL 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βTYPEisCHARACTER*1. It indices 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 the only the lower half stored.= 'Q':Ais a symmetric band matrix with lower bandwidthKLand upper bandwidthKUand with the only the upper half stored.= 'Z':Ais a band matrix with lower bandwidthKLand upper bandwidthKU. SeeDGBTRFfor storage details.
KLβKLisINTEGER. The lower bandwidth ofA. Referenced only ifTYPE = 'B','Q'or'Z'.KUβKUisINTEGER. The upper bandwidth ofA. Referenced only ifTYPE = 'B','Q'or'Z'.CFROMβCFROMisDOUBLE PRECISION.CTOβCTOisDOUBLE PRECISION. 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βMisINTEGER. The number of rows of the matrixA.M >= 0.NβNisINTEGER. The number of columns of the matrixA.N >= 0.AβAisDOUBLE PRECISION array, dimension (LDA,N). The matrix to be multiplied byCTO/CFROM. SeeTYPEfor the storage type.LDAβLDAisINTEGER. 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.
- If
INFOβINFOisINTEGER.0- successful exit<0- ifINFO = -i, thei-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 dlascl.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie β source SRC/dlascl.f(3), LAPACK Version 3.12.0; the footer didn't include a date, so no invented tea here π«Άπβ¨
π¦ 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