LUDecomposition (LUD)
LU decomposition for ordinary matrices.
(1) -> )expose LUDecomposition
LUDecomposition is now explicitly exposed in frame initial A:=matrix [[subscript('a,[10*i+j]) for i in 1..3] for j in 1..3]
diagProduct(x) == reduce(*,[x(i, i) for i in 1..nrows(x)])
B:=LUDecomp A;
B.LU
B.Perm
B.Pivots
diagProduct(B.LU)=determinant A
Compiling function diagProduct with type Matrix(Fraction(Polynomial( Integer))) -> Fraction(Polynomial(Integer))
%::Boolean