next up previous contents
Next: PLAPACK FORTRAN-C interface Up: Triangular Matrix-Matrix Multiplication Previous: Triangular Matrix-Matrix Multiplication

Standard FORTRAN call

The FORTRAN level-3 BLAS call for this operation is

     

SUBROUTINE tex2html_wrap_inline14947 TRMM ( SIDE, UPLO, TRANS, DIAG, M, N, ALPHA, A, LDA, B, LDB )

Here tex2html_wrap_inline14949 is replaced by S, D, C, or Z to indicate the datatype of the data (single, double, complex, double precision complex). Parameter SIDE indicates whether A multiplies B from the left (SIDE = "Left") or right (SIDE = "Right"). Parameter UPLO indicates whether A is lower (UPLO = "Lower") or upper (UPLO = "Upper") triangular. Parameter TRANS indicates if A is to be transposed as part of the operation (TRANS = "No transpose", "Transpose", or "Conjugate transpose"). Parameter DIAG indicates if the diagonal of A is to be taken to equal the identity matrix (DIAG = "Unit" and tex2html_wrap_inline14961 or tex2html_wrap_inline14963 ) or the values in the matrix (DIAG = "Non unit" and A = U or A = L ). Parameters M and N pass the dimensions of matrix B . The dimension of A is determined by parameter SIDE. Parameter ALPHA holds the scaling factor tex2html_wrap_inline14973 . Parameters A and B equal the addresses of where the matrices A and B start in memory. The leading dimensions of the matrices are given in LDA and LDB.


next up previous contents
Next: PLAPACK FORTRAN-C interface Up: Triangular Matrix-Matrix Multiplication Previous: Triangular Matrix-Matrix Multiplication

rvdg@cs.utexas.edu