public static void testBlockQrWithSSVD(int dims, int kp, int r, long rndSeed) throws IOException {
DenseMatrix mx = new DenseMatrix(dims << 2, dims);
Random rnd = RandomUtils.getRandom();
for (int i = 0; i < mx.rowSize(); i++) {
for (int j = 0; j < mx.columnSize(); j++) {
mx.set(i, j, (rnd.nextDouble() - 0.5) * 1000);
}
}
mx.setQuick(0, 0, 1);