@Test
public void decomposeQR_block_col() {
DenseMatrix64F A = RandomMatrices.createRandom(r*2+r-1,r,-1,1,rand);
BlockMatrix64F Ab = BlockMatrixOps.convert(A,r);
QRDecompositionHouseholderTran algTest = new QRDecompositionHouseholderTran();
assertTrue(algTest.decompose(A));
double gammas[] = new double[A.numCols];
BlockHouseHolder.decomposeQR_block_col(r,new D1Submatrix64F(Ab),gammas);
DenseMatrix64F expected = CommonOps.transpose(algTest.getQR(),null);
assertTrue(GenericMatrixOps.isEquivalent(expected,Ab,1e-8));
}