In-place transpose of a general square matrix

SGETRA/DGETRA/CGETRA/ZGETRA

Notes If an error in the arguments is detected, the subprograms call error handler XERBLA, which writes an error message onto the standard error file and terminates execution. The standard version of XERBLA (refer to the end of this chapter) can be replaced with a user-supplied version to change the error procedure. Error conditions are

trans != ‘T’ or ‘t’ or ‘C’ or ‘c’ n < 0, and

lda < max(n,1)

Actual character arguments in a subroutine call may be longer than the corresponding dummy arguments. Therefore, readability of the CALL statement may be improved by coding the trans argument as ‘Transposed’ for ‘T’, or ‘Conjugate-Transposed’ for ‘C’.

Chapter 3 Basic Matrix Operations 243