Tatooine
Functions
GETRF

Computes an LU factorization of a general matrix. More...

Collaboration diagram for GETRF:

Functions

template<std::floating_point Float>
auto tatooine::lapack::getrf (int M, int N, double *A, int LDA, int *IPIV) -> int
 
template<typename T , size_t M, size_t N>
auto tatooine::lapack::getrf (tensor< T, M, N > &A, tensor< int, tatooine::min(M, N)> &p)
 

Detailed Description

Computes an LU factorization of a general matrix.

Function Documentation

◆ getrf() [1/2]

template<std::floating_point Float>
auto tatooine::lapack::getrf ( int  M,
int  N,
double A,
int  LDA,
int *  IPIV 
) -> int

GETRF computes an LU factorization of a general M-by-N matrix A using partial pivoting with row interchanges.

Parameters
[in,out]AOn entry, the M-by-N matrix to be factored. On exit, the factors \(\mL\) and \(\mU\) from the factorization \(\mA = \mP\cdot\mL\cdot\mU\); the unit diagonal elements of \(\mL\) are not
[out]pDiagonal of \(\mP\) that represents the permutation Matrix. The pivot indices; for 1 <= i <= min(M,N), row i of the matrix was interchanged with row p(i).

◆ getrf() [2/2]

template<typename T , size_t M, size_t N>
auto tatooine::lapack::getrf ( tensor< T, M, N > &  A,
tensor< int, tatooine::min(M, N)> &  p 
)