DLASY2(3)
okay bestie, welcome to the dlasy2.f(3) page in the Library Functions Manual β itβs LAPACKβs very own DLASY2 subroutine, and she is here to solve the tiny Sylvester matrix equation for matrices of order 1 or 2. π
β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlasy2.f
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine DLASY2 (ltranl, ltranr, isgn, n1, n2, tl, ldtl, tr, ldtr, b,
ldb, scale, x, ldx, xnorm, info)
DLASY2 solves the Sylvester matrix equation where the matrices are
of order 1 or 2.
π«Ά Function/Subroutine Documentation π«Ά
subroutine DLASY2 (logical ltranl, logical ltranr, integer isgn, integer n1,
integer n2, double precision, dimension( ldtl, * ) tl, integer ldtl,
double precision, dimension( ldtr, * ) tr, integer ldtr, double
precision, dimension( ldb, * ) b, integer ldb, double precision scale,
double precision, dimension( ldx, * ) x, integer ldx, double precision
xnorm, integer info)
DLASY2 solves the Sylvester matrix equation where the matrices are of order 1 or 2. periodt.
πΈ Purpose πΈ
okay so DLASY2 solves for the N1 by N2 matrix X, with 1 <= N1,N2 <= 2, in:
op(TL)*X + ISGN*X*op(TR) = SCALE*B,
where TL is N1 by N1, TR is N2 by N2, B is N1 by N2, and ISGN = 1 or -1. op(T) = T or T**T, where T**T denotes the transpose of T. π
π Parameters π
LTRANLβ LOGICAL. On entry,LTRANLspecifies theop(TL):= .FALSE.,op(TL) = TL,= .TRUE.,op(TL) = TL**T.
LTRANRβ LOGICAL. On entry,LTRANRspecifies theop(TR):= .FALSE.,op(TR) = TR,= .TRUE.,op(TR) = TR**T.
ISGNβ INTEGER. On entry,ISGNspecifies the sign of the equation as described before.ISGNmay only be1or-1.N1β INTEGER. On entry,N1specifies the order of matrixTL.N1may only be0,1or2.N2β INTEGER. On entry,N2specifies the order of matrixTR.N2may only be0,1or2.TLβDOUBLE PRECISIONarray, dimension(LDTL,2). On entry,TLcontains anN1byN1matrix.LDTLβ INTEGER. The leading dimension of the matrixTL.LDTL >= max(1,N1).TRβDOUBLE PRECISIONarray, dimension(LDTR,2). On entry,TRcontains anN2byN2matrix.LDTRβ INTEGER. The leading dimension of the matrixTR.LDTR >= max(1,N2).BβDOUBLE PRECISIONarray, dimension(LDB,2). On entry, theN1byN2matrixBcontains the right-hand side of the equation.LDBβ INTEGER. The leading dimension of the matrixB.LDB >= max(1,N1).SCALEβ DOUBLE PRECISION. On exit,SCALEcontains the scale factor.SCALEis chosen less than or equal to1to prevent the solution overflowing.XβDOUBLE PRECISIONarray, dimension(LDX,2). On exit,Xcontains theN1byN2solution.LDXβ INTEGER. The leading dimension of the matrixX.LDX >= max(1,N1).XNORMβ DOUBLE PRECISION. On exit,XNORMis the infinity-norm of the solution.INFOβ INTEGER. On exit,INFOis set to0: successful exit.1:TLandTRhave too close eigenvalues, soTLorTRis perturbed to get a nonsingular equation.
NOTE: In the interests of speed, this routine does not check the inputs for errors. bestie, she said no input validation, we die like legends π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 172 of file dlasy2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, thatβs the whole page. The cute little footer says LAPACK Version 3.12.0 and points back to /home/abui...RC/dlasy2.f(3). Go forth and solve your tiny Sylvester situation, slay π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms