I am using jama libarary for matrix. I used following matrix but when i tried to get S, it gave me error.
I am using jama to calculate SVD. It work very good. If i pass square matrix. For example 2x2 or 3x3 etc. matrix. But when I pass some thing like this 2x3 or 4x8 it give
I am trying to use Jama package in my code in Linux. In my Main class, I am trying to use Matrix class.