for( int i = 0; i < 10; i++ ) {
for( int N = 2; N <= 10; N++ ) {
for( int tall = 0; tall <= 2; tall++ ) {
Matrix A = Matrix.createRandom(N+tall,N);
IBidiagonalResult ans = BidiagonalRow.decompose(A);
assertNotNull(ans);
checkGeneric(A, ans);
IBidiagonalResult ansCompact = BidiagonalRow.decompose(A, true);
assertNotNull(ansCompact);
checkGenericCompact(A, ansCompact);
}
for( int wide = 1; wide <= 2; wide++ ) {
Matrix A = Matrix.createRandom(N,N+wide);
IBidiagonalResult ans = BidiagonalRow.decompose(A);
assertNotNull(ans);
checkGeneric(A, ans);
IBidiagonalResult ansCompact = BidiagonalRow.decompose(A, true);
assertNotNull(ansCompact);
checkGenericCompact(A, ansCompact);
}
}
}