Solves a system of linear equations using the LU factorization with complete pivoting computed by ?getc2.
call sgesc2( n, a, lda, rhs, ipiv, jpiv, scale )
call dgesc2( n, a, lda, rhs, ipiv, jpiv, scale )
call cgesc2( n, a, lda, rhs, ipiv, jpiv, scale )
call zgesc2( n, a, lda, rhs, ipiv, jpiv, scale )
The FORTRAN 77 interfaces are specified in the mkl_lapack.fi include file (to be used in Fortran programs) and in the mkl_lapack.h include file (to be used in C programs).
The routine solves a system of linear equations
A*X = scale*RHS
with a general n-by-n matrix A using the LU factorization with complete pivoting computed by ?getc2.
INTEGER. The order of the matrix A.
REAL for sgesc2
DOUBLE PRECISION for dgesc2
COMPLEX for cgesc2
COMPLEX*16 for zgesc2.
Arrays:
a(lda,*) contains the LU part of the factorization of the n-by-n matrix A computed by ?getc2:
A = P*L*U*Q.
The second dimension of a must be at least max(1, n);
rhs(n) contains on entry the right hand side vector for the system of equations.
INTEGER. The first dimension of a; at least max(1, n).
INTEGER.
Array, DIMENSION at least max(1,n).
The pivot indices: for 1 ≤ i ≤ n, row i of the matrix has been interchanged with row ipiv(i).
INTEGER.
Array, DIMENSION at least max(1,n).
The pivot indices: for 1 ≤ j ≤ n, column j of the matrix has been interchanged with column jpiv(j).
Copyright © 1994 - 2010, Intel Corporation. All rights reserved.