Linear Dependence: Theory and Computation