HP MLIB User's Guide Vol. 1 7th Ed.
Chapter 3 Basic Matrix Operations 329
Solve triangular systems STRSM/DTRSM/CTRSM/ZTRSM
Input side Specifies whether triangular matrix A is the left or
right matrix operand:
’L’ or ’l’ A is the left matrix operand: for
example,
’R’ or ’r’ A is the right matrix operand: for
example,
uplo Upper/lower triangular option for A:
’L’ or ’l’ A is a lower-triangular matrix
’U’ or ’u’ A is an upper-triangular matrix
transa Transposition option for A:
’N’ or ’n’ Use matrix A
−1
’T’ or ’t’ Use A
−T
, the inverse of the transpose
of A
’C’ or ’c’ Use , the inverse of the conjugate
transpose of A
In the real subprograms, ’C’ and ’c’ have the same
meaning as ’T’ and ’t’.
diag Specifies whether the A matrix is unit triangular, that
is, a
ii
= 1, or not:
’N’ or ’n’ The diagonal of A is stored in the
array
’U’ or ’u’ The diagonal of A consists of unstored
ones
When diag is supplied as ’U’ or ’u’, the diagonal
elements of A are not referenced.
m Number of rows in matrix B, m ≥ 0. If m = 0, the
subprograms do not reference a or b.
n Number of columns in matrix B, n ≥ 0. If n = 0, the
subprograms do not reference a or b.
alpha The scalar α. If alpha = 0, the subprograms compute
B ← 0 without referencing a.
B αA
1–
B←
B αBA
1–
←
A
-*