getc2#
Functions
-
void sgetc2(const INT n, f32 *restrict A, const INT lda, INT *restrict ipiv, INT *restrict jpiv, INT *info)#
SGETC2 computes an LU factorization with complete pivoting of the
n-by-nmatrixA.The factorization has the form
where P and Q are permutation matrices, L is lower triangular with unit diagonal elements and U is upper triangular.A = P * L * U * Q
This is the Level 2 BLAS algorithm.
Parameters
innThe order of the matrix
A.n>=0.inoutAArray of dimension (
lda,n). On entry, then-by-nmatrixAto be factored. On exit, the factors L and U from the factorization A = P*L*U*Q; the unit diagonal elements of L are not stored. If U(k,k) appears to be less thansmin, U(k,k) is given the value ofsmin, i.e., giving a nonsingular perturbed system.inldaThe leading dimension of the array
A.lda>=max(1,n).outipivArray of dimension
n. The pivot indices; for0<=i<n, row i of the matrix has been interchanged with rowipiv[i].outjpivArray of dimension
n. The pivot indices; for0<=j<n, column j of the matrix has been interchanged with columnjpiv[j].outinfoinfo=0: successful exitinfo>0: ifinfo=k, U(k,k) is likely to produce overflow if we try to solve for x in Ax = b. So U is perturbed to avoid the overflow.
void sgetc2(
const INT n,
f32* restrict A,
const INT lda,
INT* restrict ipiv,
INT* restrict jpiv,
INT* info
);
Functions
-
void dgetc2(const INT n, f64 *restrict A, const INT lda, INT *restrict ipiv, INT *restrict jpiv, INT *info)#
DGETC2 computes an LU factorization with complete pivoting of the
n-by-nmatrixA.The factorization has the form
where P and Q are permutation matrices, L is lower triangular with unit diagonal elements and U is upper triangular.A = P * L * U * Q
This is the Level 2 BLAS algorithm.
Parameters
innThe order of the matrix
A.n>=0.inoutAArray of dimension (
lda,n). On entry, then-by-nmatrixAto be factored. On exit, the factors L and U from the factorization A = P*L*U*Q; the unit diagonal elements of L are not stored. If U(k,k) appears to be less thansmin, U(k,k) is given the value ofsmin, i.e., giving a nonsingular perturbed system.inldaThe leading dimension of the array
A.lda>=max(1,n).outipivArray of dimension
n. The pivot indices; for0<=i<n, row i of the matrix has been interchanged with rowipiv[i].outjpivArray of dimension
n. The pivot indices; for0<=j<n, column j of the matrix has been interchanged with columnjpiv[j].outinfoinfo=0: successful exitinfo>0: ifinfo=k, U(k,k) is likely to produce overflow if we try to solve for x in Ax = b. So U is perturbed to avoid the overflow.
void dgetc2(
const INT n,
f64* restrict A,
const INT lda,
INT* restrict ipiv,
INT* restrict jpiv,
INT* info
);
Functions
-
void cgetc2(const INT n, c64 *restrict A, const INT lda, INT *restrict ipiv, INT *restrict jpiv, INT *info)#
CGETC2 computes an LU factorization with complete pivoting of the
n-by-nmatrixA.The factorization has the form
where P and Q are permutation matrices, L is lower triangular with unit diagonal elements and U is upper triangular.A = P * L * U * Q
This is the Level 2 BLAS algorithm.
Parameters
innThe order of the matrix
A.n>=0.inoutAArray of dimension (
lda,n). On entry, then-by-nmatrixAto be factored. On exit, the factors L and U from the factorization A = P*L*U*Q; the unit diagonal elements of L are not stored. If U(k,k) appears to be less thansmin, U(k,k) is given the value ofsmin, i.e., giving a nonsingular perturbed system.inldaThe leading dimension of the array
A.lda>=max(1,n).outipivArray of dimension
n. The pivot indices; for0<=i<n, row i of the matrix has been interchanged with rowipiv[i].outjpivArray of dimension
n. The pivot indices; for0<=j<n, column j of the matrix has been interchanged with columnjpiv[j].outinfoinfo=0: successful exitinfo>0: ifinfo=k, U(k,k) is likely to produce overflow if we try to solve for x in Ax = b. So U is perturbed to avoid the overflow.
void cgetc2(
const INT n,
c64* restrict A,
const INT lda,
INT* restrict ipiv,
INT* restrict jpiv,
INT* info
);
Functions
-
void zgetc2(const INT n, c128 *restrict A, const INT lda, INT *restrict ipiv, INT *restrict jpiv, INT *info)#
ZGETC2 computes an LU factorization with complete pivoting of the
n-by-nmatrixA.The factorization has the form
where P and Q are permutation matrices, L is lower triangular with unit diagonal elements and U is upper triangular.A = P * L * U * Q
This is the Level 2 BLAS algorithm.
Parameters
innThe order of the matrix
A.n>=0.inoutAArray of dimension (
lda,n). On entry, then-by-nmatrixAto be factored. On exit, the factors L and U from the factorization A = P*L*U*Q; the unit diagonal elements of L are not stored. If U(k,k) appears to be less thansmin, U(k,k) is given the value ofsmin, i.e., giving a nonsingular perturbed system.inldaThe leading dimension of the array
A.lda>=max(1,n).outipivArray of dimension
n. The pivot indices; for0<=i<n, row i of the matrix has been interchanged with rowipiv[i].outjpivArray of dimension
n. The pivot indices; for0<=j<n, column j of the matrix has been interchanged with columnjpiv[j].outinfoinfo=0: successful exitinfo>0: ifinfo=k, U(k,k) is likely to produce overflow if we try to solve for x in Ax = b. So U is perturbed to avoid the overflow.
void zgetc2(
const INT n,
c128* restrict A,
const INT lda,
INT* restrict ipiv,
INT* restrict jpiv,
INT* info
);