LASs - Linear Algebra Routines on OmpSs
1.0.0
LASs
|
LASs-DDSs ddss_dtrsm routine. More...
#include "../include/lass.h"
Go to the source code of this file.
Functions | |
int | ddss_dtrsm (enum DDSS_SIDE SIDE, enum DDSS_UPLO UPLO, enum DDSS_TRANS TRANS_A, enum DDSS_DIAG DIAG, int M, int N, const double ALPHA, double *A, int LDA, double *B, int LDB) |
LASs-DDSs ddss_dtrsm routine.
LASs-DDSs is a software package provided by: Barcelona Supercomputing Center - Centro Nacional de Supercomputacion
Definition in file ddss_dtrsm.c.
int ddss_dtrsm | ( | enum DDSS_SIDE | SIDE, |
enum DDSS_UPLO | UPLO, | ||
enum DDSS_TRANS | TRANS_A, | ||
enum DDSS_DIAG | DIAG, | ||
int | M, | ||
int | N, | ||
const double | ALPHA, | ||
double * | A, | ||
int | LDA, | ||
double * | B, | ||
int | LDB | ||
) |
Solves one of the matrix equations:
op( A ) * X = ALPHA * B, or X * op( A ) = ALPHA * B
where op( A ) is one of:
op( A ) = A or op( A ) = A**T
ALPHA is a scalar, X and B are M by N matrices, A is a unit, or non-unit, upper or lower triangular matrix. The matrix X is overwritten on B
[in] | SIDE | enum DDSS_SIDE. SIDE specifies the position of the triangular A matrix in the operations:
|
[in] | UPLO | enum DDSS_UPLO. UPLO specifies the form of A is stored:
|
[in] | TRANS_A | enum DDSS_TRANS. TRANS_A specifies the form of op( A ) to be used:
|
[in] | DIAG | enum DDSS_DIAG. DIAG specifies whether or not A is unit triangular as follows:
|
[in] | M | int. M specifies the number of rows of B. M must be at least zero. |
[in] | N | int. N specifies the number of columns of B. N must be at least zero. |
[in] | ALPHA | double. ALPHA specifies the scalar alpha. |
[in] | A | double *. A is a pointer to a matrix of dimension K by K, where K is M when SIDE = Left and is N otherwise. When UPLO = Uppper the strictly lower triangular part of A is not referenced and when UPLO = Lower the strictly upper triangular part of A is not referenced. Note that when DIAG = Unit, the diagonal elements of A are not referenced either, but are assumed to be unity. |
[in] | LDA | int. LDA specifies the number of columns of A ( row-major order ). When SIDE = Left then LDA must be at least max( 1, M ), otherwise LDA must be at least max( 1, N ). |
[in,out] | B | double *. B is a pointer to a matrix of dimension M by N. On exit the matrix B is overwritten by the solution matrix X. |
[in] | LDB | int. LDB specifies the number of columns of B ( row-major order ). LDB must be at least max( 1, N ). |
Definition at line 113 of file ddss_dtrsm.c.
References kdtrsm().