Testing linear dependence of vectors


I wonder whether ROOT implements a function to probe linear dependence of a set of vectors. I guess this is a numerically delicate problem as one may have vectors which are linearly independent but almost dependent, e.g.
1, 0, 0
0, 1, 0
1, 0, ep
where ep is small. Can ROOT handle that? If not, is there a general way to handle this problem?

Thanks, Kaspi.


If I understand your question correctly, the information you are looking for is in the User’s Guide, Linear Algebra chapter, the part about tolerance levels for decomposition.

Hope it helps