answered 2017-06-03 22:22:10 -0600
There is a handy function for this, the solve function.
solve(A, b, x, DECOMP_SVD);