コード例 #1
0
        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);
        }
コード例 #2
0
 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);
コード例 #3
0
 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);
コード例 #4
0
 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);
コード例 #5
0
 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);
コード例 #6
0
 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);
コード例 #7
0
 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);