ZGETRF computes an LU decomposition of a general M-by-N matrix A
using partial pivoting with row interchanges.
The decomposition 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.
Namespace: Extreme.Mathematics.LinearAlgebra.ImplementationAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public override void LUDecompose(
int m,
int n,
Array2D<Complex<double>> a,
Array1D<int> ipiv,
out int info
)
Public Overrides Sub LUDecompose (
m As Integer,
n As Integer,
a As Array2D(Of Complex(Of Double)),
ipiv As Array1D(Of Integer),
<OutAttribute> ByRef info As Integer
)
public:
virtual void LUDecompose(
int m,
int n,
Array2D<Complex<double>> a,
Array1D<int> ipiv,
[OutAttribute] int% info
) override
abstract LUDecompose :
m : int *
n : int *
a : Array2D<Complex<float>> *
ipiv : Array1D<int> *
info : int byref -> unit
override LUDecompose :
m : int *
n : int *
a : Array2D<Complex<float>> *
ipiv : Array1D<int> *
info : int byref -> unit
Parameters
- m
- Type: SystemInt32
An integer specifying the number of rows
of the matrix a. Must be greater than
or equal to zero. - n
- Type: SystemInt32
An integer specifying the number of
columns of the matrix a. Must be
greater than or equal to zero.
- a
- Type: Extreme.CollectionsArray2DComplexDouble
complex double-precision array specifying the
m-by-n matrix
to be factored. On exit, the factors L and U from the
decomposition A = P*L*U; the unit diagonal elements of
L are not stored. - ipiv
- Type: Extreme.CollectionsArray1DInt32
Integer array of length
min(m,n) that
will hold the pivot indexes. Row i of the
matrix was interchanged with row
ipiv[i]. - info
- Type: SystemInt32
Reference to an integer containing a
result code. Zero indicates success. Greater than zero
indicates U(i,i) is exactly zero. The decomposition
has been completed, but the factor U is exactly
singular, and division by zero will occur if it is used
to solve a system of equations.
Numerical Libraries
Supported in: 6.0
Reference