LU decomposition: Difference between revisions

Updated D entry
(Updated D entry)
(Updated D entry)
Line 713:
 
/// Creates the pivoting matrix for m.
T[][] pivotize(T)(immutable T[][] m) /*pure nothrow*/ nothrow
in {
assert(m.isSquare);
Line 741:
/// Decomposes a square matrix A by PA=LU and returns L, U and P.
Tuple!(T[][],"L", T[][],"U", const T[][],"P")
lu(T)(immutable T[][] A) /*pure nothrow*/ nothrow
in {
assert(A.isSquare);