Anonymous user
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
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
in {
assert(A.isSquare);
|