c pairs are kept together and the associated Ritz estimates are located in
c WORKL(IPNTR(8)), WORKL(IPNTR(8)+1), ... , WORKL(IPNTR(8)+NCV-1).
c
c-----------------------------------------------------------------------
*/
ARPACK arpack = ARPACK.getInstance();
do
{
arpack.dnaupd(ido, bmat, n, which, nev, tol, resid, ncv, v, n, iparam, ipntr, workd,
workl, lworkl, info);
// The algorithm is done => skip the rest of the loop
if (ido.val == 99)
{