Fast interpolative decompositions in Python

View the Project on GitHub klho/PyMatrixID


An interpolative decomposition (ID) of a matrix is a factorization as a product of a skeleton matrix consisting of a subset of columns and an interpolation matrix containing the identity. Like the singular value decomposition (SVD), the ID is a powerful approximation tool. The principal advantages of using an ID instead of an SVD are that:

The ID software package by Martinsson, Rokhlin, Shkolnisky, and Tygert is a Fortran library to compute IDs using various algorithms, including the deterministic pivoted QR approach and more recent randomized methods. PyMatrixID is a Python wrapper for this package that exposes its functionality in a more convenient manner. Note that PyMatrixID does not add any functionality beyond that of organizing a simpler and more consistent interface.

PyMatrixID is freely available under the BSD license; for alternate licenses, please contact the author.

Note: PyMatrixID has been merged into SciPy 0.13 (in a slightly modified form) as scipy.linalg.interpolative by Andreas Klöckner and Pauli Virtanen. It is highly recommended to henceforth use that package instead.