| factory.setK(2);
PartialSingularValueDecomposition factorization = (PartialSingularValueDecomposition) factory
.factorize(A);
DoubleMatrix2D expectedU = new DenseDoubleMatrix2D(new double [] []
{
{
0, 0.752646
},
{
-0.651927, 0
},
{
-0.651927, 0
},
{
-0.387277, 0
},
{
0, 0.658425
}
});
DoubleMatrix2D expectedV = new DenseDoubleMatrix2D(new double [] []
{
{
-0.557873, 0
},
{
|