ba_svd.Rd
This function performs SVD on a matrix using the built-in svd function in R. The matrix will be divided by its maximum value before computing the SVD for the purposes of numerical stability (optional). If svd fails, it automatically switches to random svd from the rsvd package. svd may fail to converge when the matrix condition number is high; this can be checked with the kappa function.
A list containing the SVD decomposition of x