40 inline void ceupp(integer rvec,
char HowMny, tensor::cdouble d[],
41 tensor::cdouble Z[], integer ldz, tensor::cdouble sigma,
42 tensor::cdouble workev[],
char bmat, integer n,
const char* which,
43 integer nev,
double tol, tensor::cdouble resid[], integer ncv,
44 tensor::cdouble V[], integer ldv, integer iparam[], integer ipntr[],
45 tensor::cdouble workd[], tensor::cdouble workl[],
46 integer lworkl,
double rwork[], integer& info)
185 logical* iselect =
new logical[ncv];
186 blas::cdouble* iZ =
reinterpret_cast<blas::cdouble*
>((Z == NULL) ? V : Z);
188 F77_FUNC(zneupd,ZNEUPD)(&rvec, &HowMny, iselect,
189 reinterpret_cast<blas::cdouble*
>(d), iZ, &ldz,
190 reinterpret_cast<blas::cdouble*>(&sigma),
191 reinterpret_cast<blas::cdouble*
>(workev),
192 &bmat, &n, which, &nev, &tol,
193 reinterpret_cast<blas::cdouble*>(resid),
194 &ncv,
reinterpret_cast<blas::cdouble*
>(V),
195 &ldv, &iparam[0], &ipntr[0],
196 reinterpret_cast<blas::cdouble*>(workd),
197 reinterpret_cast<blas::cdouble*
>(workl),
198 &lworkl, &rwork[0], &info);