double tmp[] = new double[1];
LAPACK lapack = LAPACK.getInstance();
intW info = new intW(0);
lapack.dsyevr(jobv, range, uplo, n, rx, n,
vl, vu, il, iu, abstol, m, rvalues,
rz, n, isuppz,
tmp, lwork, itmp, liwork, info);
if (info.val != 0)
throw new EvalException("error code %d from Lapack routine '%s'", info, "dsyevr");