assertEquals(off[i],A_found.get(i,i+1),1e-8);
}
}
public static SvdImplicitQrAlgorithm createHelper( DenseMatrix64F a ) {
BidiagonalDecompositionRow bidiag = new BidiagonalDecompositionRow();
assertTrue(bidiag.decompose(a.<DenseMatrix64F>copy()));
double diag[] = new double[a.numRows];
double off[] = new double[ diag.length-1 ];
bidiag.getDiagonal(diag,off);
return createHelper(a.numRows,a.numCols,diag,off);
}