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, B ← α A–1B

 

 

’R’ or ’r’

A is the right matrix operand: for

 

 

 

example, B ← αB A–1

 

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 AT, the inverse of the transpose

 

 

 

of A

 

 

’C’ or ’c’

Use A-* , 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, aii =

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.

Chapter 3 Basic Matrix Operations 329