There is one prototype of getrf
available, please see below.
getrf( MatrixA& a, VectorIPIV& ipiv );
getrf
(short for $FRIENDLY_NAME)
provides a C++ interface to LAPACK routines SGETRF, DGETRF, CGETRF, and
ZGETRF. getrf
computes
an LU factorization of a general M-by-N matrix A using partial pivoting
with row interchanges.
The factorization has the form A = P * L * U where P is a permutation matrix, L is lower triangular with unit diagonal elements (lower trapezoidal if m > n), and U is upper triangular (upper trapezoidal if m < n).
This is the right-looking Level 3 BLAS version of the algorithm.
The selection of the LAPACK routine is done during compile-time, and
is determined by the type of values contained in type MatrixA
.
The type of values is obtained through the value_type
meta-function typename value_type<MatrixA>::type
. The dispatching table below illustrates
to which specific routine the code path will be generated.
Table 1.246. Dispatching of getrf
Value type of MatrixA |
LAPACK routine |
---|---|
|
SGETRF |
|
DGETRF |
|
CGETRF |
|
ZGETRF |
Defined in header boost/numeric/bindings/lapack/computational/getrf.hpp
.
Parameters
The definition of term 1
The definition of term 2
The definition of term 3.
Definitions may contain paragraphs.
#include <boost/numeric/bindings/lapack/computational/getrf.hpp> using namespace boost::numeric::bindings; lapack::getrf( x, y, z );
this will output
[5] 0 1 2 3 4 5