ag487 / matrix-eigenvectors

Calculates eigenvectors & eigenvalues from scratch, and as a case study decomposes an image into its principal components.
Other
1 stars 1 forks source link

This Python3 implementation is in two parts.

Find eigenvectors of matrix

Calculates eigenvectors & eigenvalues of a symmetric matrix from scratch.

I have included a theory document explaining as simply as possible the logic behind these matrix calculations, which was written for my own interest.

Compress image using eigenvectors

Case study implements the matrix calculations.

Part 1 could be replaced with numpy.linalg.eig, if you are only interested in the image decomposition.

ENDS