getrf2#
Functions
-
void sgetrf2(const INT m, const INT n, f32 *restrict A, const INT lda, INT *restrict ipiv, INT *info)#
Computes an LU factorization of a general
m-by-nmatrixAusing partial pivoting with row interchanges (recursive algorithm).The factorization has the form
where P is a permutation matrix, L is lower triangular with unit diagonal elements, and U is upper triangular.A = P * L * U
This is a recursive version that achieves better cache utilization than the iterative unblocked algorithm for medium-sized matrices. For small panels (
n<=RECURSION_THRESHOLD), it falls back to the unblocked sgetf2.Parameters
inmThe number of rows of the matrix
A.m>=0.innThe number of columns of the matrix
A.n>=0.inoutAArray of dimension (
lda,n). On entry, them-by-nmatrix to be factored. On exit, the factors L and U from the factorization; the unit diagonal elements of L are not stored.inldaThe leading dimension of the array
A.lda>=max(1,m).outipivArray of dimension
min(m,n). The pivot indices; row i was interchanged with rowipiv[i].outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i, U(i,i) is exactly zero. The factorization has been completed, but U is exactly singular.
void sgetrf2(
const INT m,
const INT n,
f32* restrict A,
const INT lda,
INT* restrict ipiv,
INT* info
);
Functions
-
void dgetrf2(const INT m, const INT n, f64 *restrict A, const INT lda, INT *restrict ipiv, INT *info)#
Computes an LU factorization of a general
m-by-nmatrixAusing partial pivoting with row interchanges (recursive algorithm).The factorization has the form
where P is a permutation matrix, L is lower triangular with unit diagonal elements, and U is upper triangular.A = P * L * U
This is a recursive version that achieves better cache utilization than the iterative unblocked algorithm for medium-sized matrices. For small panels (
n<=RECURSION_THRESHOLD), it falls back to the unblocked dgetf2.Parameters
inmThe number of rows of the matrix
A.m>=0.innThe number of columns of the matrix
A.n>=0.inoutAArray of dimension (
lda,n). On entry, them-by-nmatrix to be factored. On exit, the factors L and U from the factorization; the unit diagonal elements of L are not stored.inldaThe leading dimension of the array
A.lda>=max(1,m).outipivArray of dimension
min(m,n). The pivot indices; row i was interchanged with rowipiv[i].outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i, U(i,i) is exactly zero. The factorization has been completed, but U is exactly singular.
void dgetrf2(
const INT m,
const INT n,
f64* restrict A,
const INT lda,
INT* restrict ipiv,
INT* info
);
Functions
-
void cgetrf2(const INT m, const INT n, c64 *restrict A, const INT lda, INT *restrict ipiv, INT *info)#
Computes an LU factorization of a general
m-by-nmatrixAusing partial pivoting with row interchanges (recursive algorithm).The factorization has the form
where P is a permutation matrix, L is lower triangular with unit diagonal elements, and U is upper triangular.A = P * L * U
This is a recursive version that achieves better cache utilization than the iterative unblocked algorithm for medium-sized matrices. For small panels (
n<=RECURSION_THRESHOLD), it falls back to the unblocked cgetf2.Parameters
inmThe number of rows of the matrix
A.m>=0.innThe number of columns of the matrix
A.n>=0.inoutAArray of dimension (
lda,n). On entry, them-by-nmatrix to be factored. On exit, the factors L and U from the factorization; the unit diagonal elements of L are not stored.inldaThe leading dimension of the array
A.lda>=max(1,m).outipivArray of dimension
min(m,n). The pivot indices; row i was interchanged with rowipiv[i].outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i, U(i,i) is exactly zero. The factorization has been completed, but U is exactly singular.
void cgetrf2(
const INT m,
const INT n,
c64* restrict A,
const INT lda,
INT* restrict ipiv,
INT* info
);
Functions
-
void zgetrf2(const INT m, const INT n, c128 *restrict A, const INT lda, INT *restrict ipiv, INT *info)#
Computes an LU factorization of a general
m-by-nmatrixAusing partial pivoting with row interchanges (recursive algorithm).The factorization has the form
where P is a permutation matrix, L is lower triangular with unit diagonal elements, and U is upper triangular.A = P * L * U
This is a recursive version that achieves better cache utilization than the iterative unblocked algorithm for medium-sized matrices. For small panels (
n<=RECURSION_THRESHOLD), it falls back to the unblocked zgetf2.Parameters
inmThe number of rows of the matrix
A.m>=0.innThe number of columns of the matrix
A.n>=0.inoutAArray of dimension (
lda,n). On entry, them-by-nmatrix to be factored. On exit, the factors L and U from the factorization; the unit diagonal elements of L are not stored.inldaThe leading dimension of the array
A.lda>=max(1,m).outipivArray of dimension
min(m,n). The pivot indices; row i was interchanged with rowipiv[i].outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i, U(i,i) is exactly zero. The factorization has been completed, but U is exactly singular.
void zgetrf2(
const INT m,
const INT n,
c128* restrict A,
const INT lda,
INT* restrict ipiv,
INT* info
);