powered by
Decompose a matrix into the Cholesky
choleskymatrix(m)
a matrix
the matrix L
choleskymatrix decomposes the matrix m into the LU decomposition, such that m == L
choleskymatrix
m
Other linear: detmatrix(), gdls(), invmatrix(), iterativematrix, lumatrix(), refmatrix(), rowops, tridiagmatrix(), vecnorm()
detmatrix()
gdls()
invmatrix()
iterativematrix
lumatrix()
refmatrix()
rowops
tridiagmatrix()
vecnorm()
# NOT RUN { (A <- matrix(c(5, 1, 2, 1, 9, 3, 2, 3, 7), 3)) (L <- choleskymatrix(A)) t(L) %*% L # }
Run the code above in your browser using DataLab