Main function to solve efficiently and quickly a symmetric bandlinear system. Theses systems are solved much faster than standards system, dropping from complexity O(n<U+00B3>) to O(0.5*nk<U+00B2>), where k is the number of sub diagonal.
Usage
bandsolve(A, b = NULL, inplace = FALSE)
Arguments
A
Band square matrix in rotated form. The rotated form can be obtained with the function as.rotated: it's the visual rotation by 90 degrees of the matrix, where subdiagonal are discarded.
b
right hand side of the equation. Can be either a vector or a matrix. If not supplied, the function return the inverse of A.
inplace
Should results overwrite pre-existing data? Default set to false.