I'd like to start by saying I'm not as much of a mathematician so this may be a non-issue and is simply my lack of understanding of linear algebra. However, I have cross-referenced the code and output for SVDs very thoroughly against other implementations in other languages so this discrepancy sticks out to me.
Given a matrix M:
M = [
[5, 5, 5],
[5, 5, 5],
[5, 5, 5]
]
Running new SingularValueDecomposition returns the following left and right matrices:
The second and third columns of the resultant left and right matrices are flipped - any further operations on these will result in very strange issues.
I'd like to start by saying I'm not as much of a mathematician so this may be a non-issue and is simply my lack of understanding of linear algebra. However, I have cross-referenced the code and output for SVDs very thoroughly against other implementations in other languages so this discrepancy sticks out to me.
Given a matrix M:
Running new SingularValueDecomposition returns the following left and right matrices:
The second and third columns of the resultant left and right matrices are flipped - any further operations on these will result in very strange issues.