From f47deeab53acebbb7d71785ba161da9b33212cf8 Mon Sep 17 00:00:00 2001 From: BARROS DE ASSIS Lucas <lucas.barros-de-assis@inria.fr> Date: Thu, 29 Aug 2019 14:05:42 +0200 Subject: [PATCH] Fixed NRHS explanation and output dimensions at TRMM function documentation --- compute/ztrmm.c | 6 ++++-- compute/ztrsm.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/compute/ztrmm.c b/compute/ztrmm.c index 87b19b1ae..f9dd90ec5 100644 --- a/compute/ztrmm.c +++ b/compute/ztrmm.c @@ -57,7 +57,8 @@ * The order of the matrix A. N >= 0. * * @param[in] NRHS - * The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0. + * The number of right hand sides, i.e., the number of columns of the matrix B if side = ChamLeft or + * the number of rows of the matrix B if side = ChamRight. NRHS >= 0. * * @param[in] alpha * alpha specifies the scalar alpha. @@ -75,7 +76,8 @@ * * @param[in,out] B * On entry, the N-by-NRHS right hand side matrix B. - * On exit, if return value = 0, the N-by-NRHS solution matrix X. + * On exit, if return value = 0, the N-by-NRHS solution matrix X if side = ChamLeft + * or the NRHS-by-N matrix X if side = ChamRight. * * @param[in] LDB * The leading dimension of the array B. LDB >= max(1,N). diff --git a/compute/ztrsm.c b/compute/ztrsm.c index 32fa777f8..a0989cef6 100644 --- a/compute/ztrsm.c +++ b/compute/ztrsm.c @@ -58,7 +58,8 @@ * The order of the matrix A. N >= 0. * * @param[in] NRHS - * The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0. + * The number of right hand sides, i.e., the number of columns of the matrix B if side = ChamLeft or + * the number of rows of the matrix B if side = ChamRight. NRHS >= 0. * * @param[in] alpha * alpha specifies the scalar alpha. @@ -76,7 +77,8 @@ * * @param[in,out] B * On entry, the N-by-NRHS right hand side matrix B. - * On exit, if return value = 0, the N-by-NRHS solution matrix X. + * On exit, if return value = 0, the N-by-NRHS solution matrix X if side = ChamLeft + * or the NRHS-by-N matrix X if side = ChamRight. * * @param[in] LDB * The leading dimension of the array B. LDB >= max(1,N). -- GitLab