strsm - solve one of the matrix equations op( A )*X = alpha*B, or X*op( A ) = alpha*B
SUBROUTINE STRSM( SIDE, UPLO, TRANSA, DIAG, M, N, ALPHA, A, LDA, B, * LDB) CHARACTER * 1 SIDE, UPLO, TRANSA, DIAG INTEGER M, N, LDA, LDB REAL ALPHA REAL A(LDA,*), B(LDB,*)
SUBROUTINE STRSM_64( SIDE, UPLO, TRANSA, DIAG, M, N, ALPHA, A, LDA, * B, LDB) CHARACTER * 1 SIDE, UPLO, TRANSA, DIAG INTEGER*8 M, N, LDA, LDB REAL ALPHA REAL A(LDA,*), B(LDB,*)
SUBROUTINE TRSM( SIDE, UPLO, [TRANSA], DIAG, [M], [N], ALPHA, A, * [LDA], B, [LDB]) CHARACTER(LEN=1) :: SIDE, UPLO, TRANSA, DIAG INTEGER :: M, N, LDA, LDB REAL :: ALPHA REAL, DIMENSION(:,:) :: A, B
SUBROUTINE TRSM_64( SIDE, UPLO, [TRANSA], DIAG, [M], [N], ALPHA, A, * [LDA], B, [LDB]) CHARACTER(LEN=1) :: SIDE, UPLO, TRANSA, DIAG INTEGER(8) :: M, N, LDA, LDB REAL :: ALPHA REAL, DIMENSION(:,:) :: A, B
#include <sunperf.h>
void strsm(char side, char uplo, char transa, char diag, int m, int n, float alpha, float *a, int lda, float *b, int ldb);
void strsm_64(char side, char uplo, char transa, char diag, long m, long n, float alpha, float *a, long lda, float *b, long ldb);
strsm solves one of the matrix equations op( A )*X = alpha*B, or X*op( A ) = alpha*B where alpha is a scalar, X and B are m by n matrices, A is a unit, or non-unit, upper or lower triangular matrix and op( A ) is one of
op( A ) = A or op( A ) = A'.
The matrix X is overwritten on B.
SIDE = 'L' or 'l' op( A )*X = alpha*B.
SIDE = 'R' or 'r' X*op( A ) = alpha*B.
Unchanged on exit.
UPLO = 'U' or 'u' A is an upper triangular matrix.
UPLO = 'L' or 'l' A is a lower triangular matrix.
Unchanged on exit.
TRANSA = 'N' or 'n' op( A ) = A.
TRANSA = 'T' or 't' op( A ) = A'.
TRANSA = 'C' or 'c' op( A ) = A'.
Unchanged on exit.
DIAG = 'U' or 'u' A is assumed to be unit triangular.
DIAG = 'N' or 'n' A is not assumed to be unit triangular.
Unchanged on exit.
Before entry with UPLO = 'U' or 'u', the leading k by k upper triangular part of the array A must contain the upper triangular matrix and the strictly lower triangular part of A is not referenced.
Before entry with UPLO = 'L' or 'l', the leading k by k lower triangular part of the array A must contain the lower triangular matrix and the strictly upper triangular part of A is not referenced.
Note that when DIAG = 'U' or 'u', the diagonal elements of A are not referenced either, but are assumed to be one. Unchanged on exit.