I'm trying to create an application in java which does several matrix modifications like calculating the invereses and determinants. Now I would also like to include the option for the application to calculate the eigenvalues and the eigenvectors for matrices. Since the only 'solid' way to calculate eigenvalues, by my knowledge, is by using the characteristic formula given by:
det(A-λI) = 0
Where A is an nxn matrix and λ a real number.
To my knowledge, there is no simple, maybe none at all, way to use algebra in Java. Also I would like to program this myself, so I would like not to use external packages like Jama
or others.
Can someone explain me how I can program this equation in Java or maybe tell me another way of doing it?