I want to extract linearly independent samples from a matrix. For which I want to use eigen values. But the issue is numpy/scipy based functions give sorted list of eigen values. Through which I loose the information that which eigen value corresponds to which row vector of original matrix, in order to carefully drop them.
I tried to create my own code to compute eigen values as:
numpy.linalg.solve(numpy.linalg.det(I,A))
where, A is the original matrix and I is identity. But this gives error and is incorrect. What way I can solve this problem?