Hi Marcus
Here is a code snippet which I've tested and yields different results:
X has some minor differences. for instance:
the value X[0,0] the first time is "-0.0078527626357212" and the second time it is: "-0.0078527626357214"
R is very different each time I run the program.
I'm adding links to the input matrix _L and to the other matrixs in case it will help in any way.
_L: https://dl.dropboxusercontent.com/u/48902173/Matrix/matrix%20L2-19-19-27.xlsx
results of first run:
X: https://dl.dropboxusercontent.com/u/48902173/Matrix/matrix%20X1-19-12-09.xlsx
R: https://dl.dropboxusercontent.com/u/48902173/Matrix/matrix%20R1-19-12-10.xlsx
results of second run:
X: https://dl.dropboxusercontent.com/u/48902173/Matrix/matrix%20X2-19-19-35.xlsx
R: https://dl.dropboxusercontent.com/u/48902173/Matrix/matrix%20R2-19-19-35.xlsx
Thanks you very much
Guy
Here is a code snippet which I've tested and yields different results:
private void testFunction()
{
_denseSvd = new DenseSvd(_L, true);
Matrix<double> U = _denseSvd.U();
DenseMatrix X = (DenseMatrix) U.SubMatrix(0, U.RowCount, 0, 6);
DenseSvd denseSvd = new DenseSvd(X, true);
Matrix<double> R = denseSvd.VT();
}
The input matrix _L is 100% identical every time i run my program.X has some minor differences. for instance:
the value X[0,0] the first time is "-0.0078527626357212" and the second time it is: "-0.0078527626357214"
R is very different each time I run the program.
I'm adding links to the input matrix _L and to the other matrixs in case it will help in any way.
_L: https://dl.dropboxusercontent.com/u/48902173/Matrix/matrix%20L2-19-19-27.xlsx
results of first run:
X: https://dl.dropboxusercontent.com/u/48902173/Matrix/matrix%20X1-19-12-09.xlsx
R: https://dl.dropboxusercontent.com/u/48902173/Matrix/matrix%20R1-19-12-10.xlsx
results of second run:
X: https://dl.dropboxusercontent.com/u/48902173/Matrix/matrix%20X2-19-19-35.xlsx
R: https://dl.dropboxusercontent.com/u/48902173/Matrix/matrix%20R2-19-19-35.xlsx
Thanks you very much
Guy