solve.lu.Matrix(a, b, tol=0, transpose=F, norma, tune, workspace)
This function will not attempt a solve for lu.Matrix objects for matrices that are not square.
n <- 5 a <- Matrix( rnorm(n*n), nrow = n, ncol = n)z b <- rnorm(n) z <- lu(a) # LU decomposition of a a %*% solve(z,b) - b # residual solve(z) %*% a # should be identity