Closed ibasin closed 3 months ago
In the method MathNet.Numerics.Providers.LinearAlgebra.SingularValueDecomposition.ManagedLinearAlgebraProvider:
// Place the transformation in v for subsequent back multiplication. for (i = lp1; i < columnsA; i++) { v[(l*columnsA) + i] = e[i]; }
v is a vector here, and l is always 0, so the code should be changed to:
// Place the transformation in v for subsequent back multiplication. for (i = lp1; i < columnsA; i++) { v[i] = e[i]; }
I think I may have been wrong on this one.
In the method MathNet.Numerics.Providers.LinearAlgebra.SingularValueDecomposition.ManagedLinearAlgebraProvider:
// Place the transformation in v for subsequent back multiplication. for (i = lp1; i < columnsA; i++) { v[(l*columnsA) + i] = e[i]; }
v is a vector here, and l is always 0, so the code should be changed to:
// Place the transformation in v for subsequent back multiplication. for (i = lp1; i < columnsA; i++) { v[i] = e[i]; }