internal ar_result GetEigenvalueStorage(List <GCHandle> handles) { ar_result e = default(ar_result); e.eigvalr = InteropHelper.Pin(eigvalr, handles); e.eigvali = InteropHelper.Pin(eigvali, handles); e.eigvec = InteropHelper.Pin(eigvec, handles); e.info = 0; return(e); }
public static extern int ar_si_sg_shift(StringBuilder which, char mode, int k, int ncv, int maxit, double tol, float sigma, ref ar_spmat A, ref ar_spmat B, ref ar_result eigs);
public static extern int ar_si_sg(StringBuilder which, int k, int ncv, int maxit, double tol, ref ar_spmat A, ref ar_spmat B, ref ar_result eigs);
public static extern int ar_zi_ng_shift(StringBuilder which, int k, int ncv, int maxit, double tol, Complex sigma, ref ar_spmat A, ref ar_spmat B, ref ar_result eigs);
public static extern int ar_di_svd(StringBuilder which, int k, int ncv, int maxit, double tol, ref ar_spmat A, ref ar_result result);
public static extern int ar_di_ng_shift_cx(StringBuilder which, int k, int ncv, int maxit, double tol, char part, double sigma_r, double sigma_i, ref ar_spmat A, ref ar_spmat B, ref ar_result eigs);
public static extern int ar_di_ns_shift(StringBuilder which, int k, int ncv, int maxit, double tol, double sigma, ref ar_spmat A, ref ar_result eigs);