LASs - Linear Algebra Routines on OmpSs
1.0.0
LASs
|
LASs-DDSs ddss_dnpgesv routine. More...
#include "../include/lass.h"
Go to the source code of this file.
Functions | |
int | ddss_dnpgesv (int N, int NRHS, double *A, int LDA, double *B, int LDB) |
LASs-DDSs ddss_dnpgesv routine.
LASs-DDSs is a software package provided by: Barcelona Supercomputing Center - Centro Nacional de Supercomputacion
Definition in file ddss_dnpgesv.c.
int ddss_dnpgesv | ( | int | N, |
int | NRHS, | ||
double * | A, | ||
int | LDA, | ||
double * | B, | ||
int | LDB | ||
) |
Solves a system of linear equations A X = B, where A is a N-by-N general matrix and X and B are N-by-NRHS matrices. The matrix A is factorized using the LU descomposition without pivoting. The matrix A is descomposed as:
A = L * U
where L is a lower triangular matrix with unit diagonal elements and U is an upper triangular matrix.
[in] | N | int. N specifies the order of the square matrix A. N >= 0. |
[in] | NRHS | int. NRHS specifies the number of right-hand-sides (number of columns of B). NRHS >= 0. |
[in,out] | A | double *. A is a pointer to a regular matrix of dimension N-by-LDA. On exit, if return value is Success, the matrix A is overwriten by the factors L and U. The unit diagonal elements of L are not stored. |
[in] | LDA | int. LDA specifies the number of columns of A ( row-major order ). LDA must be at least max( 1, N ). |
[in,out] | B | double *. B is a pointer to a matrix of dimension N by NRHS, which stores the right-hand-sides of the systems of linear equations. (row-major order). On exit, if return value is Success, the matrix B is overwriten 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, NRHS ). |
Success | successful exit |
NoSuccess | unsuccessful exit |
Definition at line 84 of file ddss_dnpgesv.c.
References kdnpgesv().