// C# declare statements for NAG C Library DLL Mark 23 // Copyright 2010, Numerical Algorithms Group Ltd, Oxford, UK. namespace NagLibrary { using System; using System.Runtime.InteropServices; public static class nag_declarations { public const int NAG_FILE_LEN = 512; public const int NAG_ERROR_BUF_LEN = 512; public const int MPS_NAME_LEN = 8; // type declarations [StructLayout(LayoutKind.Sequential)] public struct Complex { public double re; public double im; } [StructLayout(LayoutKind.Sequential)] public struct Nag_Sparse_Comm { [MarshalAs(UnmanagedType.ByValArray, SizeConst=20)] public int[] idatax; [MarshalAs(UnmanagedType.ByValArray, SizeConst=20)] public double[] rdatax; [MarshalAs(UnmanagedType.ByValArray, SizeConst=20)] public int[] idata; [MarshalAs(UnmanagedType.ByValArray, SizeConst=20)] public double[] rdata; public IntPtr work; // pointer to double public IntPtr iwork; // pointer to Integer public int lwork; public int liwork; public int f11gac_lwreq; public int f11bby_iter; public int f11bby_jump; public int f11bby_j; public int f11bby_kase; public int f11gbz_ib; public int f11gbz_id; public int f11gbz_ie2; public int f11gbz_infoch; public int f11gbz_ip; public int f11gbz_ir; public int f11gbz_iterm; public int f11gbz_itn; public int f11gbz_its; public int f11gbz_iw; public int f11gbz_iwgt; public int f11gbz_ix; public int f11gbz_maxitn; public int f11gbz_maxits; public int f11gbz_monit; public int f11gbz_n; public int f11gbz_norm; public int f11gbz_sigcmp; public int f11gbz_sigcmx; public int f11gbz_stage; public double f11gbz_anorm; public double f11gbz_bnorm; public double f11gbz_sigerr; public double f11gbz_sigerc; public double f11gbz_sigmax; public double f11gbz_sigmac; public double f11gbz_stplhs; public double f11gbz_stprhs; public double f11gbz_talpha; public double f11gbz_tbeta; public double f11gbz_tol; public double f11gbz_xnorm; public Nag_Boolean f11gbz_floop; public Nag_Boolean f11gbz_next; public Nag_SparseSym_PrecType f11gbz_precon; public double f11gby_alpha; public double f11gby_anorm; public double f11gby_beta1; public double f11gby_beta2; public double f11gby_betain; public double f11gby_bnorm; public double f11gby_bnorm2; public double f11gby_gammab; public double f11gby_pi; public double f11gby_rho1; public double f11gby_rho2; public double f11gby_rnorm2; public double f11gby_sigerr; public double f11gby_sigerc; public double f11gby_sigmax; public double f11gby_sigmac; public double f11gby_stplhs; public double f11gby_stprhs; public double f11gby_tol; public double f11gby_xnorm; public double f11gby_xnorm0; public double f11gby_zeta; public double f11gby_zetab; public int f11gby_ib; public int f11gby_id; public int f11gby_ie2; public int f11gby_infoch; public int f11gby_iterm; public int f11gby_itn; public int f11gby_its; public int f11gby_iv1; public int f11gby_iv2; public int f11gby_iw1; public int f11gby_iw2; public int f11gby_iwgt; public int f11gby_ix; public int f11gby_maxitn; public int f11gby_maxits; public int f11gby_monit; public int f11gby_n; public int f11gby_norm; public int f11gby_resid; public int f11gby_sigcmp; public int f11gby_sigcmx; public int f11gby_stage; public Nag_Boolean f11gby_floop; public Nag_Boolean f11gby_next; public Nag_Boolean f11gby_usexc; public Nag_SparseSym_PrecType f11gby_precon; public Nag_Boolean f11gbx_fpass; public double f11gbv_rho; public double f11gbv_xi; public Nag_Boolean f11gbs_dov1; public double f11gbr_deltab; public double f11gbr_epslon; [MarshalAs(UnmanagedType.ByValArray, SizeConst=20)] public int[] f11baz_idatax; [MarshalAs(UnmanagedType.ByValArray, SizeConst=20)] public double[] f11baz_rdatax; public double f11gbw_eps; public double f11gbw_epslon; public double f11gbw_mu1; public double f11gbw_mu1l; public double f11gbw_mun; public double f11gbw_munh; public double f11gbw_sigmx0; public double f11gbw_sigmx1; public double f11gbw_sigtol; public double f11gbw_ta2; public double f11gbw_tb2; public double f11gbw_tnorm; public int f11gbw_maxits; public Nag_Boolean f11gbw_sigcmp; public int f11gbc_ifaill; public int f11gbc_ifailm; public int f11gbc_info; public int f11gbc_irevcx; public int f11gbc_kill; [MarshalAs(UnmanagedType.ByValArray, SizeConst=20)] public int[] f11gbc_idata; public int f11gbc_lworkl; public Nag_Boolean f11gbc_done; public Nag_Boolean f11gbc_first; [MarshalAs(UnmanagedType.ByValArray, SizeConst=20)] public double[] f11gbc_rdata; public double f11gbq_factol; public double f11gbq_stprhx; public double f11gbq_tolc; public double f11gbq_toleps; public double f11gbq_tolf; public double f11gbq_toll; public double f11gbq_xcbnrm; public double f11gbq_xlbnrm; public double f11gbq_xnorm; public int f11gbq_loop; public Nag_Boolean f11gbq_fterm; public double f11gbu_epslon; public double f11gbu_stprhx; public double f11gbu_toleps; public double f11gbu_tolf; public double f11gbu_xnorm0; public int f11gbu_loop; public int f11gbu_nrestl; public int f11gbu_nrestc; public Nag_Boolean f11gbu_fterm; public int f11bbz_iwgt; public int f11bbz_norm; public int f11bbz_iterm; public int f11bbz_monit; public int f11bbz_m; public int f11bbz_n; public int f11bbz_stage; public int f11bbz_ib; public int f11bbz_ic; public int f11bbz_ih; public int f11bbz_iq; public int f11bbz_ir; public int f11bbz_is; public int f11bbz_it; public int f11bbz_ix; public int f11bbz_infoch; public int f11bbz_imonit; public int f11bbz_maxitn; public int f11bbz_itn; public double f11bbz_anorm; public double f11bbz_bnorm; public double f11bbz_rnrm20; public double f11bbz_xnorm; public double f11bbz_rnorm2; public double f11bbz_xnorm2; public double f11bbz_sigmax; public double f11bbz_stplhs; public double f11bbz_stprhs; public double f11bbz_tol; public Nag_Boolean f11bbz_anrcmp; public Nag_Boolean f11bbz_precon; public Nag_Boolean f11bbz_next; public Nag_Boolean f11bbz_fcall; public Nag_Boolean f11bbu_first; public Nag_Boolean f11bbu_usedot; public double f11bbv_tolf; public double f11bbr_alpha; public double f11bbr_rho; public Nag_Boolean f11bbr_do1; public double f11bbw_stpr; public int f11bbw_m1; public double f11bbw_tnorm; public int f11bbw_im; public Nag_Boolean f11bbw_sigcmp; public int f11bbw_im1; public double f11bbw_tinorm; public Nag_Boolean f11bbw_restrt; public double f11bbw_tol1; public int f11bbt_iwgt; public int f11bbt_norm; public Nag_Boolean f11bbt_next; public int f11bbt_n; public Nag_Boolean f11bbt_fcall; public int f11bbt_irbar; public int f11bbt_stage; public double f11bbt_anorm; public double f11bbt_bnorm; public int f11bbt_iterm; public int f11bbt_monit; public double f11bbt_xnorm; public int f11bbt_ib; public int f11bbt_ip; public int f11bbt_ir; public int f11bbt_it; public int f11bbt_ix; public int f11bbt_iy; public int f11bbt_infoch; public Nag_Boolean f11bbt_anrcmp; public Nag_Boolean f11bbt_precon; public double f11bbt_sigmax; public int f11bbt_maxitn; public double f11bbt_stplhs; public double f11bbt_stprhs; public Nag_Boolean f11bbt_restrt; public int f11bbt_itn; public double f11bbt_tol; public double f11bbq_tolf; public int f11bbq_loop; public Nag_Boolean f11bbq_pass1; public Nag_Boolean f11bbq_frest; public double f11bbq_xnmax; public double f11bbq_toleps; public double f11bbq_stplhx; public double f11bbq_stprhx; public double f11bbq_zz1; public double f11bbq_zz2; public Nag_Boolean f11bbp_doxn; public Nag_Boolean f11bbp_next; public Nag_Boolean f11bbp_fcall; public Nag_Boolean f11bbp_anrcmp; public Nag_Boolean f11bbp_finish; public Nag_Boolean f11bbp_precon; public Nag_Boolean f11bbp_restrt; public int f11bbp_imonit; public int f11bbp_maxitn; public int f11bbp_igam; public int f11bbp_itau; public int f11bbp_iwgt; public int f11bbp_norm; public int f11bbp_m; public int f11bbp_n; public int f11bbp_igamp; public int f11bbp_irbar; public int f11bbp_stage; public double f11bbp_xnorm; public double f11bbp_anorm; public double f11bbp_bnorm; public int f11bbp_iterm; public int f11bbp_monit; public int f11bbp_ib; public int f11bbp_iq; public int f11bbp_ir; public int f11bbp_ix; public int f11bbp_infoch; public int f11bbp_idx; public int f11bbp_itn; public int f11bbp_ipx; public double f11bbp_sigmax; public double f11bbp_stplhs; public double f11bbp_stprhs; public double f11bbp_tol; public double f11bbn_rhox; public double f11bbn_alpha; public double f11bbn_tol1; public double f11bbn_tol2; public double f11bbn_rn1; public int f11bbn_i1; public int f11bbn_j1; public int f11bbn_n1; public int f11bbn_im; public int f11bbn_jn1; public int f11bbn_imn; public Nag_Boolean f11bbn_doq; public double f11bbm_tolf; public int f11bbm_jitn; public int f11bbm_kitn; public int f11bbm_loop; public Nag_Boolean f11bbm_pass1; public Nag_Boolean f11bbm_frest; public int f11bbm_irest; public double f11bbm_xnmax; public double f11bbm_toleps; public double f11bbm_stplhx; public double f11bbm_stprhx; public double f11bbm_zz1; public double f11bbm_zz2; public int f11bbf_irevcx; public Nag_Boolean f11bbf_done; public Nag_Boolean f11bbf_first; public int f11bbf_info; public int f11bbf_kill; [MarshalAs(UnmanagedType.ByValArray, SizeConst=20)] public int[] f11bbf_idata; [MarshalAs(UnmanagedType.ByValArray, SizeConst=20)] public double[] f11bbf_rdata; public int f11bbf_ifaill; public int f11bbf_ifailm; public int f11bbf_lworkl; } [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] public struct NagError { public int code; public Nag_Boolean dnprint; [MarshalAs(UnmanagedType.ByValArray, SizeConst=NAG_ERROR_BUF_LEN)] public byte[] message; public NAG_ERRHAN_DELEGATE handler; public int errnum; public int iflag; public int ival; } [StructLayout(LayoutKind.Sequential)] public struct Nag_User { public IntPtr p; } [StructLayout(LayoutKind.Sequential)] public struct Nag_Comm { public int flag; public Nag_Boolean first; public Nag_Boolean last; public int nf; public Nag_Boolean it_prt; public Nag_Boolean it_maj_prt; public Nag_Boolean sol_sqp_prt; public Nag_Boolean sol_prt; public Nag_Boolean rootnode_sol_prt; public Nag_Boolean node_prt; public Nag_Boolean rootnode_prt; public Nag_Boolean g_prt; public Nag_Boolean new_lm; public int needf; public IntPtr p; public IntPtr iuser; // pointer to Integer public IntPtr user; // pointer to double public IntPtr nag_w; // pointer to double public IntPtr nag_iw; // pointer to Integer public IntPtr nag_p; public IntPtr nag_print_w; // pointer to double public IntPtr nag_print_iw; // pointer to Integer public int nrealloc; } [StructLayout(LayoutKind.Sequential)] public struct Nag_QuadProgress { public int num_subint; public int fun_count; public IntPtr sub_int_beg_pts; // pointer to double public IntPtr sub_int_end_pts; // pointer to double public IntPtr sub_int_result; // pointer to double public IntPtr sub_int_error; // pointer to double } [StructLayout(LayoutKind.Sequential)] public struct Nag_QuadSubProgress { public int intervals; public int fun_count; public int subints_per_interval; public IntPtr interval_error; // pointer to double public IntPtr interval_result; // pointer to double public IntPtr interval_flag; // pointer to Integer } [StructLayout(LayoutKind.Sequential)] public struct Nag_ad02 { [MarshalAs(UnmanagedType.ByValArray, SizeConst=12)] public double[] alpha; [MarshalAs(UnmanagedType.ByValArray, SizeConst=12)] public double[] beta; [MarshalAs(UnmanagedType.ByValArray, SizeConst=12)] public double[] psi; [MarshalAs(UnmanagedType.ByValArray, SizeConst=12)] public double[] v; [MarshalAs(UnmanagedType.ByValArray, SizeConst=12)] public double[] w; [MarshalAs(UnmanagedType.ByValArray, SizeConst=13)] public double[] sig; [MarshalAs(UnmanagedType.ByValArray, SizeConst=13)] public double[] g; [MarshalAs(UnmanagedType.ByValArray, SizeConst=11)] public double[] gi; public double xold; public double hold; public double told; public double xsave; public double tstar; public double twou; public int init; public int ibegin; public int itol; public int iinteg; public int itstop; public int inflop; public int iquit; [MarshalAs(UnmanagedType.ByValArray, SizeConst=10)] public int[] iv; public int ns; public int kord; public int kold; public int ksteps; public int kle4; public int kprev; public int ivc; public int kgi; public Nag_Boolean start; public Nag_Boolean phase1; public Nag_Boolean nornd; public Nag_Boolean stiff; public Nag_Boolean intout; } [StructLayout(LayoutKind.Sequential)] public struct Nag_bd02 { public double zero; public double u; public double fouru; public double sru; public double u34; public double u78; public double srbig; public double delsgn; public double troots; public double tleft; public double svtnew; public int krootp; public int inrotp; public Nag_Boolean gstop; public Nag_Boolean pgstop; public Nag_Boolean root; public Nag_Boolean roots; public Nag_Boolean needg; public Nag_Boolean discop; public Nag_Boolean newgeq; public Nag_Boolean search; public Nag_Boolean pserch; } [StructLayout(LayoutKind.Sequential)] public struct Nag_dd02 { public double ts; public double gts; public double fd; public double ftd; public double fm; public double fmx; public double prev; public double min; public double max; public double avg; public double amb; public double ambs; public double sbma; public double sf; public double dezu34; public int ic; public int kmc; public int ising; public int kount; public int ktest; public Nag_Boolean locext; } [StructLayout(LayoutKind.Sequential)] public struct Nag_ed02 { public double aez; public double agtrl; public double at; public double atm; public double atmtr; public double brd; public double brds; public double ddt; public double deltg; public double deltgm; public double deltr; public double dg; public double dtg; public double dtgk; public double dtgp; public double dtqr; public double fac; public double g21; public double g32; public double gat; public double gbr; public double gbrc; public double gbrmin; public double gbrmns; public double gct; public double glocmx; public double gmsign; public double goldsv; public double got; public double gres; public double gright; public double gt21; public double gt32; public double gtint; public double gtqr; public double gtrl; public double gtt; public double gttmr; public double gvalue; public double gvdif; public double gvmax; public double gvmin; public double omu78; public double opu78; public double pu; public double qc0; public double qc1; public double qc2; public double qd; public double qdq; public double qr1; public double qr1n; public double qr1p; public double quadmn; public double rd; public double rdg; public double dnrem; public double remd; public double rez; public double rootno; public double sdg; public double signg; public double slope1; public double slope2; public double slopep; public double sotgv; public double ss; public double sstu78; public double t21; public double t31; public double t32; public double taddon; public double tcb; public double tcf; public double tclose; public double tdif; public double tdmn; public double tdmx; public double tfar; public double tgbrmn; public double tgvdif; public double tgvmt; public double tint; public double tintp; public double tk; public double tkold; public double tlbk; public double tnew; public double tp; public double tpoint; public double tprev; public double tqr; public double tqr1; public double tqr2; public double tqrf; public double tqrmp; public double tqrp; public double tqs; public double tqt; public double trd; public double trj; public double trl; public double trn; public double trnow; public double troot; public double tsave; public double tslop; public double tsru; public double tstep; public double tt; public double tu78; public double tut; public double tz; public double tzero; public double tzerok; public double tzj; public double tzk; public double grno; public double gt; public double sttu78; [MarshalAs(UnmanagedType.ByValArray, SizeConst=2)] public double[] tadd; [MarshalAs(UnmanagedType.ByValArray, SizeConst=3)] public double[] tr; } [StructLayout(LayoutKind.Sequential)] public struct Nag_fd02 { public Nag_Boolean backr; public Nag_Boolean mroot; public Nag_Boolean multr; public Nag_Boolean peak; public Nag_Boolean qrreal; public Nag_Boolean skpmmt; } [StructLayout(LayoutKind.Sequential)] public struct Nag_gd02 { public int i; public int i1; public int i2; public int i21; public int i3; public int iadd; public int ic1; public int ic2; public int icase; public int icbr; public int icbrk; public int idtg; public int iga; public int ijk; public int ik; public int ikmr; public int iktqr; public int indx; public int isi; public int isin; public int isr; public int itgvt; public int itry; public int j; public int j1; public int j2; public int j23; public int j3; public int jp1; public int jr; public int jsr; public int k; public int kge; public int kp1; public int krootn; public int krooto; public int kroots; public int kskpmt; public int ktry; public int l; public int ltqbig; public int ltr; public int mmr; public int mmrin; public int mmrk; public int nsr; public int ntin; public int ntinm; public int ipath; } [StructLayout(LayoutKind.Sequential)] public struct Nag_jd02 { public double a; public double absdx; public double da; public double delx; public double dfdub; public double dfdxb; public double dx; public double fbnd; public double power; public double relper; public double ynorm; public double ypnorm; public int icase; public int k; public int lk; } [StructLayout(LayoutKind.Sequential)] public struct Nag_kd02 { [MarshalAs(UnmanagedType.ByValArray, SizeConst=13)] public double[] two; [MarshalAs(UnmanagedType.ByValArray, SizeConst=13)] public double[] gstr; public double absh; public double big; public double erk; public double erkm1; public double p5eps; public double round; public double u; public int ifail; public int km1; public int km2; public int knew; public int kp1; public int kp2; } [StructLayout(LayoutKind.Sequential)] public struct Nag_ODE_Adams { public int init1; public int init2; public int neqf; public int neqg; public Nag_Start state; public Nag_Boolean alter_g; public Nag_Boolean sophist; public Nag_Boolean vectol; public IntPtr a_tol; // pointer to double public IntPtr rtol; // pointer to double public Nag_Boolean crit; public double tcrit; public Nag_Boolean one_step; public double hmax; public int max_step; public Nag_Boolean root; public int badcmp; public double hnext; public double hlast; public double tolfac; public double tcurr; public int nsuccess; public int nfail; public int ord_last; public int ord_next; public IntPtr events; // pointer to Integer public IntPtr resids; // pointer to double public IntPtr yp; // pointer to double public IntPtr yy; // pointer to double public IntPtr p; // pointer to double public IntPtr phi; // pointer to double public int qwc_state; public int qfc_state; public IntPtr giwork; // pointer to Integer public IntPtr siwork; // pointer to Integer public IntPtr w; // pointer to double public IntPtr gwork; // pointer to double public IntPtr swork; // pointer to double public IntPtr free; public int index; public int type; public Nag_ad02 ad02qf; public Nag_bd02 bd02qf; public Nag_Boolean crash; public int izflag; public Nag_dd02 dd02qf; public Nag_ed02 ed02qf; public Nag_fd02 fd02qf; public Nag_gd02 gd02qf; public int kroo; public Nag_jd02 jd02qf; public Nag_kd02 kd02qf; } [StructLayout(LayoutKind.Sequential)] public struct Nag_ad02pd { public double tstrt; public double tnd; public double dir; public double hstrt; public double tolr; public int neqn; } [StructLayout(LayoutKind.Sequential)] public struct Nag_bd02pd { public double t; public double h; public double told; public double hold; public int nfcn; public int svnfcn; public int okstp; public int flstp; public Nag_Boolean first; public Nag_Boolean last; } [StructLayout(LayoutKind.Sequential)] public struct Nag_cd02pd { public int prthrs; public int prerst; public int prwt; public int pryold; public int prscr; public int pry; public int pryp; public int prstgs; public int printp; public int lnintp; } [StructLayout(LayoutKind.Sequential)] public struct Nag_dd02pd { [MarshalAs(UnmanagedType.ByValArray, SizeConst=169)] public double[] a; [MarshalAs(UnmanagedType.ByValArray, SizeConst=13)] public double[] b; [MarshalAs(UnmanagedType.ByValArray, SizeConst=13)] public double[] c; [MarshalAs(UnmanagedType.ByValArray, SizeConst=13)] public double[] bhat; [MarshalAs(UnmanagedType.ByValArray, SizeConst=66)] public double[] r; [MarshalAs(UnmanagedType.ByValArray, SizeConst=7)] public double[] e; [MarshalAs(UnmanagedType.ByValArray, SizeConst=13)] public int[] ptr; public int nstage; public int methd; public int mintp; public Nag_Boolean intp; } [StructLayout(LayoutKind.Sequential)] public struct Nag_ed02pd { public double toosml; public double cost; public double safety; public double expon; public double stbrad; public double tanang; public double rs; public double rs1; public double rs2; public double rs3; public double rs4; public int order; public int lststg; public int maxtry; public int nsec; public Nag_Boolean fsal; } [StructLayout(LayoutKind.Sequential)] public struct Nag_fd02pd { public double maxerr; public double locmax; public int gnfcn; public int przstg; public int przy; public int przyp; public int przers; public int przerr; public int przynu; public Nag_Boolean erason; public Nag_Boolean erasfl; } [StructLayout(LayoutKind.Sequential)] public struct Nag_gd02pd { public double mcheps; public double dwarf; public double rndoff; public double sqrrmc; public double cubrmc; public double tiny; public int outch; } [StructLayout(LayoutKind.Sequential)] public struct Nag_hd02pd { public Nag_Boolean utask; } [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] public struct Nag_jd02pd { [MarshalAs(UnmanagedType.ByValArray, SizeConst=800)] public byte[] rec; } [StructLayout(LayoutKind.Sequential)] public struct Nag_ODE_RK { public IntPtr free; public IntPtr work; // pointer to double public Nag_ad02pd ad02pd; public Nag_bd02pd bd02pd; public Nag_cd02pd cd02pd; public Nag_dd02pd dd02pd; public Nag_ed02pd ed02pd; public Nag_fd02pd fd02pd; public Nag_gd02pd gd02pd; public Nag_hd02pd hd02pd; public Nag_jd02pd jd02pd; public int init1; public int init2; public double utend; public double tlast; public Nag_Boolean chkeff; public int ntend; public double havg; public double errold; public Nag_Boolean phase2; public int ynew; public int ypold; public int jflstp; public int nwntsv; public int startp; public Nag_Boolean inintp; [MarshalAs(UnmanagedType.ByValArray, SizeConst=8)] public int[] svsta; public int totfcn; public int stpcst; public double waste; public int stpsok; public double hnext; public IntPtr wrkint; // pointer to double public int save_nwant; } [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] public struct Nag_D03_Save { [MarshalAs(UnmanagedType.ByValArray, SizeConst=810)] public byte[] cwsav; [MarshalAs(UnmanagedType.ByValArray, SizeConst=1100)] public double[] rwsav; [MarshalAs(UnmanagedType.ByValArray, SizeConst=505)] public int[] iwsav; [MarshalAs(UnmanagedType.ByValArray, SizeConst=100)] public int[] lwsav; } [StructLayout(LayoutKind.Sequential)] public struct Nag_Spline { public int n; public IntPtr lamda; // pointer to double public IntPtr c; // pointer to double public int init1; public int init2; } [StructLayout(LayoutKind.Sequential)] public struct Nag_2dSpline { public int nx; public IntPtr lamda; // pointer to double public int ny; public IntPtr mu; // pointer to double public IntPtr c; // pointer to double public int init1; public int init2; } [StructLayout(LayoutKind.Sequential)] public struct Nag_Grad_Chk_St { public Nag_GradChk type; public int obj_start; public int obj_stop; public int con_start; public int con_stop; public int g_error; } [StructLayout(LayoutKind.Sequential)] public struct Nag_SimSt { public int n_elements; public double dir_deriv; public double fd_approx; public Nag_Boolean correct; public double max_error; public int max_subfunction; public int max_constraint; } [StructLayout(LayoutKind.Sequential)] public struct Nag_CompSt { public Nag_Boolean assigned; public double hopt; public double gdiff; public int iter; public Nag_Boolean correct; public IntPtr comment; // pointer to const char public Nag_Boolean zero; public double dnerror; } [StructLayout(LayoutKind.Sequential)] public struct Nag_FDIntSt { public double hfd; public double hcd; public double errmax; } [StructLayout(LayoutKind.Sequential)] public struct Nag_GPrintSt { public Nag_Grad_Chk_St g_chk; public int nfdiff; public int ncdiff; public int nf_const; public int nc_const; public Nag_DerivSet deriv_level; public Nag_DerivSet old_deriv_level; public Nag_SimSt f_sim; public Nag_SimSt c_sim; public IntPtr f_comp; // pointer to Nag_CompSt public IntPtr c_comp; // pointer to Nag_CompSt public IntPtr intervals; // pointer to Nag_FDIntSt public Nag_DPrintType print_deriv; } [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] public struct Nag_Search_State { public int m; public int n; public int numinf; public IntPtr x; // pointer to double public double f; public double objf; public IntPtr g; // pointer to double public IntPtr diagt; // pointer to double public IntPtr fvec; // pointer to double public IntPtr fjac; // pointer to double public IntPtr conjac; // pointer to double public int tdj; public int tdconjac; public double dnstep; public double xk_norm; public double gpj_norm; public double cond; public double cond_h; public double cond_hz; public double cond_t; public double cond_r; public Nag_Boolean iter_conv; public Nag_Boolean norm_gz_small; public Nag_Boolean violtn_small; public Nag_Boolean update_modified; public Nag_Boolean c_diff; public Nag_Boolean qp_not_feasible; public Nag_Boolean step_limit_exceeded; public Nag_Boolean refactor; public IntPtr mgrmsg; // pointer to char public double norm_nlnviol; public int grade; public IntPtr s; // pointer to double public IntPtr state; // pointer to Integer public int iter; public int major_iter; public int minor_iter; public int nfun; public double merit; public double violtn; public double penalty; public int itn; public int nf; public int nctotal; public IntPtr lncons_val; // pointer to double public Nag_Boolean major_iter_soln; public Nag_Boolean local_search; public int nclin; public int ncnlin; public int nactiv; public int jdel; public int jadd; public int ninf; public double sum_infeasibilities; public int bnd; public int lin; public int nln; public IntPtr t; // pointer to double public int tdt; public IntPtr r; // pointer to double public IntPtr diagr; // pointer to double public int tdr; public int nart; public int nartm; public int nrz; public int nz; public double norm_gz; public double norm_gf; public int nopt; public double min_lm; public double condt; public double condr; public double rzz; public Nag_Boolean rset; public IntPtr ax; // pointer to double public IntPtr cx; // pointer to double public int nrank; public int nfixed; public IntPtr kx; // pointer to Integer public IntPtr kactive; // pointer to Integer public IntPtr lambda; // pointer to double public IntPtr bclambda; // pointer to double public IntPtr gq; // pointer to double public int jmax; public double errmax; public Nag_Boolean moved; public int nmoved; public Nag_Boolean feasible; public Nag_Boolean rowerr; public Nag_Boolean first; public IntPtr bl; // pointer to double public IntPtr bu; // pointer to double public Nag_EndState endstate; public IntPtr gprint; // pointer to Nag_GPrintSt public double fmin; public double fmax; public IntPtr simplex; // pointer to double public IntPtr prbtyp; // pointer to const char public int tdfjac; public Nag_Boolean col; public int index; public IntPtr dnname; // pointer to const char public IntPtr key; // pointer to const char public IntPtr sstate; // pointer to char public double val; public double blo; public double bup; public double lmult; public double objg; public Nag_Boolean just_feas; public Nag_Boolean qp; public int pprice; public double rgval; public int sb_add; public int sb_leave; public int b_leave; public int bswap_leave; public double pivot; public int nnz_l; public int nnz_u; public int ncp; public double norm_rg; public int nsb; public Nag_Boolean root; public int nnodes; public int node_num; public int parent_node; public IntPtr crnames; // pointer to char public Nag_NodeStatus node_status; public int branch_index; public double x_before; public double x_after; public double x_lo; public double x_up; public int depth; public Nag_Boolean posdef; } [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] public struct Nag_E04_Opt { public IntPtr f_name; // pointer to const char public IntPtr f_longname; // pointer to const char public int init1; public int init2; public Nag_LinFun minlin; public int grade; public int nf; public int iter; public int major_iter; public int max_iter; public int minor_max_iter; public Nag_Boolean min_infeas; public double f_est; public double step_max; public double step_limit; public double max_line_step; public double f_prec; public double linesearch_tol; public double optim_tol; public IntPtr conf; // pointer to double public int nag_conf; public IntPtr conjac; // pointer to double public int nag_conjac; public IntPtr h; // pointer to double public int nag_h; public Nag_Boolean h_unit_init; public int h_reset_freq; public IntPtr s; // pointer to double public int nag_s; public IntPtr v; // pointer to double public int nag_v; public int tdv; public IntPtr delta; // pointer to double public int nag_delta; public IntPtr hesl; // pointer to double public int nag_hesl; public IntPtr hesd; // pointer to double public int nag_hesd; public IntPtr state; // pointer to Integer public int nag_state; public Nag_InitType init_state; public Nag_Boolean obj_deriv; public Nag_Boolean con_deriv; public double f_diff_int; public double c_diff_int; public int obj_check_start; public int obj_check_stop; public int con_check_start; public int con_check_stop; public Nag_GradChk verify_grad; public Nag_Boolean hessian; public Nag_Boolean local_search; public Nag_Boolean deriv_check; public Nag_Boolean list; public Nag_Boolean print_gcheck; public Nag_DPrintType print_deriv; public Nag_PrintType print_level; public Nag_PrintType minor_print_level; public int print_iter; [MarshalAs(UnmanagedType.ByValArray, SizeConst=NAG_FILE_LEN)] public byte[] outfile; public NAG_E04_PRINTFUN_DELEGATE print_fun; public IntPtr ax; // pointer to double public int nag_ax; public IntPtr lambda; // pointer to double public int nag_lambda; public int fcheck; public double crash_tol; public int reset_ftol; public int fmax_iter; public double ftol; public double lin_feas_tol; public double nonlin_feas_tol; public int hrows; public double inf_bound; public double inf_step; public int max_df; public Nag_ProblemType prob; public double rank_tol; public Nag_Boolean form_hessian; public Nag_Start start; public int debug_iter; public int minor_debug_iter; public Nag_Boolean dbug; public Nag_Boolean used; public Nag_Boolean unitq; public int nfree; public int nactiv; public int nprob; public int n; public int nclin; public int ncnlin; public double bndlow; public double bndupp; public Nag_Boolean minimize; public int factor_freq; public int partial_price; public int max_sb; public double lu_factor_tol; public double lu_sing_tol; public double lu_update_tol; public double pivot_tol; public double scale_tol; public Nag_CrashType crash; public Nag_ScaleType dnscale; [MarshalAs(UnmanagedType.ByValArray, SizeConst=MPS_NAME_LEN+1)] public byte[] prob_name; [MarshalAs(UnmanagedType.ByValArray, SizeConst=MPS_NAME_LEN+1)] public byte[] obj_name; [MarshalAs(UnmanagedType.ByValArray, SizeConst=MPS_NAME_LEN+1)] public byte[] bnd_name; [MarshalAs(UnmanagedType.ByValArray, SizeConst=MPS_NAME_LEN+1)] public byte[] rhs_name; [MarshalAs(UnmanagedType.ByValArray, SizeConst=MPS_NAME_LEN+1)] public byte[] range_name; public IntPtr crnames; // pointer to char public int nag_crnames; public int nsb; public int max_restart; public int max_basis_len; public int max_compress; public int max_basis_nfactor; public double col_lo_default; public double col_up_default; public double infinity; public int ncol_approx; public int nrow_approx; public double est_density; public Nag_OutputType output_level; public Nag_DWantType deriv_want; public Nag_Boolean use_hfwd_init; public double f_prec_used; public Nag_Boolean print_80ch; public Nag_Boolean feas_exit; public int hess_freq; public double elastic_wt; public double lu_den_tol; public int part_price; public int scale_opt; public int expand_freq; public int hess_update; public int iter_lim; public double major_opt_tol; public double minor_opt_tol; public double unbounded_obj; public double major_step_lim; public int major_iter_lim; public double major_feas_tol; public int minor_iter_lim; public double minor_feas_tol; public double violation_limit; public double nz_coef; public Nag_Boolean deriv_linesearch; public Nag_HessianType hess_storage; public Nag_DirectionType direction; public int ncon; } [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] public struct Nag_E04State { [MarshalAs(UnmanagedType.ByValArray, SizeConst=600*8)] public byte[] cw; [MarshalAs(UnmanagedType.ByValArray, SizeConst=600)] public int[] iw; [MarshalAs(UnmanagedType.ByValArray, SizeConst=600)] public double[] rw; } [StructLayout(LayoutKind.Sequential)] public struct Nag_E05State { [MarshalAs(UnmanagedType.ByValArray, SizeConst=100)] public double[] comm; } [StructLayout(LayoutKind.Sequential)] public struct Nag_QuasiRandom { public IntPtr Faure; // pointer to long [MarshalAs(UnmanagedType.ByValArray, SizeConst=2000)] public int[] iref; public int GFdimension; public int GFbase; public int GFmbit; public IntPtr GFadd; // pointer to int public IntPtr GFsub; // pointer to int public IntPtr GFgray; // pointer to int public IntPtr GFb_ary; // pointer to int public IntPtr GFfaure; // pointer to int public IntPtr GFplusone; // pointer to int public IntPtr GFpascal; // pointer to int public IntPtr GFpowbase; // pointer to long public IntPtr GFoutput; // pointer to long } [StructLayout(LayoutKind.Sequential)] public struct Nag_UserPrintFun { public int itc; public double rss; public double objf; public IntPtr para; // pointer to double public IntPtr sd; // pointer to double public double df; public int npara; public int npe; public IntPtr mtyp; // pointer to Integer public IntPtr mser; // pointer to Integer } [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] public struct Nag_G13_Opt { public Nag_Boolean used; public IntPtr f_name; // pointer to const char public int init1; public int init2; public Nag_Boolean cfixed; public Nag_Likelihood criteria; public int max_iter; public double alpha; public double beta; public double delta; public double gamma; public int iter; public IntPtr cm; // pointer to double public int tdcm; public int nag_cm; public IntPtr res; // pointer to double public int lenres; public int nag_res; public IntPtr zt; // pointer to double public int tdzt; public int nag_zt; public IntPtr noise; // pointer to double public int nag_noise; public int isttf; public IntPtr sttf; // pointer to double public int nag_sttf; public int nsttf; public Nag_PrintType print_level; public Nag_Boolean list; public NAG_G13_PRINTFUN_DELEGATE print_fun; [MarshalAs(UnmanagedType.ByValArray, SizeConst=NAG_FILE_LEN)] public byte[] outfile; } [StructLayout(LayoutKind.Sequential)] public struct Nag_ArimaOrder { public int p; public int d; public int q; public int bigp; public int bigd; public int bigq; public int s; } [StructLayout(LayoutKind.Sequential)] public struct Nag_TransfOrder { public int init3; public IntPtr b; // pointer to Integer public int nag_b; public IntPtr q; // pointer to Integer public int nag_q; public IntPtr p; // pointer to Integer public int nag_p; public IntPtr r; // pointer to Integer public int nag_r; } [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] public struct Nag_H02_Opt { public IntPtr f_name; // pointer to const char public IntPtr f_longname; // pointer to const char public Nag_MIP_ProbType prob; public int init1; public int init2; public Nag_Boolean used; public Nag_Boolean list; public Nag_PrintType print_level; public NAG_H02_PRINTFUN_DELEGATE print_fun; [MarshalAs(UnmanagedType.ByValArray, SizeConst=NAG_FILE_LEN)] public byte[] outfile; public int max_iter; public double inf_bound; public double feas_tol; public int hrows; public int max_df; public double rank_tol; public Nag_Boolean first_soln; public int max_depth; public int max_nodes; public double int_obj_bound; public double soln_tol; public double int_tol; public Nag_Node_Selection nodsel; public Nag_Var_Selection varsel; public Nag_Branch_Direction branch_dir; public IntPtr priority; // pointer to double public IntPtr lower; // pointer to double public IntPtr upper; // pointer to double public IntPtr lambda; // pointer to double public IntPtr state; // pointer to Integer public int nag_lower; public int nag_upper; public int nag_state; public int nag_lambda; [MarshalAs(UnmanagedType.ByValArray, SizeConst=MPS_NAME_LEN+1)] public byte[] prob_name; [MarshalAs(UnmanagedType.ByValArray, SizeConst=MPS_NAME_LEN+1)] public byte[] obj_name; [MarshalAs(UnmanagedType.ByValArray, SizeConst=MPS_NAME_LEN+1)] public byte[] bnd_name; [MarshalAs(UnmanagedType.ByValArray, SizeConst=MPS_NAME_LEN+1)] public byte[] rhs_name; [MarshalAs(UnmanagedType.ByValArray, SizeConst=MPS_NAME_LEN+1)] public byte[] range_name; public IntPtr crnames; // pointer to char public int nag_crnames; public double col_lo_default; public double col_up_default; public double infinity; public int ncol_approx; public int nrow_approx; public Nag_OutputType output_level; public int n_ivar; public Nag_Boolean dbg; public Nag_Boolean dbg_rt; public Nag_Boolean dbg_rqip; public Nag_EndState dbg_es; } // end of type declarations // enumeration type declations public enum MatrixTranspose { NoTranspose=1001, Transpose=1002, ConjugateTranspose=1003, } public enum NagMeanOrTrend { Nag_NoCorrection=1538, Nag_Mean=1539, Nag_Trend=1540, } public enum Nag_BalanceType { Nag_NoBalancing=2200, Nag_BalancePermute=2201, Nag_BalanceScale=2202, Nag_BalanceBoth=2203, } public enum Nag_Barrier { Nag_DownandIn=2200, Nag_DownandOut=2201, Nag_UpandIn=2202, Nag_UpandOut=2203, } public enum Nag_BaseRNG { Nag_Basic=2150, Nag_WichmannHill_I=2151, Nag_MersenneTwister=2152, Nag_WichmannHill_II=2153, Nag_ACORN=2154, Nag_MRG32k3a=2155, } public enum Nag_Blocks { Nag_NoBlocks=1454, Nag_SerialBlocks=1455, Nag_ParallelBlocks=1456, } public enum Nag_Boolean { Nag_FALSE=0, Nag_TRUE=1, } public enum Nag_BoundInterval { Nag_UpperSemiInfinite=1076, Nag_LowerSemiInfinite=1077, Nag_Infinite=1078, } public enum Nag_BoundType { Nag_BoundNotSet=1181, Nag_Bounds=1182, Nag_BoundsZero=1183, Nag_BoundsEqual=1184, Nag_NoBounds=1185, Nag_NoBounds_One_Call=1186, } public enum Nag_Branch_Direction { Nag_BrDir_NotSet=1586, Nag_Branch_Left=1587, Nag_Branch_Right=1588, Nag_Branch_InitX=1589, } public enum Nag_CEMethod { Nag_CE_EM=1475, Nag_CE_NR=1476, } public enum Nag_CallPut { Nag_Call=2190, Nag_Put=2191, } public enum Nag_CestMethod { Nag_Censored=1477, Nag_NoCensored=1478, } public enum Nag_ClassBoundary { Nag_ClassBoundaryUser=1346, Nag_ClassBoundaryComp=1347, } public enum Nag_ClusterMethod { Nag_SingleLink=1440, Nag_CompleteLink=1441, Nag_GroupAverage=1442, Nag_Centroid=1443, Nag_Median=1444, Nag_MinVariance=1445, } public enum Nag_ColumnPermutationType { Nag_Sparse_Identity=3300, Nag_Sparse_User=3301, Nag_Sparse_Colamd=3302, } public enum Nag_CompProb { Nag_CompProbExact=1467, Nag_CompProbApprox=1468, } public enum Nag_ComplexFormType { Nag_AboveForm=1609, Nag_BracketForm=1610, Nag_DirectForm=1611, } public enum Nag_ComputeEigVecsType { Nag_NotEigVecs=2400, Nag_TridiagEigVecs=2401, Nag_OrigEigVecs=2402, } public enum Nag_ComputeQType { Nag_InitQ=1027, Nag_NotQ=1028, Nag_AccumulateQ=1029, Nag_UpdateSchur=1030, } public enum Nag_ComputeSingularVecsType { Nag_NotSingularVecs=2300, Nag_PackedSingularVecs=2301, Nag_SingularVecs=2302, } public enum Nag_ComputeType { Nag_Compute_Definite=1065, Nag_Compute_Definite_Indefinite=1066, Nag_Compute_Indefinite=1067, } public enum Nag_ComputeUType { Nag_AllU=2600, Nag_NotU=2601, Nag_SingularVecsU=2602, Nag_Overwrite=2603, Nag_InitU=2604, } public enum Nag_ComputeVTType { Nag_NotVT=3100, Nag_AllVT=3101, Nag_SingularVecsVT=3102, Nag_OverwriteVT=3103, } public enum Nag_ComputeVType { Nag_ComputeV=2700, Nag_NotV=2701, Nag_InitV=2702, } public enum Nag_ComputeZType { Nag_InitZ=1031, Nag_NotZ=1032, Nag_AccumulateZ=1033, Nag_UpdateZ=1034, } public enum Nag_ConjType { Nag_Conj=191, Nag_NoConj=192, } public enum Nag_ControllerForm { Nag_UH_Controller=1553, Nag_LH_Controller=1554, } public enum Nag_CovMatrixEst { Nag_CovNotSet=1388, Nag_CovMatAve=1389, Nag_CovMatObs=1390, } public enum Nag_CovOrCorr { Nag_AutoCov=1545, Nag_AutoCorr=1546, } public enum Nag_CrashType { Nag_CrashNotSet=1252, Nag_NoCrash=1253, Nag_CrashOnce=1254, Nag_CrashTwice=1255, Nag_CrashThreeTimes=1256, } public enum Nag_DPrintType { Nag_D_NotSet=1146, Nag_D_NoPrint=1147, Nag_D_Print=1148, Nag_D_Sum=1149, Nag_D_Full=1150, Nag_D_Dbg=1151, } public enum Nag_DWantType { Nag_DWant_NotSet=1155, Nag_Grad_HessDiag=1156, Nag_HessFull=1157, Nag_Grad_HessFull=1158, } public enum Nag_DendOrient { Nag_DendNorth=1446, Nag_DendSouth=1447, Nag_DendEast=1448, Nag_DendWest=1449, } public enum Nag_DerivInfo { Nag_DInfo_NotSet=1159, Nag_Deriv_OK=1160, Nag_Fun_Constant=1161, Nag_Fun_LinearOdd=1162, Nag_2ndDeriv_Large=1163, Nag_1stDeriv_Small=1164, } public enum Nag_DerivSet { Nag_DerivNotSet=1165, Nag_SomeG_SomeJ=1166, Nag_AllG_SomeJ=1167, Nag_SomeG_AllJ=1168, Nag_AllG_AllJ=1169, } public enum Nag_DerivType { Nag_LeftDerivs=1104, Nag_RightDerivs=1105, } public enum Nag_DiagType { Nag_NonRefDiag=130, Nag_NonUnitDiag=131, Nag_UnitDiag=132, } public enum Nag_DirectionType { Nag_DirectionNotSet=1617, Nag_Minimize=1618, Nag_Maximize=1619, Nag_FeasiblePoint=1620, } public enum Nag_DiscreteDistrib { Nag_PDF=1469, Nag_CDF=1470, } public enum Nag_DiscrimMethod { Nag_DiscrimEstimate=1426, Nag_DiscrimPredict=1427, } public enum Nag_DistanceType { Nag_DistAbs=1433, Nag_DistEuclid=1434, Nag_DistSquared=1435, } public enum Nag_Distributions { Nag_Uniform=1485, Nag_Normal=1486, Nag_Gamma=1487, Nag_Beta=1488, Nag_ChiSquare=1489, Nag_Binomial=1490, Nag_Exponential=1491, Nag_Poisson=1492, Nag_UserProb=1493, Nag_LogNormal=1494, Nag_StudentT=1495, Nag_NegBinomial=1496, Nag_GenPareto=1497, } public enum Nag_DummyType { Nag_Poly=1457, Nag_Helmert=1458, Nag_FirstLevel=1459, Nag_LastLevel=1460, Nag_AllLevels=1461, } public enum Nag_EigValRankType { Nag_ByBlock=1052, Nag_Entire=1053, } public enum Nag_EigValsSourceType { Nag_HSEQRSource=1035, Nag_NotKnown=1036, } public enum Nag_Eigenvalues { Nag_AllEigVals=1450, Nag_LargeEigVals=1451, } public enum Nag_EndState { Nag_EndStateNotSet=1206, Nag_Feasible=1207, Nag_Optimal=1208, Nag_Deadpoint=1209, Nag_Weakmin=1210, Nag_Unbounded=1211, Nag_Infeasible=1212, Nag_Too_Many_Iter=1213, Nag_Hess_Too_Big=1214, Nag_Cycling=1215, Nag_Not_Converged=1216, Nag_Not_Kuhn_Tucker=1217, Nag_Deriv_Error=1218, Nag_Hess_Indefinite=1219, Nag_Basis_Ill_Cond=1220, Nag_Basis_Singular=1221, Nag_Out_Of_Workspace=1222, Nag_MIP_Best_ISol=1223, Nag_MIP_Stop_First_ISol=1224, Nag_MIP_No_ISol=1225, Nag_MIP_Root_Unbounded=1226, Nag_MIP_Root_Infeasible=1227, Nag_MIP_Root_Max_Itn=1228, Nag_MIP_Root_Big_Hess=1229, Nag_MIP_Max_Itn_ISol=1230, Nag_MIP_Max_Nodes_ISol=1231, Nag_MIP_Big_Hess_ISol=1232, Nag_MIP_Max_Depth_ISol=1233, Nag_MIP_Big_Hess_No_ISol=1234, Nag_MIP_Max_Itn_No_ISol=1235, Nag_MIP_Max_Nodes_No_ISol=1236, Nag_MIP_Max_Depth_No_ISol=1237, Nag_MIP_User_Stop=1238, } public enum Nag_EquilibrationType { Nag_NoEquilibration=2000, Nag_Equilibrated=2001, Nag_RowEquilibration=2002, Nag_ColumnEquilibration=2003, Nag_RowAndColumnEquilibration=2004, } public enum Nag_ErrorAssess { Nag_ErrorAssess_off=1097, Nag_ErrorAssess_on=1098, } public enum Nag_ErrorControl { Nag_Relative=1087, Nag_Absolute=1088, Nag_Mixed=1089, Nag_Default=1089, } public enum Nag_ErrorDistn { Nag_NormalDistn=1481, Nag_Tdistn=1482, } public enum Nag_EstimatesOption { Nag_EstimatesOrig=2610, Nag_EstimatesStand=2611, } public enum Nag_EvaluateJacobian { Nag_NumericalJacobian=0, Nag_AnalyticalJacobian=1, Nag_DefaultJacobian=2, Nag_AnalyticalStructJacobian=3, Nag_NumericalStructJacobian=4, } public enum Nag_ExpSmoothType { Nag_SingleExponential=2580, Nag_BrownsExponential=2581, Nag_LinearHolt=2582, Nag_AdditiveHoltWinters=2583, Nag_MultiplicativeHoltWinters=2584, } public enum Nag_FacMat { Nag_DataCorr=1415, Nag_DataCovar=1416, Nag_MatCorr_Covar=1417, } public enum Nag_FacRotation { Nag_FacRotate=1420, Nag_FacNoRotate=1421, } public enum Nag_FacScoreMethod { Nag_FacScoreRegsn=1418, Nag_FacScoreBart=1419, } public enum Nag_FactoredFormType { Nag_Factored=2100, Nag_NotFactored=2101, Nag_EquilibrateAndFactor=2102, } public enum Nag_FullStepwise { Nag_AddVar=2140, Nag_BeginBackward=2141, Nag_ColinearVar=2142, Nag_DropVar=2143, Nag_BeginForward=2144, Nag_NoRemoveVar=2145, Nag_BeginStepwise=2146, Nag_VarianceRatio=2147, Nag_FinishStepwise=2148, } public enum Nag_FunType { Nag_Deriv=1170, Nag_NoDeriv=1171, Nag_Function=1172, } public enum Nag_Garch_Est_Initial_Type { Nag_Garch_Est_Initial_True=1561, Nag_Garch_Est_Initial_False=1562, } public enum Nag_Garch_Fcall_Type { Nag_Garch_Fcall_True=1557, Nag_Garch_Fcall_False=1558, } public enum Nag_Garch_Stationary_Type { Nag_Garch_Stationary_True=1559, Nag_Garch_Stationary_False=1560, } public enum Nag_GaussFormulae { Nag_Legendre=1081, Nag_Rational=1082, Nag_Laguerre=1083, Nag_Hermite=1084, } public enum Nag_GradChk { Nag_ChkNotSet=1136, Nag_NoCheck=1137, Nag_SimpleCheck=1138, Nag_CheckObj=1139, Nag_CheckCon=1140, Nag_CheckObjCon=1141, Nag_XSimpleCheck=1142, Nag_XCheckObj=1143, Nag_XCheckCon=1144, Nag_XCheckObjCon=1145, } public enum Nag_GroupCovars { Nag_EqualCovar=1422, Nag_NotEqualCovar=1423, } public enum Nag_HessianType { Nag_HessianNotSet=1614, Nag_HessianFull=1615, Nag_HessianLimited=1616, } public enum Nag_HowManyType { Nag_ComputeAll=1037, Nag_BackTransform=1038, Nag_ComputeSelected=1039, } public enum Nag_IncSignZeros { Nag_IncSignZerosY=1483, Nag_IncSignZerosN=1484, } public enum Nag_IncludeIntercept { Nag_Intercept=2840, Nag_NoIntercept=2841, } public enum Nag_IncludeMean { Nag_MeanInclude=1358, Nag_MeanZero=1359, } public enum Nag_InitType { Nag_InitNotSet=1176, Nag_Init_None=1177, Nag_Init_F_G_H=1178, Nag_Init_All=1179, Nag_Init_H_S=1180, } public enum Nag_InitVeenumtype { Nag_NoVec=1040, Nag_UserVec=1041, } public enum Nag_InitialValues { Nag_InitialValuesSupplied=2172, Nag_ContinueNoUpdate=2170, Nag_ContinueAndUpdate=2171, } public enum Nag_InitializeA { Nag_InitializeI=1471, Nag_InputA=1472, } public enum Nag_IntervalType { Nag_TukeyInterval=1462, Nag_BonferroniInterval=1463, Nag_DunnInterval=1464, Nag_FisherInterval=1465, Nag_ScheffeInterval=1466, } public enum Nag_JobType { Nag_DoBoth=1044, Nag_EigVals=1045, Nag_DoNothing=1046, Nag_Permute=1047, Nag_Schur=1048, Nag_Scale=1049, Nag_Subspace=1050, Nag_EigVecs=1051, } public enum Nag_KernelForm { Nag_NoCentroSymm=2760, Nag_CentroSymmOdd=2761, Nag_CentroSymmEven=2762, Nag_CentroSymmNeither=2763, } public enum Nag_LCCMethod { Nag_LCCPan=1348, Nag_LCCImhof=1349, Nag_LCCDefault=1350, } public enum Nag_LabelType { Nag_NoLabels=1603, Nag_IntegerLabels=1604, Nag_CharacterLabels=1605, } public enum Nag_LeftVecsType { Nag_LeftVecs=2900, Nag_NotLeftVecs=2901, Nag_LeftSpan=2902, Nag_NotLeftWork=2903, Nag_LeftVecsCtol=2904, } public enum Nag_Likelihood { Nag_CriteriaNotSet=1530, Nag_LeastSquares=1531, Nag_Exact=1532, Nag_Marginal=1533, } public enum Nag_LinAlgOption { Nag_LinAlgFull=1119, Nag_LinAlgBand=1120, Nag_LinAlgSparse=1121, } public enum Nag_LinFun { Nag_LinFunNotSet=1173, Nag_Lin_Deriv=1174, Nag_Lin_NoDeriv=1175, } public enum Nag_Link { Nag_Expo=1366, Nag_Iden=1367, Nag_Log=1368, Nag_Sqrt=1369, Nag_Reci=1370, Nag_Logistic=1371, Nag_Probit=1372, Nag_Compl=1373, } public enum Nag_LoggedSpectra { Nag_Unlogged=1541, Nag_Logged=1542, } public enum Nag_MCMethod { Nag_OneIteration=1085, Nag_ManyIterations=1086, } public enum Nag_MCSInitMethod { Nag_SimpleBdry=2670, Nag_SimpleOffBdry=2671, Nag_Linesearch=2672, Nag_UserSet=2673, Nag_Random=2674, } public enum Nag_MIP_ProbType { Nag_MIP_TypeNotSet=1570, Nag_MILP=1571, Nag_MIQP1=1572, Nag_MIQP2=1573, Nag_MIQP3=1574, Nag_MIQP4=1575, } public enum Nag_MahalDist { Nag_SamplePoints=1424, Nag_GroupMeans=1425, } public enum Nag_MatFunType { Nag_Exp=2830, Nag_Sin=2831, Nag_Cos=2832, Nag_Sinh=2833, Nag_Cosh=2834, Nag_Log=2835, } public enum Nag_MatUpdate { Nag_MatUp=1431, Nag_NoMatUp=1432, } public enum Nag_MatrixType { Nag_GeneralMatrix=1606, Nag_LowerMatrix=1607, Nag_UpperMatrix=1608, } public enum Nag_MeshSet { Nag_DefInitMesh=1090, Nag_UserInitMesh=1091, } public enum Nag_MeshType { Nag_UniformMesh=1117, Nag_CustomMesh=1118, } public enum Nag_ModeRNG { Nag_InitializeReference=2160, Nag_GenerateFromReference=2161, Nag_InitializeAndGenerate=2162, Nag_GenerateWithoutReference=2163, } public enum Nag_MomentType { Nag_RatioMoments=1353, Nag_LinearRatio=1354, Nag_QuadRatio=1355, } public enum Nag_NearCorr_ProbType { Nag_LowerBound=2810, Nag_WeightedNorm=2811, Nag_Both=2812, } public enum Nag_NodeStatus { Nag_NS_NotSet=1590, Nag_NS_NotSolved=1591, Nag_NS_NotBranched=1592, Nag_NS_Integer=1593, Nag_NS_Bounded=1594, Nag_NS_Infeasible=1595, Nag_NS_Terminated=1596, } public enum Nag_Node_Selection { Nag_NodSel_NotSet=1576, Nag_Deep_Search=1577, Nag_Broad_Search=1578, Nag_MinObj_Search=1579, Nag_DeepBroad_Search=1580, Nag_DeepMinObj_Search=1581, } public enum Nag_NormType { Nag_OneNorm=171, Nag_TwoNorm=173, Nag_FrobeniusNorm=174, Nag_InfNorm=175, Nag_MaxNorm=177, Nag_RealMaxNorm=178, } public enum Nag_ODEMethod { Nag_Adams=2750, Nag_BDF=2751, } public enum Nag_ObserverForm { Nag_UH_Observer=1551, Nag_LH_Observer=1552, } public enum Nag_OptimOpt { Nag_PWM= 2660, Nag_MOM=2661, Nag_MOMMLE=2662, Nag_PWMMLE=2663, } public enum Nag_OptionLOO { Nag_WantLOO=2640, Nag_NoLOO=2641, } public enum Nag_OptionType { Nag_EuropeanCall=1113, Nag_AmericanCall=1114, Nag_EuropeanPut=1115, Nag_AmericanPut=1116, } public enum Nag_OrderType { Nag_RowMajor=101, Nag_ColMajor=102, } public enum Nag_OsherVersion { Nag_OsherOriginal=1122, Nag_OsherPhysical=1123, } public enum Nag_OutputType { Nag_OutputNotSet=1563, Nag_NoOutput=1564, Nag_MPS_Summary=1565, Nag_MPS_List=1566, } public enum Nag_ParaEstimates { Nag_ParaSupplied=1496, Nag_ParaEstimated=1497, } public enum Nag_ParaOption { Nag_NoPara=2630, Nag_OrigPara=2631, Nag_StandPara=2632, } public enum Nag_Perturb { Nag_PerturbOn=2800, Nag_PerturbOff=2801, } public enum Nag_PopVar { Nag_PopVarEqual=1473, Nag_PopVarNotEqual=1474, } public enum Nag_PredictError { Nag_BIC=2600, Nag_FPE=2601, Nag_LOOCV=2602, Nag_EUV=2603, Nag_GCV=2604, Nag_UEV=2605, } public enum Nag_Preprocess { Nag_ColpivRrank=2780, Nag_ColpivRrankCond=2781, Nag_FullpivRrank=2782, Nag_FullpivRrankCond=2783, Nag_ColpivSVrankAbs=2784, Nag_ColpivSVrankRel=2785, } public enum Nag_PrinCompMat { Nag_MatCorrelation=1393, Nag_MatStandardised=1394, Nag_MatSumSq=1395, Nag_MatVarCovar=1396, } public enum Nag_PrinCompScores { Nag_ScoresStand=1397, Nag_ScoresNotStand=1398, Nag_ScoresUnitVar=1399, Nag_ScoresEigenval=1400, } public enum Nag_PrintType { Nag_PrintNotSet=1124, Nag_NoPrint=1125, Nag_Soln_Root=1126, Nag_Soln=1127, Nag_Iter=1128, Nag_Iter_Long=1129, Nag_Soln_Root_Iter=1130, Nag_Soln_Iter=1131, Nag_Soln_Iter_Long=1132, Nag_Soln_Iter_Const=1133, Nag_Soln_Iter_Diag=1134, Nag_Soln_Iter_Full=1135, } public enum Nag_PriorProbability { Nag_EqualPrior=1428, Nag_GroupSizePrior=1429, Nag_UserPrior=1430, } public enum Nag_ProblemType { Nag_ProbTypeNotSet=1187, Nag_FP=1188, Nag_LP=1189, Nag_QP1=1190, Nag_QP2=1191, Nag_QP3=1192, Nag_QP4=1193, Nag_LS1=1194, Nag_LS2=1195, Nag_LS3=1196, Nag_LS4=1197, Nag_SparseFP=1198, Nag_SparseLP=1199, Nag_SparseQP=1200, Nag_SparseFPE=1201, Nag_SparseFPL=1202, Nag_SparseFPS=1203, Nag_SparseQPP=1204, Nag_SparseQPS=1205, } public enum Nag_PsiFun { Nag_PsiNotSet=1378, Nag_Lsq=1379, Nag_HuberFun=1380, Nag_HampelFun=1381, Nag_AndrewFun=1382, Nag_TukeyFun=1383, } public enum Nag_QuadType { Nag_Quad_Gauss_Legendre=2710, Nag_Quad_Gauss_Jacobi=2710, Nag_Quad_Gauss_Jacobi_Adjusted=2710, Nag_Quad_Gauss_Exponential=2715, Nag_Quad_Gauss_Exponential_Adjusted=2715, Nag_Quad_Gauss_Laguerre=2713, Nag_Quad_Gauss_Laguerre_Adjusted=2713, Nag_Quad_Gauss_Hermite=2714, Nag_Quad_Gauss_Hermite_Adjusted=2714, Nag_Quad_Gauss_Rational=2715, Nag_Quad_Gauss_Rational_Adjusted=2715, } public enum Nag_QuadWeight { Nag_Alg=1072, Nag_Alg_loga=1073, Nag_Alg_logb=1074, Nag_Alg_loga_logb=1075, } public enum Nag_QuasiRandom_Scrambling { Nag_NoScrambling=2590, Nag_OwenLike=2591, Nag_FaureTezuka=2592, Nag_OwenFaureTezuka=2593, } public enum Nag_QuasiRandom_Sequence { Nag_QuasiRandom_Sobol=1624, Nag_QuasiRandom_SobolA659=1627, Nag_QuasiRandom_Nied=1626, } public enum Nag_QuasiRandom_State { Nag_QuasiRandom_Init=1621, Nag_QuasiRandom_Cont=1622, Nag_QuasiRandom_Finish=1623, } public enum Nag_RCIMethod { Nag_RCI_Exact=1479, Nag_RCI_Approx=1480, } public enum Nag_RCondType { Nag_NotRCond=2500, Nag_RCondEigVals=2501, Nag_RCondLeft=2502, Nag_RCondRight=2503, Nag_RCondEigVecs=2503, Nag_RCondBoth=2503, } public enum Nag_RK_method { Nag_RK_2_3=1094, Nag_RK_4_5=1095, Nag_RK_7_8=1096, } public enum Nag_RK_task { Nag_RK_range=1092, Nag_RK_onestep=1093, } public enum Nag_RangeStat { Nag_UseRange=1543, Nag_UseSD=1544, } public enum Nag_RangeType { Nag_AllValues=1054, Nag_Interval=1055, Nag_Indices=1056, } public enum Nag_RegType { Nag_RegNotSet=1374, Nag_HuberReg=1375, Nag_MallowsReg=1376, Nag_SchweppeReg=1377, } public enum Nag_RightVecsType { Nag_RightVecs=3000, Nag_NotRightVecs=3001, Nag_RightVecsJRots=3002, Nag_NotRightWork=3003, Nag_RightVecsMV=3004, } public enum Nag_RotationLoading { Nag_RoLoadStand=1405, Nag_RoLoadNotStand=1406, } public enum Nag_RotationScale { Nag_LsqScale=1413, Nag_NotLsqScale=1414, } public enum Nag_ScaleCriterion { Nag_Stress=1452, Nag_SStress=1453, } public enum Nag_ScalePredictor { Nag_PredNoScale=2620, Nag_PredStdScale=2621, Nag_PredUserScale=2622, } public enum Nag_ScaleResType { Nag_ScaleRes=1601, Nag_UnscaleRes=1602, } public enum Nag_ScaleType { Nag_ScaleNotSet=1257, Nag_NoScale=1258, Nag_RowColScale=1259, Nag_ExtraScale=1260, Nag_ScaleProvided=1261, Nag_NoScaleProvided=1262, } public enum Nag_Scores { Nag_RankScores=1335, Nag_NormalScores=1336, Nag_BlomScores=1337, Nag_TukeyScores=1338, Nag_WaerdenScores=1339, Nag_SavageScores=1340, } public enum Nag_SearchMatch { Nag_First=1599, Nag_Last=1600, } public enum Nag_SelectMoments { Nag_CumulantsOnly=1351, Nag_ComputeMoments=1352, } public enum Nag_Select_Eigenvalues { Nag_Select_Modulus=1265, Nag_Select_RealPart=1266, } public enum Nag_Series { Nag_SeriesGeneral=0, Nag_SeriesEven=1, Nag_SeriesOdd=2, } public enum Nag_SideType { Nag_LeftSide=141, Nag_RightSide=142, Nag_BothSides=143, } public enum Nag_SigmaEst { Nag_SigmaNotSet=1384, Nag_SigmaRes=1385, Nag_SigmaConst=1386, Nag_SigmaChi=1387, } public enum Nag_SigmaSimulEst { Nag_SigmaSimul=1391, Nag_SigmaBypas=1392, } public enum Nag_SignType { Nag_Plus=1042, Nag_Minus=1043, } public enum Nag_SmoothFitType { Nag_SmoothFitPartial=1507, Nag_SmoothFitQuick=1508, Nag_SmoothFitFull=1509, } public enum Nag_SmoothParamMethods { Nag_SmoothParamCV=1510, Nag_SmoothParamGCV=1511, Nag_SmoothParamDF=1512, } public enum Nag_Smooth_Type { Nag_4253H=1505, Nag_3RSSH=1506, } public enum Nag_SolDeriv { Nag_Sol=1099, Nag_Der=1100, Nag_SolDer=1101, } public enum Nag_SolveSystem { Nag_LDLTX=1267, Nag_LDX=1268, Nag_DLTX=1269, Nag_LLTX=1270, Nag_LX=1271, Nag_LTX=1272, } public enum Nag_SortEigValsType { Nag_NoSortEigVals=3200, Nag_SortEigVals=3201, } public enum Nag_SortOrder { Nag_Ascending=1597, Nag_Descending=1598, Nag_Unsorted=50013, } public enum Nag_SparseNsym_CheckData { Nag_SparseNsym_NoCheck=1314, Nag_SparseNsym_Check=1315, } public enum Nag_SparseNsym_Dups { Nag_SparseNsym_RemoveDups=1289, Nag_SparseNsym_SumDups=1290, Nag_SparseNsym_FailDups=1291, } public enum Nag_SparseNsym_Fact { Nag_SparseNsym_ModFact=1279, Nag_SparseNsym_UnModFact=1280, } public enum Nag_SparseNsym_Method { Nag_SparseNsym_RGMRES=1273, Nag_SparseNsym_CGS=1274, Nag_SparseNsym_BiCGSTAB=1275, Nag_SparseNsym_CG=1276, Nag_SparseNsym_SYMMLQ=1277, Nag_SparseNsym_TFQMR=1278, Nag_SparseNsym_MINRES=1279, } public enum Nag_SparseNsym_Piv { Nag_SparseNsym_NoPiv=1281, Nag_SparseNsym_UserPiv=1282, Nag_SparseNsym_PartialPiv=1283, Nag_SparseNsym_CompletePiv=1284, Nag_SparseNsym_MarkowitzPiv=1285, } public enum Nag_SparseNsym_PrecType { Nag_SparseNsym_NoPrec=1299, Nag_SparseNsym_SSORPrec=1300, Nag_SparseNsym_JacPrec=1301, Nag_SparseNsym_Prec=1302, } public enum Nag_SparseNsym_Store { Nag_SparseNsym_StoreCS=1292, Nag_SparseNsym_StoreSCS=1293, } public enum Nag_SparseNsym_Weight { Nag_SparseNsym_Weighted=1303, Nag_SparseNsym_UnWeighted=1304, } public enum Nag_SparseNsym_Zeros { Nag_SparseNsym_RemoveZeros=1286, Nag_SparseNsym_KeepZeros=1287, Nag_SparseNsym_FailZeros=1288, } public enum Nag_SparseSym_Bisection { Nag_SparseSym_Bisect=1307, Nag_SparseSym_NoBisect=1308, } public enum Nag_SparseSym_CheckData { Nag_SparseSym_NoCheck=1316, Nag_SparseSym_Check=1317, } public enum Nag_SparseSym_Dups { Nag_SparseSym_SumDups=1325, Nag_SparseSym_RemoveDups=1326, } public enum Nag_SparseSym_Fact { Nag_SparseSym_ModFact=1297, Nag_SparseSym_UnModFact=1298, } public enum Nag_SparseSym_Method { Nag_SparseSym_CG=1294, Nag_SparseSym_Lanczos=1295, Nag_SparseSym_TFQMR=1296, } public enum Nag_SparseSym_Piv { Nag_SparseSym_NoPiv=1318, Nag_SparseNsym_UserPiv=1319, Nag_SparseNsym_PartialPiv=1320, Nag_SparseNsym_CompletePiv=1321, Nag_SparseNsym_MarkowitzPiv=1322, } public enum Nag_SparseSym_PrecType { Nag_SparseSym_Prec=1321, Nag_SparseSym_NoPrec=1322, Nag_SparseSym_SSORPrec=1323, Nag_SparseSym_JacPrec=1324, } public enum Nag_SparseSym_Weight { Nag_SparseSym_Weighted=1305, Nag_SparseSym_UnWeighted=1306, } public enum Nag_SparseSym_Zeros { Nag_SparseSym_KeepZeros=1327, Nag_SparseSym_RemoveZeros=1328, } public enum Nag_Start { Nag_StartNotSet=1106, Nag_Cold=1107, Nag_Warm=1108, Nag_Hot=1109, Nag_NewStart=1110, Nag_ReStart=1111, Nag_Continue=1112, Nag_BasisFile=50001, } public enum Nag_SumSquare { Nag_AboutMean=1362, Nag_AboutZero=1363, } public enum Nag_TableStats { Nag_TableStatsNObs=1515, Nag_TableStatsTotal=1516, Nag_TableStatsAv=1517, Nag_TableStatsMedian=1518, Nag_TableStatsVar=1519, Nag_TableStatsLarge=1520, Nag_TableStatsSmall=1521, } public enum Nag_TableUpdate { Nag_TableUpdateU=1522, Nag_TableUpdateI=1523, } public enum Nag_TabulateVar { Nag_TabulateVarDiscr=1524, Nag_TabulateVarCont=1525, } public enum Nag_TailProbability { Nag_LowerTail=1329, Nag_UpperTail=1330, Nag_TwoTailSignif=1331, Nag_TwoTailConfid=1332, Nag_Central=1334, Nag_TwoTail=1333, } public enum Nag_TestStatistics { Nag_TestStatisticsDAbs=1498, Nag_TestStatisticsDPos=1499, Nag_TestStatisticsDNeg=1500, } public enum Nag_Ties { Nag_AverageTies=1341, Nag_LowestTies=1342, Nag_HighestTies=1343, Nag_RandomTies=1344, Nag_IgnoreTies=1345, } public enum Nag_TransNorm { Nag_NoTransNorm=1407, Nag_Orig=1408, Nag_OrigCentroid=1409, Nag_Norm=1410, Nag_OrigNorm=1411, Nag_OrigNormCentroid=1412, } public enum Nag_TransType { Nag_NoTrans=111, Nag_Trans=112, Nag_ConjTrans=113, } public enum Nag_TransformDirection { Nag_ForwardTransform=1070, Nag_BackwardTransform=1071, } public enum Nag_TrigTransform { Nag_Cosine=1079, Nag_Sine=1080, } public enum Nag_UpdateObserv { Nag_ObservAdd=1360, Nag_ObservDel=1361, } public enum Nag_UploType { Nag_Upper=121, Nag_Lower=122, } public enum Nag_VIFOption { Nag_NoVIF=2650, Nag_WantVIF=2651, } public enum Nag_VarScaleType { Nag_VarScaleStd=1436, Nag_VarScaleRange=1437, Nag_VarScaleUser=1438, Nag_NoVarScale=1439, } public enum Nag_Var_Selection { Nag_VarSel_NotSet=1582, Nag_First_Int=1583, Nag_Nearest_Half=1584, Nag_Use_Priority=1585, } public enum Nag_VariableType { Nag_Real=2740, Nag_Integer=2741, Nag_Character=2742, Nag_Integer_Additional=2743, Nag_Real_Additional=2744, } public enum Nag_VectType { Nag_FormBoth=1057, Nag_DoNotForm=1058, Nag_ApplyP=1060, Nag_FormP=1059, Nag_FormX=1064, Nag_ApplyQ=1062, Nag_FormQ=1061, Nag_UpdateQ=1063, } public enum Nag_VectorOp { Nag_Convolution=1068, Nag_Correlation=1069, } public enum Nag_Wavelet { Nag_Morlet=2240, Nag_DGauss=2241, Nag_MexHat=2242, Nag_Haar=2243, Nag_Daubechies2=2244, Nag_Daubechies3=2245, Nag_Daubechies4=2246, Nag_Daubechies5=2247, Nag_Daubechies6=2248, Nag_Daubechies7=2249, Nag_Daubechies8=2250, Nag_Daubechies9=2251, Nag_Daubechies10=2252, Nag_Biorthogonal1_1=2253, Nag_Biorthogonal1_3=2254, Nag_Biorthogonal1_5=2255, Nag_Biorthogonal2_2=2256, Nag_Biorthogonal2_4=2257, Nag_Biorthogonal2_6=2258, Nag_Biorthogonal2_8=2259, Nag_Biorthogonal3_1=2260, Nag_Biorthogonal3_3=2261, Nag_Biorthogonal3_5=2262, Nag_Biorthogonal3_7=2263, } public enum Nag_WaveletMode { Nag_HalfPointSymmetric=2220, Nag_WholePointSymmetric=2221, Nag_Periodic=2222, Nag_ZeroPadded=2223, } public enum Nag_WaveletTransform { Nag_SingleLevel=2560, Nag_MultiLevel=2561, } public enum Nag_WeightMode { Nag_InitWeights= 2770, Nag_ReuseWeights=2771, } public enum Nag_Weightstype { Nag_NoWeights=1401, Nag_Weights=1402, Nag_Weightsfreq=1403, Nag_Weightsvar=1404, } public enum Nag_WhereElements { Nag_ElementsIn=1261, Nag_ElementsSeparate=1262, } public enum Nag_ZeroCols { Nag_ZeroColsNormal=2790, Nag_ZeroColsRestrict=2791, } public enum Nag_ab_input { Nag_ab_prod=1549, Nag_ab_sep=1550, } // end enumeration types // delegate declarations public delegate void NAG_E04_PRINTFUN_DELEGATE ( ref Nag_Search_State p1, ref Nag_Comm p2 ); public delegate void NAG_ERRHAN_DELEGATE ( ref byte p1, int p2, ref byte p3 ); public delegate void NAG_G13_PRINTFUN_DELEGATE ( ref Nag_UserPrintFun p1, ref Nag_Comm p2 ); public delegate void NAG_H02_PRINTFUN_DELEGATE ( ref Nag_Search_State p1, ref Nag_Comm p2 ); // end of type declarations // chapter a00 [DllImport("CLW3223DA_nag.dll", EntryPoint="a00aac")] public static extern void nag_implementation_details( ); [DllImport("CLW3223DA_nag.dll")] public static extern void a00aac( ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a00acc")] public static extern bool nag_licence_query( ); [DllImport("CLW3223DA_nag.dll")] public static extern bool a00acc( ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a00adc")] public static extern void nag_implementation_separated_details( String impl, String prec, String pcode, String mkmaj, String mkmin, String hdware, String opsys, String ccomp, String fcomp, String vend, ref Nag_Boolean licval ); [DllImport("CLW3223DA_nag.dll")] public static extern void a00adc( String impl, String prec, String pcode, String mkmaj, String mkmin, String hdware, String opsys, String ccomp, String fcomp, String vend, ref Nag_Boolean licval ); // chapter a02 [DllImport("CLW3223DA_nag.dll", EntryPoint="a02bac")] public static extern Complex nag_complex( double x, double y ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02bac( double x, double y ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02bbc")] public static extern double nag_complex_real( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern double a02bbc( Complex z ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02bcc")] public static extern double nag_complex_imag( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern double a02bcc( Complex z ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02cac")] public static extern Complex nag_complex_add( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02cac( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02cbc")] public static extern Complex nag_complex_subtract( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02cbc( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02ccc")] public static extern Complex nag_complex_multiply( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02ccc( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02cdc")] public static extern Complex nag_complex_divide( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02cdc( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02cec")] public static extern Complex nag_complex_negate( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02cec( Complex z ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02cfc")] public static extern Complex nag_complex_conjg( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02cfc( Complex z ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02cgc")] public static extern bool nag_complex_equal( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll")] public static extern bool a02cgc( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02chc")] public static extern bool nag_complex_not_equal( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll")] public static extern bool a02chc( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02dac")] public static extern double nag_complex_arg( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern double a02dac( Complex z ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02dbc")] public static extern double nag_complex_abs( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern double a02dbc( Complex z ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02dcc")] public static extern Complex nag_complex_sqrt( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02dcc( Complex z ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02ddc")] public static extern Complex nag_complex_i_power( Complex z, int i ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02ddc( Complex z, int i ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02dec")] public static extern Complex nag_complex_r_power( Complex z, double x ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02dec( Complex z, double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02dfc")] public static extern Complex nag_complex_c_power( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02dfc( Complex v, Complex w ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02dgc")] public static extern Complex nag_complex_log( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02dgc( Complex z ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02dhc")] public static extern Complex nag_complex_exp( Complex v ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02dhc( Complex v ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02djc")] public static extern Complex nag_complex_sin( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02djc( Complex z ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02dkc")] public static extern Complex nag_complex_cos( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02dkc( Complex z ); [DllImport("CLW3223DA_nag.dll", EntryPoint="a02dlc")] public static extern Complex nag_complex_tan( Complex z ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex a02dlc( Complex z ); // chapter c02 [DllImport("CLW3223DA_nag.dll", EntryPoint="c02afc")] public static extern void nag_zeros_complex_poly( int n, [In] Complex[] a, Nag_Boolean dnscale, [Out] Complex[] z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c02afc( int n, [In] Complex[] a, Nag_Boolean dnscale, [Out] Complex[] z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c02agc")] public static extern void nag_zeros_real_poly( int n, [In] double[] a, Nag_Boolean dnscale, [Out] Complex[] z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c02agc( int n, [In] double[] a, Nag_Boolean dnscale, [Out] Complex[] z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c02akc")] public static extern void nag_cubic_roots( double u, double r, double s, double t, [Out] double[] zeror, [Out] double[] zeroi, [Out] double[] errest, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c02akc( double u, double r, double s, double t, [Out] double[] zeror, [Out] double[] zeroi, [Out] double[] errest, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c02alc")] public static extern void nag_quartic_roots( double e, double a, double b, double c, double d, [Out] double[] zeror, [Out] double[] zeroi, [Out] double[] errest, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c02alc( double e, double a, double b, double c, double d, [Out] double[] zeror, [Out] double[] zeroi, [Out] double[] errest, ref NagError fail ); // chapter c05 public delegate double nag_zero_cont_func_bd_f_DELEGATE( double xx ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05adc")] public static extern void nag_zero_cont_func_bd( double a, double b, ref double x, nag_zero_cont_func_bd_f_DELEGATE f, double xtol, double ftol, ref NagError fail ); public delegate double c05adc_f_DELEGATE( double xx ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05adc( double a, double b, ref double x, c05adc_f_DELEGATE f, double xtol, double ftol, ref NagError fail ); public delegate double nag_zero_cont_func_brent_bsrch_f_DELEGATE( double xx, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05agc")] public static extern void nag_zero_cont_func_brent_bsrch( ref double x, double h, double xtol, double ftol, nag_zero_cont_func_brent_bsrch_f_DELEGATE f, ref double a, ref double b, ref Nag_Comm COMM, ref NagError fail ); public delegate double c05agc_f_DELEGATE( double xx, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05agc( ref double x, double h, double xtol, double ftol, c05agc_f_DELEGATE f, ref double a, ref double b, ref Nag_Comm COMM, ref NagError fail ); public delegate double nag_zero_cont_func_brent_binsrch_f_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05auc")] public static extern void nag_zero_cont_func_brent_binsrch( ref double x, double h, double eps, double eta, nag_zero_cont_func_brent_binsrch_f_DELEGATE f, ref double a, ref double b, ref Nag_Comm COMM, ref NagError fail ); public delegate double c05auc_f_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05auc( ref double x, double h, double eps, double eta, c05auc_f_DELEGATE f, ref double a, ref double b, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05avc")] public static extern void nag_interval_zero_cont_func( ref double x, double fx, ref double h, double boundl, double boundu, ref double y, [In,Out] double[] c, ref int ind, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05avc( ref double x, double fx, ref double h, double boundl, double boundu, ref double y, [In,Out] double[] c, ref int ind, ref NagError fail ); public delegate double nag_zero_cont_func_cntin_f_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05awc")] public static extern void nag_zero_cont_func_cntin( ref double x, double eps, double eta, nag_zero_cont_func_cntin_f_DELEGATE f, int nfmax, ref Nag_Comm COMM, ref NagError fail ); public delegate double c05awc_f_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05awc( ref double x, double eps, double eta, c05awc_f_DELEGATE f, int nfmax, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05axc")] public static extern void nag_zero_cont_func_cntin_rcomm( ref double x, double fx, double tol, Nag_ErrorControl ir, double scal, [In,Out] double[] c, ref int ind, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05axc( ref double x, double fx, double tol, Nag_ErrorControl ir, double scal, [In,Out] double[] c, ref int ind, ref NagError fail ); public delegate double nag_zero_cont_func_brent_f_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05ayc")] public static extern void nag_zero_cont_func_brent( double a, double b, double eps, double eta, nag_zero_cont_func_brent_f_DELEGATE f, ref double x, ref Nag_Comm COMM, ref NagError fail ); public delegate double c05ayc_f_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05ayc( double a, double b, double eps, double eta, c05ayc_f_DELEGATE f, ref double x, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05azc")] public static extern void nag_zero_cont_func_brent_rcomm( ref double x, ref double y, double fx, double tolx, Nag_ErrorControl ir, [In,Out] double[] c, ref int ind, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05azc( ref double x, ref double y, double fx, double tolx, Nag_ErrorControl ir, [In,Out] double[] c, ref int ind, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05bac")] public static extern double nag_lambertW( double x, int branch, Nag_Boolean offset, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double c05bac( double x, int branch, Nag_Boolean offset, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05bbc")] public static extern void nag_lambertW_complex( int branch, Nag_Boolean offset, Complex z, ref Complex w, ref double resid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05bbc( int branch, Nag_Boolean offset, Complex z, ref Complex w, ref double resid, ref NagError fail ); public delegate void nag_zero_nonlin_eqns_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, ref int userflag ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05nbc")] public static extern void nag_zero_nonlin_eqns( int n, [In,Out] double[] x, [Out] double[] fvec, nag_zero_nonlin_eqns_f_DELEGATE f, double xtol, ref NagError fail ); public delegate void c05nbc_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, ref int userflag ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05nbc( int n, [In,Out] double[] x, [Out] double[] fvec, c05nbc_f_DELEGATE f, double xtol, ref NagError fail ); public delegate void nag_zero_nonlin_eqns_deriv_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref int userflag ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05pbc")] public static extern void nag_zero_nonlin_eqns_deriv( int n, [In,Out] double[] x, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, nag_zero_nonlin_eqns_deriv_f_DELEGATE f, double xtol, ref NagError fail ); public delegate void c05pbc_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref int userflag ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05pbc( int n, [In,Out] double[] x, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, c05pbc_f_DELEGATE f, double xtol, ref NagError fail ); public delegate void nag_zero_nonlin_eqns_easy_fcn_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, ref Nag_Comm COMM, ref int iflag ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05qbc")] public static extern void nag_zero_nonlin_eqns_easy( nag_zero_nonlin_eqns_easy_fcn_DELEGATE fcn, int n, [In,Out] double[] x, [Out] double[] fvec, double xtol, ref Nag_Comm COMM, ref NagError fail ); public delegate void c05qbc_fcn_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, ref Nag_Comm COMM, ref int iflag ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05qbc( c05qbc_fcn_DELEGATE fcn, int n, [In,Out] double[] x, [Out] double[] fvec, double xtol, ref Nag_Comm COMM, ref NagError fail ); public delegate void nag_zero_nonlin_eqns_expert_fcn_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, ref Nag_Comm COMM, ref int iflag ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05qcc")] public static extern void nag_zero_nonlin_eqns_expert( nag_zero_nonlin_eqns_expert_fcn_DELEGATE fcn, int n, [In,Out] double[] x, [Out] double[] fvec, double xtol, int maxfev, int ml, int mu, double epsfcn, Nag_ScaleType scale_mode, [In,Out] double[] diag, double factor, int nprint, ref int nfev, [Out] double[] fjac, [Out] double[] r, [Out] double[] qtf, ref Nag_Comm COMM, ref NagError fail ); public delegate void c05qcc_fcn_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, ref Nag_Comm COMM, ref int iflag ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05qcc( c05qcc_fcn_DELEGATE fcn, int n, [In,Out] double[] x, [Out] double[] fvec, double xtol, int maxfev, int ml, int mu, double epsfcn, Nag_ScaleType scale_mode, [In,Out] double[] diag, double factor, int nprint, ref int nfev, [Out] double[] fjac, [Out] double[] r, [Out] double[] qtf, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05qdc")] public static extern void nag_zero_nonlin_eqns_rcomm( ref int irevcm, int n, [In,Out] double[] x, [In,Out] double[] fvec, double xtol, int ml, int mu, double epsfcn, Nag_ScaleType scale_mode, [In,Out] double[] diag, double factor, [In,Out] double[] fjac, [In,Out] double[] r, [In,Out] double[] qtf, [In,Out] int[] iwsav, [In,Out] double[] rwsav, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05qdc( ref int irevcm, int n, [In,Out] double[] x, [In,Out] double[] fvec, double xtol, int ml, int mu, double epsfcn, Nag_ScaleType scale_mode, [In,Out] double[] diag, double factor, [In,Out] double[] fjac, [In,Out] double[] r, [In,Out] double[] qtf, [In,Out] int[] iwsav, [In,Out] double[] rwsav, ref NagError fail ); public delegate void nag_zero_sparse_nonlin_eqns_easy_fcn_DELEGATE( int n, int lindf, IntPtr indf_iptr, IntPtr x_rptr, IntPtr fvec_rptr, ref Nag_Comm COMM, ref int iflag ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05qsc")] public static extern void nag_zero_sparse_nonlin_eqns_easy( nag_zero_sparse_nonlin_eqns_easy_fcn_DELEGATE fcn, int n, [In,Out] double[] x, [Out] double[] fvec, double xtol, Nag_Boolean init, [In,Out] double[] rcomm, int lrcomm, [In,Out] int[] icomm, int licomm, ref Nag_Comm COMM, ref NagError fail ); public delegate void c05qsc_fcn_DELEGATE( int n, int lindf, IntPtr indf_iptr, IntPtr x_rptr, IntPtr fvec_rptr, ref Nag_Comm COMM, ref int iflag ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05qsc( c05qsc_fcn_DELEGATE fcn, int n, [In,Out] double[] x, [Out] double[] fvec, double xtol, Nag_Boolean init, [In,Out] double[] rcomm, int lrcomm, [In,Out] int[] icomm, int licomm, ref Nag_Comm COMM, ref NagError fail ); public delegate void nag_zero_nonlin_eqns_deriv_easy_fcn_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, ref Nag_Comm COMM, ref int iflag ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05rbc")] public static extern void nag_zero_nonlin_eqns_deriv_easy( nag_zero_nonlin_eqns_deriv_easy_fcn_DELEGATE fcn, int n, [In,Out] double[] x, [Out] double[] fvec, [Out] double[] fjac, double xtol, ref Nag_Comm COMM, ref NagError fail ); public delegate void c05rbc_fcn_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, ref Nag_Comm COMM, ref int iflag ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05rbc( c05rbc_fcn_DELEGATE fcn, int n, [In,Out] double[] x, [Out] double[] fvec, [Out] double[] fjac, double xtol, ref Nag_Comm COMM, ref NagError fail ); public delegate void nag_zero_nonlin_eqns_deriv_expert_fcn_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, ref Nag_Comm COMM, ref int iflag ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05rcc")] public static extern void nag_zero_nonlin_eqns_deriv_expert( nag_zero_nonlin_eqns_deriv_expert_fcn_DELEGATE fcn, int n, [In,Out] double[] x, [Out] double[] fvec, [Out] double[] fjac, double xtol, int maxfev, Nag_ScaleType scale_mode, [In,Out] double[] diag, double factor, int nprint, ref int nfev, ref int njev, [Out] double[] r, [Out] double[] qtf, ref Nag_Comm COMM, ref NagError fail ); public delegate void c05rcc_fcn_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, ref Nag_Comm COMM, ref int iflag ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05rcc( c05rcc_fcn_DELEGATE fcn, int n, [In,Out] double[] x, [Out] double[] fvec, [Out] double[] fjac, double xtol, int maxfev, Nag_ScaleType scale_mode, [In,Out] double[] diag, double factor, int nprint, ref int nfev, ref int njev, [Out] double[] r, [Out] double[] qtf, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05rdc")] public static extern void nag_zero_nonlin_eqns_deriv_rcomm( ref int irevcm, int n, [In,Out] double[] x, [In,Out] double[] fvec, [In,Out] double[] fjac, double xtol, Nag_ScaleType scale_mode, [In,Out] double[] diag, double factor, [In,Out] double[] r, [In,Out] double[] qtf, [In,Out] int[] iwsav, [In,Out] double[] rwsav, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05rdc( ref int irevcm, int n, [In,Out] double[] x, [In,Out] double[] fvec, [In,Out] double[] fjac, double xtol, Nag_ScaleType scale_mode, [In,Out] double[] diag, double factor, [In,Out] double[] r, [In,Out] double[] qtf, [In,Out] int[] iwsav, [In,Out] double[] rwsav, ref NagError fail ); public delegate double nag_zero_cont_func_bd_1_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05sdc")] public static extern void nag_zero_cont_func_bd_1( double a, double b, ref double x, nag_zero_cont_func_bd_1_f_DELEGATE f, double xtol, double ftol, ref Nag_User comm, ref NagError fail ); public delegate double c05sdc_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05sdc( double a, double b, ref double x, c05sdc_f_DELEGATE f, double xtol, double ftol, ref Nag_User comm, ref NagError fail ); public delegate void nag_zero_nonlin_eqns_1_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, ref int userflag, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05tbc")] public static extern void nag_zero_nonlin_eqns_1( int n, [In,Out] double[] x, [Out] double[] fvec, nag_zero_nonlin_eqns_1_f_DELEGATE f, double xtol, ref Nag_User comm, ref NagError fail ); public delegate void c05tbc_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, ref int userflag, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05tbc( int n, [In,Out] double[] x, [Out] double[] fvec, c05tbc_f_DELEGATE f, double xtol, ref Nag_User comm, ref NagError fail ); public delegate void nag_zero_nonlin_eqns_deriv_1_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref int userflag, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05ubc")] public static extern void nag_zero_nonlin_eqns_deriv_1( int n, [In,Out] double[] x, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, nag_zero_nonlin_eqns_deriv_1_f_DELEGATE f, double xtol, ref Nag_User comm, ref NagError fail ); public delegate void c05ubc_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref int userflag, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05ubc( int n, [In,Out] double[] x, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, c05ubc_f_DELEGATE f, double xtol, ref Nag_User comm, ref NagError fail ); public delegate void nag_check_deriv_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref int userflag ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05zbc")] public static extern void nag_check_deriv( int n, [In] double[] x, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, nag_check_deriv_f_DELEGATE f, ref NagError fail ); public delegate void c05zbc_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref int userflag ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05zbc( int n, [In] double[] x, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, c05zbc_f_DELEGATE f, ref NagError fail ); public delegate void nag_check_deriv_1_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref int userflag, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05zcc")] public static extern void nag_check_deriv_1( int n, [In] double[] x, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, nag_check_deriv_1_f_DELEGATE f, ref Nag_User comm, ref NagError fail ); public delegate void c05zcc_f_DELEGATE( int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref int userflag, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05zcc( int n, [In] double[] x, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, c05zcc_f_DELEGATE f, ref Nag_User comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c05zdc")] public static extern void nag_check_derivs( int mode, int m, int n, [In] double[] x, [In] double[] fvec, [In] double[] fjac, [Out] double[] xp, [In] double[] fvecp, [Out] double[] err, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c05zdc( int mode, int m, int n, [In] double[] x, [In] double[] fvec, [In] double[] fjac, [Out] double[] xp, [In] double[] fvecp, [Out] double[] err, ref NagError fail ); // chapter c06 [DllImport("CLW3223DA_nag.dll", EntryPoint="c06dcc")] public static extern void nag_sum_cheby_series( [In] double[] x, int lx, double xmin, double xmax, [In] double[] c, int n, Nag_Series s, [Out] double[] res, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06dcc( [In] double[] x, int lx, double xmin, double xmax, [In] double[] c, int n, Nag_Series s, [Out] double[] res, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06eac")] public static extern void nag_fft_real( int n, [In,Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06eac( int n, [In,Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06ebc")] public static extern void nag_fft_hermitian( int n, [In,Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06ebc( int n, [In,Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06ecc")] public static extern void nag_fft_complex( int n, [In,Out] double[] x, [In,Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06ecc( int n, [In,Out] double[] x, [In,Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06ekc")] public static extern void nag_convolution_real( Nag_VectorOp operation, int n, [In,Out] double[] x, [In,Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06ekc( Nag_VectorOp operation, int n, [In,Out] double[] x, [In,Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06fpc")] public static extern void nag_fft_multiple_real( int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06fpc( int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06fqc")] public static extern void nag_fft_multiple_hermitian( int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06fqc( int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06frc")] public static extern void nag_fft_multiple_complex( int m, int n, [In,Out] double[] x, [In,Out] double[] y, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06frc( int m, int n, [In,Out] double[] x, [In,Out] double[] y, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06fuc")] public static extern void nag_fft_2d_complex( int m, int n, [In,Out] double[] x, [In,Out] double[] y, [In] double[] trigm, [In] double[] trign, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06fuc( int m, int n, [In,Out] double[] x, [In,Out] double[] y, [In] double[] trigm, [In] double[] trign, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06gbc")] public static extern void nag_conjugate_hermitian( int n, [In,Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06gbc( int n, [In,Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06gcc")] public static extern void nag_conjugate_complex( int n, [In,Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06gcc( int n, [In,Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06gqc")] public static extern void nag_multiple_conjugate_hermitian( int m, int n, [In,Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06gqc( int m, int n, [In,Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06gsc")] public static extern void nag_multiple_hermitian_to_complex( int m, int n, [In] double[] x, [Out] double[] u, [Out] double[] v, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06gsc( int m, int n, [In] double[] x, [Out] double[] u, [Out] double[] v, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06gzc")] public static extern void nag_fft_init_trig( int n, [Out] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06gzc( int n, [Out] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06hac")] public static extern void nag_fft_multiple_sine( int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06hac( int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06hbc")] public static extern void nag_fft_multiple_cosine( int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06hbc( int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06hcc")] public static extern void nag_fft_multiple_qtr_sine( Nag_TransformDirection direct, int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06hcc( Nag_TransformDirection direct, int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06hdc")] public static extern void nag_fft_multiple_qtr_cosine( Nag_TransformDirection direct, int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06hdc( Nag_TransformDirection direct, int m, int n, [In,Out] double[] x, [In] double[] trig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06pfc")] public static extern void nag_fft_multid_single( Nag_TransformDirection direct, int ndim, int l, [In] int[] nd, int n, [In,Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06pfc( Nag_TransformDirection direct, int ndim, int l, [In] int[] nd, int n, [In,Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06pjc")] public static extern void nag_fft_multid_full( Nag_TransformDirection direct, int ndim, [In] int[] nd, int n, [In,Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06pjc( Nag_TransformDirection direct, int ndim, [In] int[] nd, int n, [In,Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c06pxc")] public static extern void nag_fft_3d( Nag_TransformDirection direct, int n1, int n2, int n3, [In,Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c06pxc( Nag_TransformDirection direct, int n1, int n2, int n3, [In,Out] Complex[] x, ref NagError fail ); // chapter c09 [DllImport("CLW3223DA_nag.dll", EntryPoint="c09aac")] public static extern void nag_wfilt( Nag_Wavelet wavnam, Nag_WaveletTransform wtrans, Nag_WaveletMode mode, int n, ref int nwl, ref int nf, ref int nwc, [Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09aac( Nag_Wavelet wavnam, Nag_WaveletTransform wtrans, Nag_WaveletMode mode, int n, ref int nwl, ref int nf, ref int nwc, [Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c09abc")] public static extern void nag_wfilt_2d( Nag_Wavelet wavnam, Nag_WaveletTransform wtrans, Nag_WaveletMode mode, int m, int n, ref int nwl, ref int nf, ref int nwct, ref int nwcn, [Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09abc( Nag_Wavelet wavnam, Nag_WaveletTransform wtrans, Nag_WaveletMode mode, int m, int n, ref int nwl, ref int nf, ref int nwct, ref int nwcn, [Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c09bac")] public static extern void nag_cwt_1d_real( Nag_Wavelet wavnam, int wparam, int n, [In] double[] x, int nscal, [In] int[] scales, [Out] double[] c, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09bac( Nag_Wavelet wavnam, int wparam, int n, [In] double[] x, int nscal, [In] int[] scales, [Out] double[] c, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c09cac")] public static extern void nag_dwt( int n, [In] double[] x, int lenc, [Out] double[] ca, [Out] double[] cd, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09cac( int n, [In] double[] x, int lenc, [Out] double[] ca, [Out] double[] cd, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c09cbc")] public static extern void nag_idwt( int lenc, [In] double[] ca, [In] double[] cd, int n, [Out] double[] y, [In] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09cbc( int lenc, [In] double[] ca, [In] double[] cd, int n, [Out] double[] y, [In] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c09ccc")] public static extern void nag_mldwt( int n, [In] double[] x, int lenc, [Out] double[] c, int nwl, [Out] int[] dwtlev, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09ccc( int n, [In] double[] x, int lenc, [Out] double[] c, int nwl, [Out] int[] dwtlev, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c09cdc")] public static extern void nag_imldwt( int nwl, int lenc, [In] double[] c, int n, [Out] double[] y, [In] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09cdc( int nwl, int lenc, [In] double[] c, int n, [Out] double[] y, [In] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c09eac")] public static extern void nag_dwt_2d( int m, int n, [In] double[] a, int lda, [Out] double[] ca, int ldca, [Out] double[] ch, int ldch, [Out] double[] cv, int ldcv, [Out] double[] cd, int ldcd, [In] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09eac( int m, int n, [In] double[] a, int lda, [Out] double[] ca, int ldca, [Out] double[] ch, int ldch, [Out] double[] cv, int ldcv, [Out] double[] cd, int ldcd, [In] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c09ebc")] public static extern void nag_idwt_2d( int m, int n, [In] double[] ca, int ldca, [In] double[] ch, int ldch, [In] double[] cv, int ldcv, [In] double[] cd, int ldcd, [Out] double[] b, int ldb, [In] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09ebc( int m, int n, [In] double[] ca, int ldca, [In] double[] ch, int ldch, [In] double[] cv, int ldcv, [In] double[] cd, int ldcd, [Out] double[] b, int ldb, [In] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c09ecc")] public static extern void nag_mldwt_2d( int m, int n, [In] double[] a, int lda, int lenc, [Out] double[] c, int nwl, [Out] int[] dwtlvm, [Out] int[] dwtlvn, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09ecc( int m, int n, [In] double[] a, int lda, int lenc, [Out] double[] c, int nwl, [Out] int[] dwtlvm, [Out] int[] dwtlvn, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="c09edc")] public static extern void nag_imldwt_2d( int nwl, int lenc, [In] double[] c, int m, int n, [Out] double[] b, int ldb, [In] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void c09edc( int nwl, int lenc, [In] double[] c, int m, int n, [Out] double[] b, int ldb, [In] int[] icomm, ref NagError fail ); // chapter d01 public delegate double nag_1d_quad_gen_f_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01ajc")] public static extern void nag_1d_quad_gen( nag_1d_quad_gen_f_DELEGATE f, double a, double b, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double d01ajc_f_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01ajc( d01ajc_f_DELEGATE f, double a, double b, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double nag_1d_quad_osc_f_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01akc")] public static extern void nag_1d_quad_osc( nag_1d_quad_osc_f_DELEGATE f, double a, double b, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double d01akc_f_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01akc( d01akc_f_DELEGATE f, double a, double b, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double nag_1d_quad_brkpts_f_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01alc")] public static extern void nag_1d_quad_brkpts( nag_1d_quad_brkpts_f_DELEGATE f, double a, double b, int nbrkpts, [In] double[] brkpts, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double d01alc_f_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01alc( d01alc_f_DELEGATE f, double a, double b, int nbrkpts, [In] double[] brkpts, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double nag_1d_quad_inf_f_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01amc")] public static extern void nag_1d_quad_inf( nag_1d_quad_inf_f_DELEGATE f, Nag_BoundInterval boundinf, double bound, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double d01amc_f_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01amc( d01amc_f_DELEGATE f, Nag_BoundInterval boundinf, double bound, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double nag_1d_quad_wt_trig_g_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01anc")] public static extern void nag_1d_quad_wt_trig( nag_1d_quad_wt_trig_g_DELEGATE g, double a, double b, double omega, Nag_TrigTransform wt_func, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double d01anc_g_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01anc( d01anc_g_DELEGATE g, double a, double b, double omega, Nag_TrigTransform wt_func, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double nag_1d_quad_wt_alglog_g_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01apc")] public static extern void nag_1d_quad_wt_alglog( nag_1d_quad_wt_alglog_g_DELEGATE g, double a, double b, double alfa, double beta, Nag_QuadWeight wt_func, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double d01apc_g_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01apc( d01apc_g_DELEGATE g, double a, double b, double alfa, double beta, Nag_QuadWeight wt_func, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double nag_1d_quad_wt_cauchy_g_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01aqc")] public static extern void nag_1d_quad_wt_cauchy( nag_1d_quad_wt_cauchy_g_DELEGATE g, double a, double b, double c, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double d01aqc_g_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01aqc( d01aqc_g_DELEGATE g, double a, double b, double c, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref NagError fail ); public delegate double nag_1d_quad_inf_wt_trig_g_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01asc")] public static extern void nag_1d_quad_inf_wt_trig( nag_1d_quad_inf_wt_trig_g_DELEGATE g, double a, double omega, Nag_TrigTransform wt_func, int maxintervals, int max_num_subint, double epsabs, ref double result, ref double abserr, ref Nag_QuadSubProgress qpsub, ref NagError fail ); public delegate double d01asc_g_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01asc( d01asc_g_DELEGATE g, double a, double omega, Nag_TrigTransform wt_func, int maxintervals, int max_num_subint, double epsabs, ref double result, ref double abserr, ref Nag_QuadSubProgress qpsub, ref NagError fail ); public delegate double nag_1d_quad_gauss_f_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01bac")] public static extern double nag_1d_quad_gauss( Nag_GaussFormulae quadrule, nag_1d_quad_gauss_f_DELEGATE f, double a, double b, int npts, ref NagError fail ); public delegate double d01bac_f_DELEGATE( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double d01bac( Nag_GaussFormulae quadrule, d01bac_f_DELEGATE f, double a, double b, int npts, ref NagError fail ); public delegate double nag_quad_1d_fin_smooth_f_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01bdc")] public static extern void nag_quad_1d_fin_smooth( nag_quad_1d_fin_smooth_f_DELEGATE f, double a, double b, double epsabs, double epsrel, ref double result, ref double abserr, ref Nag_Comm COMM ); public delegate double d01bdc_f_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01bdc( d01bdc_f_DELEGATE f, double a, double b, double epsabs, double epsrel, ref double result, ref double abserr, ref Nag_Comm COMM ); public delegate double nag_quad_2d_fin_phi1_DELEGATE( double y, ref Nag_Comm COMM ); public delegate double nag_quad_2d_fin_phi2_DELEGATE( double y, ref Nag_Comm COMM ); public delegate double nag_quad_2d_fin_f_DELEGATE( double x, double y, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01dac")] public static extern void nag_quad_2d_fin( double ya, double yb, nag_quad_2d_fin_phi1_DELEGATE phi1, nag_quad_2d_fin_phi2_DELEGATE phi2, nag_quad_2d_fin_f_DELEGATE f, double absacc, ref double ans, ref int npts, ref Nag_Comm COMM, ref NagError fail ); public delegate double d01dac_phi1_DELEGATE( double y, ref Nag_Comm COMM ); public delegate double d01dac_phi2_DELEGATE( double y, ref Nag_Comm COMM ); public delegate double d01dac_f_DELEGATE( double x, double y, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01dac( double ya, double yb, d01dac_phi1_DELEGATE phi1, d01dac_phi2_DELEGATE phi2, d01dac_f_DELEGATE f, double absacc, ref double ans, ref int npts, ref Nag_Comm COMM, ref NagError fail ); public delegate double nag_quad_md_gauss_fun_DELEGATE( int ndim, IntPtr x_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01fbc")] public static extern double nag_quad_md_gauss( int ndim, [In] int[] nptvec, int lwa, [In] double[] weight, [In] double[] abscis, nag_quad_md_gauss_fun_DELEGATE fun, ref Nag_Comm COMM, ref NagError fail ); public delegate double d01fbc_fun_DELEGATE( int ndim, IntPtr x_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern double d01fbc( int ndim, [In] int[] nptvec, int lwa, [In] double[] weight, [In] double[] abscis, d01fbc_fun_DELEGATE fun, ref Nag_Comm COMM, ref NagError fail ); public delegate double nag_multid_quad_adapt_f_DELEGATE( int ndim, IntPtr x_rptr ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01fcc")] public static extern void nag_multid_quad_adapt( int ndim, nag_multid_quad_adapt_f_DELEGATE f, [In] double[] a, [In] double[] b, ref int minpts, int maxpts, double eps, ref double finval, ref double acc, ref NagError fail ); public delegate double d01fcc_f_DELEGATE( int ndim, IntPtr x_rptr ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01fcc( int ndim, d01fcc_f_DELEGATE f, [In] double[] a, [In] double[] b, ref int minpts, int maxpts, double eps, ref double finval, ref double acc, ref NagError fail ); public delegate double nag_quad_md_sphere_f_DELEGATE( int ndim, IntPtr x_rptr, ref Nag_Comm COMM ); public delegate void nag_quad_md_sphere_region_DELEGATE( int ndim, IntPtr x_rptr, int j, ref double c, ref double d, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void D01FDV( int ndim, IntPtr x_rptr, int j, ref double c, ref double d, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01fdc")] public static extern void nag_quad_md_sphere( int ndim, nag_quad_md_sphere_f_DELEGATE f, double sigma, nag_quad_md_sphere_region_DELEGATE region, int limit, double r0, double u, ref double result, ref int ncalls, ref Nag_Comm COMM, ref NagError fail ); public delegate double d01fdc_f_DELEGATE( int ndim, IntPtr x_rptr, ref Nag_Comm COMM ); public delegate void d01fdc_region_DELEGATE( int ndim, IntPtr x_rptr, int j, ref double c, ref double d, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01fdc( int ndim, d01fdc_f_DELEGATE f, double sigma, d01fdc_region_DELEGATE region, int limit, double r0, double u, ref double result, ref int ncalls, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01gac")] public static extern void nag_1d_quad_vals( int n, [In] double[] x, [In] double[] y, ref double ans, ref double er, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01gac( int n, [In] double[] x, [In] double[] y, ref double ans, ref double er, ref NagError fail ); public delegate double nag_multid_quad_monte_carlo_f_DELEGATE( int ndim, IntPtr x_rptr ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01gbc")] public static extern void nag_multid_quad_monte_carlo( int ndim, nag_multid_quad_monte_carlo_f_DELEGATE f, Nag_MCMethod method, Nag_Start cont, [In] double[] a, [In] double[] b, ref int mincls, int maxcls, double eps, ref double finest, ref double acc, ref IntPtr comm_arrPTR, ref NagError fail ); public delegate double d01gbc_f_DELEGATE( int ndim, IntPtr x_rptr ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01gbc( int ndim, d01gbc_f_DELEGATE f, Nag_MCMethod method, Nag_Start cont, [In] double[] a, [In] double[] b, ref int mincls, int maxcls, double eps, ref double finest, ref double acc, ref IntPtr comm_arrPTR, ref NagError fail ); public delegate void nag_quad_md_numth_vec_vecfun_DELEGATE( int ndim, IntPtr x_rptr, IntPtr fv_rptr, int m, ref Nag_Comm COMM ); public delegate void nag_quad_md_numth_vec_vecreg_DELEGATE( int ndim, IntPtr x_rptr, int j, IntPtr c_rptr, IntPtr d_rptr, int m, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01gdc")] public static extern void nag_quad_md_numth_vec( int ndim, nag_quad_md_numth_vec_vecfun_DELEGATE vecfun, nag_quad_md_numth_vec_vecreg_DELEGATE vecreg, int npts, [In,Out] double[] vk, int nrand, Nag_Boolean transform, ref double res, ref double err, ref Nag_Comm COMM, ref NagError fail ); public delegate void d01gdc_vecfun_DELEGATE( int ndim, IntPtr x_rptr, IntPtr fv_rptr, int m, ref Nag_Comm COMM ); public delegate void d01gdc_vecreg_DELEGATE( int ndim, IntPtr x_rptr, int j, IntPtr c_rptr, IntPtr d_rptr, int m, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01gdc( int ndim, d01gdc_vecfun_DELEGATE vecfun, d01gdc_vecreg_DELEGATE vecreg, int npts, [In,Out] double[] vk, int nrand, Nag_Boolean transform, ref double res, ref double err, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01gyc")] public static extern void nag_quad_md_numth_coeff_prime( int ndim, int npts, [Out] double[] vk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01gyc( int ndim, int npts, [Out] double[] vk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01gzc")] public static extern void nag_quad_md_numth_coeff_2prime( int ndim, int np1, int np2, [Out] double[] vk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01gzc( int ndim, int np1, int np2, [Out] double[] vk, ref NagError fail ); public delegate double nag_quad_md_simplex_functn_DELEGATE( int ndim, IntPtr x_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01pac")] public static extern void nag_quad_md_simplex( int ndim, [In,Out] double[] vert, nag_quad_md_simplex_functn_DELEGATE functn, ref int minord, int maxord, [In,Out] double[] finvls, ref double esterr, ref Nag_Comm COMM, ref NagError fail ); public delegate double d01pac_functn_DELEGATE( int ndim, IntPtr x_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01pac( int ndim, [In,Out] double[] vert, d01pac_functn_DELEGATE functn, ref int minord, int maxord, [In,Out] double[] finvls, ref double esterr, ref Nag_Comm COMM, ref NagError fail ); public delegate double nag_1d_quad_gen_1_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01sjc")] public static extern void nag_1d_quad_gen_1( nag_1d_quad_gen_1_f_DELEGATE f, double a, double b, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double d01sjc_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01sjc( d01sjc_f_DELEGATE f, double a, double b, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double nag_1d_quad_osc_1_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01skc")] public static extern void nag_1d_quad_osc_1( nag_1d_quad_osc_1_f_DELEGATE f, double a, double b, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double d01skc_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01skc( d01skc_f_DELEGATE f, double a, double b, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double nag_1d_quad_brkpts_1_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01slc")] public static extern void nag_1d_quad_brkpts_1( nag_1d_quad_brkpts_1_f_DELEGATE f, double a, double b, int nbrkpts, [In] double[] brkpts, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double d01slc_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01slc( d01slc_f_DELEGATE f, double a, double b, int nbrkpts, [In] double[] brkpts, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double nag_1d_quad_inf_1_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01smc")] public static extern void nag_1d_quad_inf_1( nag_1d_quad_inf_1_f_DELEGATE f, Nag_BoundInterval boundinf, double bound, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double d01smc_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01smc( d01smc_f_DELEGATE f, Nag_BoundInterval boundinf, double bound, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double nag_1d_quad_wt_trig_1_g_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01snc")] public static extern void nag_1d_quad_wt_trig_1( nag_1d_quad_wt_trig_1_g_DELEGATE g, double a, double b, double omega, Nag_TrigTransform wt_func, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double d01snc_g_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01snc( d01snc_g_DELEGATE g, double a, double b, double omega, Nag_TrigTransform wt_func, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double nag_1d_quad_wt_alglog_1_g_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01spc")] public static extern void nag_1d_quad_wt_alglog_1( nag_1d_quad_wt_alglog_1_g_DELEGATE g, double a, double b, double alfa, double beta, Nag_QuadWeight wt_func, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double d01spc_g_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01spc( d01spc_g_DELEGATE g, double a, double b, double alfa, double beta, Nag_QuadWeight wt_func, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double nag_1d_quad_wt_cauchy_1_g_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01sqc")] public static extern void nag_1d_quad_wt_cauchy_1( nag_1d_quad_wt_cauchy_1_g_DELEGATE g, double a, double b, double c, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double d01sqc_g_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01sqc( d01sqc_g_DELEGATE g, double a, double b, double c, double epsabs, double epsrel, int max_num_subint, ref double result, ref double abserr, ref Nag_QuadProgress qp, ref Nag_User comm, ref NagError fail ); public delegate double nag_1d_quad_inf_wt_trig_1_g_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01ssc")] public static extern void nag_1d_quad_inf_wt_trig_1( nag_1d_quad_inf_wt_trig_1_g_DELEGATE g, double a, double omega, Nag_TrigTransform wt_func, int maxintervals, int max_num_subint, double epsabs, ref double result, ref double abserr, ref Nag_QuadSubProgress qpsub, ref Nag_User comm, ref NagError fail ); public delegate double d01ssc_g_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01ssc( d01ssc_g_DELEGATE g, double a, double omega, Nag_TrigTransform wt_func, int maxintervals, int max_num_subint, double epsabs, ref double result, ref double abserr, ref Nag_QuadSubProgress qpsub, ref Nag_User comm, ref NagError fail ); public delegate double nag_1d_quad_gauss_1_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01tac")] public static extern double nag_1d_quad_gauss_1( Nag_GaussFormulae quadrule, nag_1d_quad_gauss_1_f_DELEGATE f, double a, double b, int npts, ref Nag_User comm, ref NagError fail ); public delegate double d01tac_f_DELEGATE( double x, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern double d01tac( Nag_GaussFormulae quadrule, d01tac_f_DELEGATE f, double a, double b, int npts, ref Nag_User comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01tbc")] public static extern void nag_quad_1d_gauss_wset( Nag_QuadType quad_type, double a, double b, int n, [Out] double[] weight, [Out] double[] abscis, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01tbc( Nag_QuadType quad_type, double a, double b, int n, [Out] double[] weight, [Out] double[] abscis, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01tcc")] public static extern void nag_quad_1d_gauss_wgen( Nag_QuadType quad_type, double a, double b, double c, double d, int n, [Out] double[] weight, [Out] double[] abscis, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01tcc( Nag_QuadType quad_type, double a, double b, double c, double d, int n, [Out] double[] weight, [Out] double[] abscis, ref NagError fail ); public delegate double nag_multid_quad_adapt_1_f_DELEGATE( int ndim, IntPtr x_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01wcc")] public static extern void nag_multid_quad_adapt_1( int ndim, nag_multid_quad_adapt_1_f_DELEGATE f, [In] double[] a, [In] double[] b, ref int minpts, int maxpts, double eps, ref double finval, ref double acc, ref Nag_User comm, ref NagError fail ); public delegate double d01wcc_f_DELEGATE( int ndim, IntPtr x_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01wcc( int ndim, d01wcc_f_DELEGATE f, [In] double[] a, [In] double[] b, ref int minpts, int maxpts, double eps, ref double finval, ref double acc, ref Nag_User comm, ref NagError fail ); public delegate double nag_multid_quad_monte_carlo_1_f_DELEGATE( int ndim, IntPtr x_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d01xbc")] public static extern void nag_multid_quad_monte_carlo_1( int ndim, nag_multid_quad_monte_carlo_1_f_DELEGATE f, Nag_MCMethod method, Nag_Start cont, [In] double[] a, [In] double[] b, ref int mincls, int maxcls, double eps, ref double finest, ref double acc, ref IntPtr comm_arrPTR, ref Nag_User comm, ref NagError fail ); public delegate double d01xbc_f_DELEGATE( int ndim, IntPtr x_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d01xbc( int ndim, d01xbc_f_DELEGATE f, Nag_MCMethod method, Nag_Start cont, [In] double[] a, [In] double[] b, ref int mincls, int maxcls, double eps, ref double finest, ref double acc, ref IntPtr comm_arrPTR, ref Nag_User comm, ref NagError fail ); // chapter d02 public delegate void nag_ode_ivp_adams_gen_fcn_DELEGATE( int neq, double x, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate void nag_ode_ivp_adams_gen_output_DELEGATE( int neq, ref double xsol, IntPtr y_rptr, ref Nag_User comm ); public delegate double nag_ode_ivp_adams_gen_g_DELEGATE( int neq, double x, IntPtr y_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02cjc")] public static extern void nag_ode_ivp_adams_gen( int neq, nag_ode_ivp_adams_gen_fcn_DELEGATE fcn, ref double x, [In,Out] double[] y, double xend, double tol, Nag_ErrorControl err_c, nag_ode_ivp_adams_gen_output_DELEGATE output, nag_ode_ivp_adams_gen_g_DELEGATE g, ref Nag_User comm, ref NagError fail ); public delegate void d02cjc_fcn_DELEGATE( int neq, double x, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate void d02cjc_output_DELEGATE( int neq, ref double xsol, IntPtr y_rptr, ref Nag_User comm ); public delegate double d02cjc_g_DELEGATE( int neq, double x, IntPtr y_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02cjc( int neq, d02cjc_fcn_DELEGATE fcn, ref double x, [In,Out] double[] y, double xend, double tol, Nag_ErrorControl err_c, d02cjc_output_DELEGATE output, d02cjc_g_DELEGATE g, ref Nag_User comm, ref NagError fail ); public delegate void nag_ode_ivp_bdf_gen_fcn_DELEGATE( int neq, double x, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate void nag_ode_ivp_bdf_gen_pederv_DELEGATE( int neq, double x, IntPtr y_rptr, IntPtr pw_rptr, ref Nag_User comm ); public delegate void nag_ode_ivp_bdf_gen_output_DELEGATE( int neq, ref double xsol, IntPtr y_rptr, ref Nag_User comm ); public delegate double nag_ode_ivp_bdf_gen_g_DELEGATE( int neq, double x, IntPtr y_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02ejc")] public static extern void nag_ode_ivp_bdf_gen( int neq, nag_ode_ivp_bdf_gen_fcn_DELEGATE fcn, nag_ode_ivp_bdf_gen_pederv_DELEGATE pederv, ref double x, [In,Out] double[] y, double xend, double tol, Nag_ErrorControl err_c, nag_ode_ivp_bdf_gen_output_DELEGATE output, nag_ode_ivp_bdf_gen_g_DELEGATE g, ref Nag_User comm, ref NagError fail ); public delegate void d02ejc_fcn_DELEGATE( int neq, double x, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate void d02ejc_pederv_DELEGATE( int neq, double x, IntPtr y_rptr, IntPtr pw_rptr, ref Nag_User comm ); public delegate void d02ejc_output_DELEGATE( int neq, ref double xsol, IntPtr y_rptr, ref Nag_User comm ); public delegate double d02ejc_g_DELEGATE( int neq, double x, IntPtr y_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02ejc( int neq, d02ejc_fcn_DELEGATE fcn, d02ejc_pederv_DELEGATE pederv, ref double x, [In,Out] double[] y, double xend, double tol, Nag_ErrorControl err_c, d02ejc_output_DELEGATE output, d02ejc_g_DELEGATE g, ref Nag_User comm, ref NagError fail ); public delegate void nag_ode_bvp_fd_nonlin_fixedbc_fcn_DELEGATE( int neq, double x, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02gac")] public static extern void nag_ode_bvp_fd_nonlin_fixedbc( int neq, nag_ode_bvp_fd_nonlin_fixedbc_fcn_DELEGATE fcn, double a, double b, [In] double[] u, [In] int[] v, int mnp, ref int np, [In,Out] double[] x, [Out] double[] y, double tol, ref Nag_User comm, ref NagError fail ); public delegate void d02gac_fcn_DELEGATE( int neq, double x, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02gac( int neq, d02gac_fcn_DELEGATE fcn, double a, double b, [In] double[] u, [In] int[] v, int mnp, ref int np, [In,Out] double[] x, [Out] double[] y, double tol, ref Nag_User comm, ref NagError fail ); public delegate void nag_ode_bvp_fd_lin_gen_fcnf_DELEGATE( int neq, double x, IntPtr f_rptr, ref Nag_User comm ); public delegate void nag_ode_bvp_fd_lin_gen_fcng_DELEGATE( int neq, double x, IntPtr g_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02gbc")] public static extern void nag_ode_bvp_fd_lin_gen( int neq, nag_ode_bvp_fd_lin_gen_fcnf_DELEGATE fcnf, nag_ode_bvp_fd_lin_gen_fcng_DELEGATE fcng, double a, double b, [In,Out] double[] c, [In,Out] double[] d, [In,Out] double[] gam, int mnp, ref int np, [In,Out] double[] x, [Out] double[] y, double tol, ref Nag_User comm, ref NagError fail ); public delegate void d02gbc_fcnf_DELEGATE( int neq, double x, IntPtr f_rptr, ref Nag_User comm ); public delegate void d02gbc_fcng_DELEGATE( int neq, double x, IntPtr g_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02gbc( int neq, d02gbc_fcnf_DELEGATE fcnf, d02gbc_fcng_DELEGATE fcng, double a, double b, [In,Out] double[] c, [In,Out] double[] d, [In,Out] double[] gam, int mnp, ref int np, [In,Out] double[] x, [Out] double[] y, double tol, ref Nag_User comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02mcc")] public static extern void nag_dae_ivp_dassl_cont( [In,Out] int[] icom ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02mcc( [In,Out] int[] icom ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02mwc")] public static extern void nag_dae_ivp_dassl_setup( int neq, int maxord, Nag_EvaluateJacobian jceval, double hmax, double h0, Nag_Boolean vector_tol, [Out] int[] icom, int licom, [Out] double[] com, int lcom, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02mwc( int neq, int maxord, Nag_EvaluateJacobian jceval, double hmax, double h0, Nag_Boolean vector_tol, [Out] int[] icom, int licom, [Out] double[] com, int lcom, ref NagError fail ); public delegate void nag_dae_ivp_dassl_gen_res_DELEGATE( int neq, double t, IntPtr y_rptr, IntPtr ydot_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_dae_ivp_dassl_gen_jac_DELEGATE( int neq, double t, IntPtr y_rptr, IntPtr ydot_rptr, IntPtr pd_rptr, double cj, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void D02NEZ( int neq, double t, IntPtr y_rptr, IntPtr ydot_rptr, IntPtr pd_rptr, double cj, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02nec")] public static extern void nag_dae_ivp_dassl_gen( int neq, ref double t, double tout, [In,Out] double[] y, [In,Out] double[] ydot, [In,Out] double[] rtol, [In,Out] double[] atol, ref int itask, nag_dae_ivp_dassl_gen_res_DELEGATE res, nag_dae_ivp_dassl_gen_jac_DELEGATE jac, [In,Out] int[] icom, [In,Out] double[] com, int lcom, ref Nag_Comm COMM, ref NagError fail ); public delegate void d02nec_res_DELEGATE( int neq, double t, IntPtr y_rptr, IntPtr ydot_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d02nec_jac_DELEGATE( int neq, double t, IntPtr y_rptr, IntPtr ydot_rptr, IntPtr pd_rptr, double cj, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02nec( int neq, ref double t, double tout, [In,Out] double[] y, [In,Out] double[] ydot, [In,Out] double[] rtol, [In,Out] double[] atol, ref int itask, d02nec_res_DELEGATE res, d02nec_jac_DELEGATE jac, [In,Out] int[] icom, [In,Out] double[] com, int lcom, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02npc")] public static extern void nag_dae_ivp_dassl_linalg( int neq, int ml, int mu, [In,Out] int[] icom, int licom, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02npc( int neq, int ml, int mu, [In,Out] int[] icom, int licom, ref NagError fail ); public delegate void nag_ode_ivp_rk_range_f_DELEGATE( int neq, double t, IntPtr y_rptr, IntPtr yp_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02pcc")] public static extern void nag_ode_ivp_rk_range( int neq, nag_ode_ivp_rk_range_f_DELEGATE f, double twant, ref double tgot, [In,Out] double[] ygot, [Out] double[] ypgot, [In,Out] double[] ymax, ref Nag_ODE_RK opt, ref Nag_User comm, ref NagError fail ); public delegate void d02pcc_f_DELEGATE( int neq, double t, IntPtr y_rptr, IntPtr yp_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02pcc( int neq, d02pcc_f_DELEGATE f, double twant, ref double tgot, [In,Out] double[] ygot, [Out] double[] ypgot, [In,Out] double[] ymax, ref Nag_ODE_RK opt, ref Nag_User comm, ref NagError fail ); public delegate void nag_ode_ivp_rk_onestep_f_DELEGATE( int neq, double t, IntPtr y_rptr, IntPtr yp_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02pdc")] public static extern void nag_ode_ivp_rk_onestep( int neq, nag_ode_ivp_rk_onestep_f_DELEGATE f, ref double tnow, [Out] double[] ynow, [Out] double[] ypnow, ref Nag_ODE_RK opt, ref Nag_User comm, ref NagError fail ); public delegate void d02pdc_f_DELEGATE( int neq, double t, IntPtr y_rptr, IntPtr yp_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02pdc( int neq, d02pdc_f_DELEGATE f, ref double tnow, [Out] double[] ynow, [Out] double[] ypnow, ref Nag_ODE_RK opt, ref Nag_User comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02ppc")] public static extern void nag_ode_ivp_rk_free( ref Nag_ODE_RK opt ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02ppc( ref Nag_ODE_RK opt ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02pvc")] public static extern void nag_ode_ivp_rk_setup( int neq, double tstart, [In] double[] ystart, double tend, double tol, [In] double[] thres, Nag_RK_method method, Nag_RK_task task, Nag_ErrorAssess errass, double hstart, ref Nag_ODE_RK opt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02pvc( int neq, double tstart, [In] double[] ystart, double tend, double tol, [In] double[] thres, Nag_RK_method method, Nag_RK_task task, Nag_ErrorAssess errass, double hstart, ref Nag_ODE_RK opt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02pwc")] public static extern void nag_ode_ivp_rk_reset_tend( double tend_new, ref Nag_ODE_RK opt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02pwc( double tend_new, ref Nag_ODE_RK opt, ref NagError fail ); public delegate void nag_ode_ivp_rk_interp_f_DELEGATE( int neq, double t, IntPtr y_rptr, IntPtr yp_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02pxc")] public static extern void nag_ode_ivp_rk_interp( int neq, double twant, Nag_SolDeriv request, int nwant, [Out] double[] ywant, [Out] double[] ypwant, nag_ode_ivp_rk_interp_f_DELEGATE f, ref Nag_ODE_RK opt, ref Nag_User comm, ref NagError fail ); public delegate void d02pxc_f_DELEGATE( int neq, double t, IntPtr y_rptr, IntPtr yp_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02pxc( int neq, double twant, Nag_SolDeriv request, int nwant, [Out] double[] ywant, [Out] double[] ypwant, d02pxc_f_DELEGATE f, ref Nag_ODE_RK opt, ref Nag_User comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02pzc")] public static extern void nag_ode_ivp_rk_errass( int neq, [Out] double[] rmserr, ref double errmax, ref double terrmx, ref Nag_ODE_RK opt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02pzc( int neq, [Out] double[] rmserr, ref double errmax, ref double terrmx, ref Nag_ODE_RK opt, ref NagError fail ); public delegate void nag_ode_ivp_adams_roots_fcn_DELEGATE( int neqf, double x, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate double nag_ode_ivp_adams_roots_g_DELEGATE( int neqf, double x, IntPtr y_rptr, IntPtr yp_rptr, int k, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02qfc")] public static extern void nag_ode_ivp_adams_roots( int neqf, nag_ode_ivp_adams_roots_fcn_DELEGATE fcn, ref double t, [In,Out] double[] y, double tout, nag_ode_ivp_adams_roots_g_DELEGATE g, ref Nag_User comm, ref Nag_ODE_Adams opt, ref NagError fail ); public delegate void d02qfc_fcn_DELEGATE( int neqf, double x, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate double d02qfc_g_DELEGATE( int neqf, double x, IntPtr y_rptr, IntPtr yp_rptr, int k, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02qfc( int neqf, d02qfc_fcn_DELEGATE fcn, ref double t, [In,Out] double[] y, double tout, d02qfc_g_DELEGATE g, ref Nag_User comm, ref Nag_ODE_Adams opt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02qwc")] public static extern void nag_ode_ivp_adams_setup( ref Nag_Start state, int neqf, Nag_Boolean vectol, [In] double[] atol, [In] double[] rtol, Nag_Boolean one_step, Nag_Boolean crit, double tcrit, double hmax, int max_step, int neqg, ref Nag_Boolean alter_g, Nag_Boolean sophist, ref Nag_ODE_Adams opt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02qwc( ref Nag_Start state, int neqf, Nag_Boolean vectol, [In] double[] atol, [In] double[] rtol, Nag_Boolean one_step, Nag_Boolean crit, double tcrit, double hmax, int max_step, int neqg, ref Nag_Boolean alter_g, Nag_Boolean sophist, ref Nag_ODE_Adams opt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02qyc")] public static extern void nag_ode_ivp_adams_free( ref Nag_ODE_Adams opt ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02qyc( ref Nag_ODE_Adams opt ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02qzc")] public static extern void nag_ode_ivp_adams_interp( int neqf, double twant, int nwant, [Out] double[] ywant, [Out] double[] ypwant, ref Nag_ODE_Adams opt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02qzc( int neqf, double twant, int nwant, [Out] double[] ywant, [Out] double[] ypwant, ref Nag_ODE_Adams opt, ref NagError fail ); public delegate void nag_ode_bvp_fd_nonlin_gen_fcn_DELEGATE( int neq, double x, double eps, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate void nag_ode_bvp_fd_nonlin_gen_g_DELEGATE( int neq, double eps, IntPtr ya_rptr, IntPtr yb_rptr, IntPtr bc_rptr, ref Nag_User comm ); public delegate void nag_ode_bvp_fd_nonlin_gen_jacobf_DELEGATE( int neq, double x, double eps, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void D02GAZ( int neq, double x, double eps, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate void nag_ode_bvp_fd_nonlin_gen_jacobg_DELEGATE( int neq, double eps, IntPtr ya_rptr, IntPtr yb_rptr, IntPtr aj_rptr, IntPtr bj_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void D02GAY( int neq, double eps, IntPtr ya_rptr, IntPtr yb_rptr, IntPtr aj_rptr, IntPtr bj_rptr, ref Nag_User comm ); public delegate void nag_ode_bvp_fd_nonlin_gen_jaceps_DELEGATE( int neq, double x, double eps, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void D02GAW( int neq, double x, double eps, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate void nag_ode_bvp_fd_nonlin_gen_jacgep_DELEGATE( int neq, double eps, IntPtr ya_rptr, IntPtr yb_rptr, IntPtr bcep_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void D02GAX( int neq, double eps, IntPtr ya_rptr, IntPtr yb_rptr, IntPtr bcep_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02rac")] public static extern void nag_ode_bvp_fd_nonlin_gen( int neq, ref double deleps, nag_ode_bvp_fd_nonlin_gen_fcn_DELEGATE fcn, int numbeg, int nummix, nag_ode_bvp_fd_nonlin_gen_g_DELEGATE g, Nag_MeshSet init, int mnp, ref int np, [In,Out] double[] x, [In,Out] double[] y, double tol, [Out] double[] abt, nag_ode_bvp_fd_nonlin_gen_jacobf_DELEGATE jacobf, nag_ode_bvp_fd_nonlin_gen_jacobg_DELEGATE jacobg, nag_ode_bvp_fd_nonlin_gen_jaceps_DELEGATE jaceps, nag_ode_bvp_fd_nonlin_gen_jacgep_DELEGATE jacgep, ref Nag_User comm, ref NagError fail ); public delegate void d02rac_fcn_DELEGATE( int neq, double x, double eps, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate void d02rac_g_DELEGATE( int neq, double eps, IntPtr ya_rptr, IntPtr yb_rptr, IntPtr bc_rptr, ref Nag_User comm ); public delegate void d02rac_jacobf_DELEGATE( int neq, double x, double eps, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate void d02rac_jacobg_DELEGATE( int neq, double eps, IntPtr ya_rptr, IntPtr yb_rptr, IntPtr aj_rptr, IntPtr bj_rptr, ref Nag_User comm ); public delegate void d02rac_jaceps_DELEGATE( int neq, double x, double eps, IntPtr y_rptr, IntPtr f_rptr, ref Nag_User comm ); public delegate void d02rac_jacgep_DELEGATE( int neq, double eps, IntPtr ya_rptr, IntPtr yb_rptr, IntPtr bcep_rptr, ref Nag_User comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02rac( int neq, ref double deleps, d02rac_fcn_DELEGATE fcn, int numbeg, int nummix, d02rac_g_DELEGATE g, Nag_MeshSet init, int mnp, ref int np, [In,Out] double[] x, [In,Out] double[] y, double tol, [Out] double[] abt, d02rac_jacobf_DELEGATE jacobf, d02rac_jacobg_DELEGATE jacobg, d02rac_jaceps_DELEGATE jaceps, d02rac_jacgep_DELEGATE jacgep, ref Nag_User comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02uac")] public static extern void nag_ode_bvp_ps_lin_coeffs( int n, [In] double[] f, [Out] double[] c, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02uac( int n, [In] double[] f, [Out] double[] c, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02ubc")] public static extern void nag_ode_bvp_ps_lin_cgl_vals( int n, double a, double b, int q, [In] double[] c, [Out] double[] f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02ubc( int n, double a, double b, int q, [In] double[] c, [Out] double[] f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02ucc")] public static extern void nag_ode_bvp_ps_lin_cgl_grid( int n, double a, double b, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02ucc( int n, double a, double b, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02udc")] public static extern void nag_ode_bvp_ps_lin_cgl_deriv( int n, [In] double[] f, [Out] double[] fd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02udc( int n, [In] double[] f, [Out] double[] fd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02uec")] public static extern void nag_ode_bvp_ps_lin_solve( int n, double a, double b, int m, [In] double[] c, [In,Out] double[] bmat, [In] double[] y, [In] double[] bvec, [In,Out] double[] f, [Out] double[] uc, ref double resid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02uec( int n, double a, double b, int m, [In] double[] c, [In,Out] double[] bmat, [In] double[] y, [In] double[] bvec, [In,Out] double[] f, [Out] double[] uc, ref double resid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02uwc")] public static extern void nag_ode_bvp_ps_lin_grid_vals( int n, int nip, [In] double[] x, [In] double[] f, [Out] double[] xip, [Out] double[] fip, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02uwc( int n, int nip, [In] double[] x, [In] double[] f, [Out] double[] xip, [Out] double[] fip, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02uyc")] public static extern void nag_ode_bvp_ps_lin_quad_weights( int n, [Out] double[] w, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02uyc( int n, [Out] double[] w, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d02uzc")] public static extern void nag_ode_bvp_ps_lin_cheb_eval( int k, double x, ref double t, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d02uzc( int k, double x, ref double t, ref NagError fail ); // chapter d03 [DllImport("CLW3223DA_nag.dll", EntryPoint="d03ncc")] public static extern void nag_pde_bs_1d( Nag_OptionType kopt, double x, Nag_MeshType mesh, int ns, [In,Out] double[] s, int nt, [In,Out] double[] t, [In] Nag_Boolean[] tdpar, [In] double[] r, [In] double[] q, [In] double[] sigma, double alpha, int ntkeep, [Out] double[] f, [Out] double[] theta, [Out] double[] delta, [Out] double[] gamma, [Out] double[] lambda, [Out] double[] rho, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03ncc( Nag_OptionType kopt, double x, Nag_MeshType mesh, int ns, [In,Out] double[] s, int nt, [In,Out] double[] t, [In] Nag_Boolean[] tdpar, [In] double[] r, [In] double[] q, [In] double[] sigma, double alpha, int ntkeep, [Out] double[] f, [Out] double[] theta, [Out] double[] delta, [Out] double[] gamma, [Out] double[] lambda, [Out] double[] rho, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03ndc")] public static extern void nag_pde_bs_1d_analytic( Nag_OptionType kopt, double x, double s, double t, double tmat, [In] Nag_Boolean[] tdpar, [In] double[] r, [In] double[] q, [In] double[] sigma, ref double f, ref double theta, ref double delta, ref double gamma, ref double lambda, ref double rho, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03ndc( Nag_OptionType kopt, double x, double s, double t, double tmat, [In] Nag_Boolean[] tdpar, [In] double[] r, [In] double[] q, [In] double[] sigma, ref double f, ref double theta, ref double delta, ref double gamma, ref double lambda, ref double rho, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03nec")] public static extern void nag_pde_bs_1d_means( double t0, double tmat, int ntd, [In] double[] td, [In] double[] phid, [Out] double[] phiav, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03nec( double t0, double tmat, int ntd, [In] double[] td, [In] double[] phid, [Out] double[] phiav, ref NagError fail ); public delegate void nag_pde_parab_1d_fd_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, IntPtr p_rptr, IntPtr q_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_fd_bndary_DELEGATE( int npde, double t, IntPtr u_rptr, IntPtr ux_rptr, int ibnd, IntPtr beta_rptr, IntPtr gamma_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pcc")] public static extern void nag_pde_parab_1d_fd( int npde, int m, ref double ts, double tout, nag_pde_parab_1d_fd_pdedef_DELEGATE pdedef, nag_pde_parab_1d_fd_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, double acc, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03pcc_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, IntPtr p_rptr, IntPtr q_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03pcc_bndary_DELEGATE( int npde, double t, IntPtr u_rptr, IntPtr ux_rptr, int ibnd, IntPtr beta_rptr, IntPtr gamma_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pcc( int npde, int m, ref double ts, double tout, d03pcc_pdedef_DELEGATE pdedef, d03pcc_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, double acc, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void nag_pde_parab_1d_coll_pdedef_DELEGATE( int npde, double t, IntPtr x_rptr, int nptl, IntPtr u_rptr, IntPtr ux_rptr, IntPtr p_rptr, IntPtr q_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_coll_bndary_DELEGATE( int npde, double t, IntPtr u_rptr, IntPtr ux_rptr, int ibnd, IntPtr beta_rptr, IntPtr gamma_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_coll_uinit_DELEGATE( int npde, int npts, IntPtr x_rptr, IntPtr u_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pdc")] public static extern void nag_pde_parab_1d_coll( int npde, int m, ref double ts, double tout, nag_pde_parab_1d_coll_pdedef_DELEGATE pdedef, nag_pde_parab_1d_coll_bndary_DELEGATE bndary, [In,Out] double[] u, int nbkpts, [In] double[] xbkpts, int npoly, int npts, [Out] double[] x, nag_pde_parab_1d_coll_uinit_DELEGATE uinit, double acc, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03pdc_pdedef_DELEGATE( int npde, double t, IntPtr x_rptr, int nptl, IntPtr u_rptr, IntPtr ux_rptr, IntPtr p_rptr, IntPtr q_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03pdc_bndary_DELEGATE( int npde, double t, IntPtr u_rptr, IntPtr ux_rptr, int ibnd, IntPtr beta_rptr, IntPtr gamma_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03pdc_uinit_DELEGATE( int npde, int npts, IntPtr x_rptr, IntPtr u_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pdc( int npde, int m, ref double ts, double tout, d03pdc_pdedef_DELEGATE pdedef, d03pdc_bndary_DELEGATE bndary, [In,Out] double[] u, int nbkpts, [In] double[] xbkpts, int npoly, int npts, [Out] double[] x, d03pdc_uinit_DELEGATE uinit, double acc, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void nag_pde_parab_1d_keller_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ut_rptr, IntPtr ux_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_keller_bndary_DELEGATE( int npde, double t, int ibnd, int nobc, IntPtr u_rptr, IntPtr ut_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pec")] public static extern void nag_pde_parab_1d_keller( int npde, ref double ts, double tout, nag_pde_parab_1d_keller_pdedef_DELEGATE pdedef, nag_pde_parab_1d_keller_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, int nleft, double acc, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03pec_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ut_rptr, IntPtr ux_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03pec_bndary_DELEGATE( int npde, double t, int ibnd, int nobc, IntPtr u_rptr, IntPtr ut_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pec( int npde, ref double ts, double tout, d03pec_pdedef_DELEGATE pdedef, d03pec_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, int nleft, double acc, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void nag_pde_parab_1d_cd_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, IntPtr p_rptr, IntPtr c_rptr, IntPtr d_rptr, IntPtr s_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void D03PFP( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, IntPtr p_rptr, IntPtr c_rptr, IntPtr d_rptr, IntPtr s_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_cd_numflx_DELEGATE( int npde, double t, double x, IntPtr uleft_rptr, IntPtr uright_rptr, IntPtr flux_rptr, ref int ires, ref Nag_Comm COMM, ref Nag_D03_Save saved ); public delegate void nag_pde_parab_1d_cd_bndary_DELEGATE( int npde, int npts, double t, IntPtr x_rptr, IntPtr u_rptr, int ibnd, IntPtr g_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pfc")] public static extern void nag_pde_parab_1d_cd( int npde, ref double ts, double tout, nag_pde_parab_1d_cd_pdedef_DELEGATE pdedef, nag_pde_parab_1d_cd_numflx_DELEGATE numflx, nag_pde_parab_1d_cd_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, [In] double[] acc, double tsmax, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03pfc_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, IntPtr p_rptr, IntPtr c_rptr, IntPtr d_rptr, IntPtr s_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03pfc_numflx_DELEGATE( int npde, double t, double x, IntPtr uleft_rptr, IntPtr uright_rptr, IntPtr flux_rptr, ref int ires, ref Nag_Comm COMM, ref Nag_D03_Save saved ); public delegate void d03pfc_bndary_DELEGATE( int npde, int npts, double t, IntPtr x_rptr, IntPtr u_rptr, int ibnd, IntPtr g_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pfc( int npde, ref double ts, double tout, d03pfc_pdedef_DELEGATE pdedef, d03pfc_numflx_DELEGATE numflx, d03pfc_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, [In] double[] acc, double tsmax, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void nag_pde_parab_1d_fd_ode_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr q_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_fd_ode_bndary_DELEGATE( int npde, double t, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int ibnd, IntPtr beta_rptr, IntPtr gamma_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_fd_ode_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr rcp_rptr, IntPtr ucpt_rptr, IntPtr ucptx_rptr, IntPtr f_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void D03PCK( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr rcp_rptr, IntPtr ucpt_rptr, IntPtr ucptx_rptr, IntPtr f_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03phc")] public static extern void nag_pde_parab_1d_fd_ode( int npde, int m, ref double ts, double tout, nag_pde_parab_1d_fd_ode_pdedef_DELEGATE pdedef, nag_pde_parab_1d_fd_ode_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, int ncode, nag_pde_parab_1d_fd_ode_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03phc_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr q_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03phc_bndary_DELEGATE( int npde, double t, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int ibnd, IntPtr beta_rptr, IntPtr gamma_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03phc_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr rcp_rptr, IntPtr ucpt_rptr, IntPtr ucptx_rptr, IntPtr f_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03phc( int npde, int m, ref double ts, double tout, d03phc_pdedef_DELEGATE pdedef, d03phc_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, int ncode, d03phc_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void nag_pde_parab_1d_coll_ode_pdedef_DELEGATE( int npde, double t, IntPtr x_rptr, int nptl, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr q_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_coll_ode_bndary_DELEGATE( int npde, double t, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int ibnd, IntPtr beta_rptr, IntPtr gamma_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_coll_ode_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr rcp_rptr, IntPtr ucpt_rptr, IntPtr ucptx_rptr, IntPtr f_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_coll_ode_uvinit_DELEGATE( int npde, int npts, IntPtr x_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pjc")] public static extern void nag_pde_parab_1d_coll_ode( int npde, int m, ref double ts, double tout, nag_pde_parab_1d_coll_ode_pdedef_DELEGATE pdedef, nag_pde_parab_1d_coll_ode_bndary_DELEGATE bndary, [In,Out] double[] u, int nbkpts, [In] double[] xbkpts, int npoly, int npts, [Out] double[] x, int ncode, nag_pde_parab_1d_coll_ode_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, nag_pde_parab_1d_coll_ode_uvinit_DELEGATE uvinit, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03pjc_pdedef_DELEGATE( int npde, double t, IntPtr x_rptr, int nptl, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr q_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03pjc_bndary_DELEGATE( int npde, double t, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int ibnd, IntPtr beta_rptr, IntPtr gamma_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03pjc_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr rcp_rptr, IntPtr ucpt_rptr, IntPtr ucptx_rptr, IntPtr f_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03pjc_uvinit_DELEGATE( int npde, int npts, IntPtr x_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pjc( int npde, int m, ref double ts, double tout, d03pjc_pdedef_DELEGATE pdedef, d03pjc_bndary_DELEGATE bndary, [In,Out] double[] u, int nbkpts, [In] double[] xbkpts, int npoly, int npts, [Out] double[] x, int ncode, d03pjc_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, d03pjc_uvinit_DELEGATE uvinit, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void nag_pde_parab_1d_keller_ode_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ut_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_keller_ode_bndary_DELEGATE( int npde, double t, int ibnd, int nobc, IntPtr u_rptr, IntPtr ut_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_keller_ode_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr ucpt_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void D03PEK( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr ucpt_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pkc")] public static extern void nag_pde_parab_1d_keller_ode( int npde, ref double ts, double tout, nag_pde_parab_1d_keller_ode_pdedef_DELEGATE pdedef, nag_pde_parab_1d_keller_ode_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, int nleft, int ncode, nag_pde_parab_1d_keller_ode_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03pkc_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ut_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03pkc_bndary_DELEGATE( int npde, double t, int ibnd, int nobc, IntPtr u_rptr, IntPtr ut_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03pkc_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr ucpt_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pkc( int npde, ref double ts, double tout, d03pkc_pdedef_DELEGATE pdedef, d03pkc_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, int nleft, int ncode, d03pkc_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void nag_pde_parab_1d_cd_ode_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr c_rptr, IntPtr d_rptr, IntPtr s_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void D03PLP( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr c_rptr, IntPtr d_rptr, IntPtr s_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_cd_ode_numflx_DELEGATE( int npde, double t, double x, int ncode, IntPtr v_rptr, IntPtr uleft_rptr, IntPtr uright_rptr, IntPtr flux_rptr, ref int ires, ref Nag_Comm COMM, ref Nag_D03_Save saved ); public delegate void nag_pde_parab_1d_cd_ode_bndary_DELEGATE( int npde, int npts, double t, IntPtr x_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int ibnd, IntPtr g_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_cd_ode_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr ucpt_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03plc")] public static extern void nag_pde_parab_1d_cd_ode( int npde, ref double ts, double tout, nag_pde_parab_1d_cd_ode_pdedef_DELEGATE pdedef, nag_pde_parab_1d_cd_ode_numflx_DELEGATE numflx, nag_pde_parab_1d_cd_ode_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, int ncode, nag_pde_parab_1d_cd_ode_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03plc_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr c_rptr, IntPtr d_rptr, IntPtr s_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03plc_numflx_DELEGATE( int npde, double t, double x, int ncode, IntPtr v_rptr, IntPtr uleft_rptr, IntPtr uright_rptr, IntPtr flux_rptr, ref int ires, ref Nag_Comm COMM, ref Nag_D03_Save saved ); public delegate void d03plc_bndary_DELEGATE( int npde, int npts, double t, IntPtr x_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int ibnd, IntPtr g_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03plc_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr ucpt_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03plc( int npde, ref double ts, double tout, d03plc_pdedef_DELEGATE pdedef, d03plc_numflx_DELEGATE numflx, d03plc_bndary_DELEGATE bndary, [In,Out] double[] u, int npts, [In] double[] x, int ncode, d03plc_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void nag_pde_parab_1d_fd_ode_remesh_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr q_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_fd_ode_remesh_bndary_DELEGATE( int npde, double t, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int ibnd, IntPtr beta_rptr, IntPtr gamma_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_fd_ode_remesh_uvinit_DELEGATE( int npde, int npts, int nxi, IntPtr x_rptr, IntPtr xi_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_fd_ode_remesh_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr rcp_rptr, IntPtr ucpt_rptr, IntPtr ucptx_rptr, IntPtr f_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_fd_ode_remesh_monitf_DELEGATE( double t, int npts, int npde, IntPtr x_rptr, IntPtr u_rptr, IntPtr r_rptr, IntPtr fmon_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void D03PCL( double t, int npts, int npde, IntPtr x_rptr, IntPtr u_rptr, IntPtr r_rptr, IntPtr fmon_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03ppc")] public static extern void nag_pde_parab_1d_fd_ode_remesh( int npde, int m, ref double ts, double tout, nag_pde_parab_1d_fd_ode_remesh_pdedef_DELEGATE pdedef, nag_pde_parab_1d_fd_ode_remesh_bndary_DELEGATE bndary, nag_pde_parab_1d_fd_ode_remesh_uvinit_DELEGATE uvinit, [In,Out] double[] u, int npts, [In,Out] double[] x, int ncode, nag_pde_parab_1d_fd_ode_remesh_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, Nag_Boolean remesh, int nxfix, [In] double[] xfix, int nrmesh, double dxmesh, double trmesh, int ipminf, double xratio, double con, nag_pde_parab_1d_fd_ode_remesh_monitf_DELEGATE monitf, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03ppc_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr q_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03ppc_bndary_DELEGATE( int npde, double t, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int ibnd, IntPtr beta_rptr, IntPtr gamma_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03ppc_uvinit_DELEGATE( int npde, int npts, int nxi, IntPtr x_rptr, IntPtr xi_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, ref Nag_Comm COMM ); public delegate void d03ppc_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr rcp_rptr, IntPtr ucpt_rptr, IntPtr ucptx_rptr, IntPtr f_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03ppc_monitf_DELEGATE( double t, int npts, int npde, IntPtr x_rptr, IntPtr u_rptr, IntPtr r_rptr, IntPtr fmon_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03ppc( int npde, int m, ref double ts, double tout, d03ppc_pdedef_DELEGATE pdedef, d03ppc_bndary_DELEGATE bndary, d03ppc_uvinit_DELEGATE uvinit, [In,Out] double[] u, int npts, [In,Out] double[] x, int ncode, d03ppc_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, Nag_Boolean remesh, int nxfix, [In] double[] xfix, int nrmesh, double dxmesh, double trmesh, int ipminf, double xratio, double con, d03ppc_monitf_DELEGATE monitf, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void nag_pde_parab_1d_keller_ode_remesh_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr udot_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_keller_ode_remesh_bndary_DELEGATE( int npde, double t, int ibnd, int nobc, IntPtr u_rptr, IntPtr udot_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_keller_ode_remesh_uvinit_DELEGATE( int npde, int npts, int nxi, IntPtr x_rptr, IntPtr xi_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_keller_ode_remesh_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr ucpt_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_keller_ode_remesh_monitf_DELEGATE( double t, int npts, int npde, IntPtr x_rptr, IntPtr u_rptr, IntPtr fmon_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void D03PEL( double t, int npts, int npde, IntPtr x_rptr, IntPtr u_rptr, IntPtr fmon_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03prc")] public static extern void nag_pde_parab_1d_keller_ode_remesh( int npde, ref double ts, double tout, nag_pde_parab_1d_keller_ode_remesh_pdedef_DELEGATE pdedef, nag_pde_parab_1d_keller_ode_remesh_bndary_DELEGATE bndary, nag_pde_parab_1d_keller_ode_remesh_uvinit_DELEGATE uvinit, [In,Out] double[] u, int npts, [In,Out] double[] x, int nleft, int ncode, nag_pde_parab_1d_keller_ode_remesh_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, Nag_Boolean remesh, int nxfix, [In] double[] xfix, int nrmesh, double dxmesh, double trmesh, int ipminf, double xratio, double con, nag_pde_parab_1d_keller_ode_remesh_monitf_DELEGATE monitf, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03prc_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr udot_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03prc_bndary_DELEGATE( int npde, double t, int ibnd, int nobc, IntPtr u_rptr, IntPtr udot_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr res_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03prc_uvinit_DELEGATE( int npde, int npts, int nxi, IntPtr x_rptr, IntPtr xi_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, ref Nag_Comm COMM ); public delegate void d03prc_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr ucpt_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03prc_monitf_DELEGATE( double t, int npts, int npde, IntPtr x_rptr, IntPtr u_rptr, IntPtr fmon_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03prc( int npde, ref double ts, double tout, d03prc_pdedef_DELEGATE pdedef, d03prc_bndary_DELEGATE bndary, d03prc_uvinit_DELEGATE uvinit, [In,Out] double[] u, int npts, [In,Out] double[] x, int nleft, int ncode, d03prc_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, Nag_Boolean remesh, int nxfix, [In] double[] xfix, int nrmesh, double dxmesh, double trmesh, int ipminf, double xratio, double con, d03prc_monitf_DELEGATE monitf, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void nag_pde_parab_1d_cd_ode_remesh_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr c_rptr, IntPtr d_rptr, IntPtr s_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_cd_ode_remesh_numflx_DELEGATE( int npde, double t, double x, int ncode, IntPtr v_rptr, IntPtr uleft_rptr, IntPtr uright_rptr, IntPtr flux_rptr, ref int ires, ref Nag_Comm COMM, ref Nag_D03_Save saved ); public delegate void nag_pde_parab_1d_cd_ode_remesh_bndary_DELEGATE( int npde, int npts, double t, IntPtr x_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int ibnd, IntPtr g_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_cd_ode_remesh_uvinit_DELEGATE( int npde, int npts, int nxi, IntPtr x_rptr, IntPtr xi_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_cd_ode_remesh_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr ucpt_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void nag_pde_parab_1d_cd_ode_remesh_monitf_DELEGATE( double t, int npts, int npde, IntPtr x_rptr, IntPtr u_rptr, IntPtr fmon_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03psc")] public static extern void nag_pde_parab_1d_cd_ode_remesh( int npde, ref double ts, double tout, nag_pde_parab_1d_cd_ode_remesh_pdedef_DELEGATE pdedef, nag_pde_parab_1d_cd_ode_remesh_numflx_DELEGATE numflx, nag_pde_parab_1d_cd_ode_remesh_bndary_DELEGATE bndary, nag_pde_parab_1d_cd_ode_remesh_uvinit_DELEGATE uvinit, [In,Out] double[] u, int npts, [In,Out] double[] x, int ncode, nag_pde_parab_1d_cd_ode_remesh_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, Nag_Boolean remesh, int nxfix, [In] double[] xfix, int nrmesh, double dxmesh, double trmesh, int ipminf, double xratio, double con, nag_pde_parab_1d_cd_ode_remesh_monitf_DELEGATE monitf, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); public delegate void d03psc_pdedef_DELEGATE( int npde, double t, double x, IntPtr u_rptr, IntPtr ux_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, IntPtr p_rptr, IntPtr c_rptr, IntPtr d_rptr, IntPtr s_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03psc_numflx_DELEGATE( int npde, double t, double x, int ncode, IntPtr v_rptr, IntPtr uleft_rptr, IntPtr uright_rptr, IntPtr flux_rptr, ref int ires, ref Nag_Comm COMM, ref Nag_D03_Save saved ); public delegate void d03psc_bndary_DELEGATE( int npde, int npts, double t, IntPtr x_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int ibnd, IntPtr g_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03psc_uvinit_DELEGATE( int npde, int npts, int nxi, IntPtr x_rptr, IntPtr xi_rptr, IntPtr u_rptr, int ncode, IntPtr v_rptr, ref Nag_Comm COMM ); public delegate void d03psc_odedef_DELEGATE( int npde, double t, int ncode, IntPtr v_rptr, IntPtr vdot_rptr, int nxi, IntPtr xi_rptr, IntPtr ucp_rptr, IntPtr ucpx_rptr, IntPtr ucpt_rptr, IntPtr r_rptr, ref int ires, ref Nag_Comm COMM ); public delegate void d03psc_monitf_DELEGATE( double t, int npts, int npde, IntPtr x_rptr, IntPtr u_rptr, IntPtr fmon_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03psc( int npde, ref double ts, double tout, d03psc_pdedef_DELEGATE pdedef, d03psc_numflx_DELEGATE numflx, d03psc_bndary_DELEGATE bndary, d03psc_uvinit_DELEGATE uvinit, [In,Out] double[] u, int npts, [In,Out] double[] x, int ncode, d03psc_odedef_DELEGATE odedef, int nxi, [In] double[] xi, int neqn, [In] double[] rtol, [In] double[] atol, int itol, Nag_NormType norm, Nag_LinAlgOption laopt, [In] double[] algopt, Nag_Boolean remesh, int nxfix, [In] double[] xfix, int nrmesh, double dxmesh, double trmesh, int ipminf, double xratio, double con, d03psc_monitf_DELEGATE monitf, [In,Out] double[] rsave, int lrsave, [In,Out] int[] isave, int lisave, int itask, int itrace, String outfile, ref int ind, ref Nag_Comm COMM, ref Nag_D03_Save saved, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03puc")] public static extern void nag_pde_parab_1d_euler_roe( [In] double[] uleft, [In] double[] uright, double gamma, [Out] double[] flux, ref Nag_D03_Save saved, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03puc( [In] double[] uleft, [In] double[] uright, double gamma, [Out] double[] flux, ref Nag_D03_Save saved, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pvc")] public static extern void nag_pde_parab_1d_euler_osher( [In] double[] uleft, [In] double[] uright, double gamma, Nag_OsherVersion path, [Out] double[] flux, ref Nag_D03_Save saved, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pvc( [In] double[] uleft, [In] double[] uright, double gamma, Nag_OsherVersion path, [Out] double[] flux, ref Nag_D03_Save saved, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pwc")] public static extern void nag_pde_parab_1d_euler_hll( [In] double[] uleft, [In] double[] uright, double gamma, [Out] double[] flux, ref Nag_D03_Save saved, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pwc( [In] double[] uleft, [In] double[] uright, double gamma, [Out] double[] flux, ref Nag_D03_Save saved, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pxc")] public static extern void nag_pde_parab_1d_euler_exact( [In] double[] uleft, [In] double[] uright, double gamma, double tol, int niter, [Out] double[] flux, ref Nag_D03_Save saved, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pxc( [In] double[] uleft, [In] double[] uright, double gamma, double tol, int niter, [Out] double[] flux, ref Nag_D03_Save saved, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pyc")] public static extern void nag_pde_interp_1d_coll( int npde, [In] double[] u, int nbkpts, [In] double[] xbkpts, int npoly, int npts, [In] double[] xp, int intpts, int itype, [Out] double[] up, [In,Out] double[] rsave, int lrsave, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pyc( int npde, [In] double[] u, int nbkpts, [In] double[] xbkpts, int npoly, int npts, [In] double[] xp, int intpts, int itype, [Out] double[] up, [In,Out] double[] rsave, int lrsave, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d03pzc")] public static extern void nag_pde_interp_1d_fd( int npde, int m, [In] double[] u, int npts, [In] double[] x, [In] double[] xp, int intpts, int itype, [Out] double[] up, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d03pzc( int npde, int m, [In] double[] u, int npts, [In] double[] x, [In] double[] xp, int intpts, int itype, [Out] double[] up, ref NagError fail ); // chapter d04 public delegate double nag_numdiff_1d_real_fun_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d04aac")] public static extern void nag_numdiff_1d_real( double xval, int nder, double hbase, [Out] double[] der, [Out] double[] erest, nag_numdiff_1d_real_fun_DELEGATE fun, ref Nag_Comm COMM, ref NagError fail ); public delegate double d04aac_fun_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d04aac( double xval, int nder, double hbase, [Out] double[] der, [Out] double[] erest, d04aac_fun_DELEGATE fun, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d04bac")] public static extern void nag_numdiff_1d_real_eval( [In] double[] xval, [In] double[] fval, [Out] double[] der, [Out] double[] erest, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d04bac( [In] double[] xval, [In] double[] fval, [Out] double[] der, [Out] double[] erest, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d04bbc")] public static extern void nag_numdiff_1d_real_absci( double x_0, double hbase, [Out] double[] xval ); [DllImport("CLW3223DA_nag.dll")] public static extern void d04bbc( double x_0, double hbase, [Out] double[] xval ); // chapter d05 public delegate double nag_inteq_fredholm2_split_k1_DELEGATE( double x, double s, ref Nag_Comm COMM ); public delegate double nag_inteq_fredholm2_split_k2_DELEGATE( double x, double s, ref Nag_Comm COMM ); public delegate double nag_inteq_fredholm2_split_g_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d05aac")] public static extern void nag_inteq_fredholm2_split( double lambda, double a, double b, int n, nag_inteq_fredholm2_split_k1_DELEGATE k1, nag_inteq_fredholm2_split_k2_DELEGATE k2, nag_inteq_fredholm2_split_g_DELEGATE g, Nag_KernelForm kform, [Out] double[] f, [Out] double[] c, ref Nag_Comm COMM, ref NagError fail ); public delegate double d05aac_k1_DELEGATE( double x, double s, ref Nag_Comm COMM ); public delegate double d05aac_k2_DELEGATE( double x, double s, ref Nag_Comm COMM ); public delegate double d05aac_g_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d05aac( double lambda, double a, double b, int n, d05aac_k1_DELEGATE k1, d05aac_k2_DELEGATE k2, d05aac_g_DELEGATE g, Nag_KernelForm kform, [Out] double[] f, [Out] double[] c, ref Nag_Comm COMM, ref NagError fail ); public delegate double nag_inteq_fredholm2_smooth_k_DELEGATE( double x, double s, ref Nag_Comm COMM ); public delegate double nag_inteq_fredholm2_smooth_g_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d05abc")] public static extern void nag_inteq_fredholm2_smooth( double lambda, double a, double b, int n, nag_inteq_fredholm2_smooth_k_DELEGATE k, nag_inteq_fredholm2_smooth_g_DELEGATE g, Nag_Boolean odorev, Nag_Boolean ev, [Out] double[] f, [Out] double[] c, ref Nag_Comm COMM, ref NagError fail ); public delegate double d05abc_k_DELEGATE( double x, double s, ref Nag_Comm COMM ); public delegate double d05abc_g_DELEGATE( double x, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d05abc( double lambda, double a, double b, int n, d05abc_k_DELEGATE k, d05abc_g_DELEGATE g, Nag_Boolean odorev, Nag_Boolean ev, [Out] double[] f, [Out] double[] c, ref Nag_Comm COMM, ref NagError fail ); public delegate double nag_inteq_volterra2_ck_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double nag_inteq_volterra2_cg_DELEGATE( double s, double y, ref Nag_Comm COMM ); public delegate double nag_inteq_volterra2_cf_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d05bac")] public static extern void nag_inteq_volterra2( nag_inteq_volterra2_ck_DELEGATE ck, nag_inteq_volterra2_cg_DELEGATE cg, nag_inteq_volterra2_cf_DELEGATE cf, Nag_ODEMethod method, int iorder, double alim, double tlim, double tol, int nmesh, double thresh, [Out] double[] work, int lwk, [Out] double[] yn, [Out] double[] errest, ref Nag_Comm COMM, ref NagError fail ); public delegate double d05bac_ck_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double d05bac_cg_DELEGATE( double s, double y, ref Nag_Comm COMM ); public delegate double d05bac_cf_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d05bac( d05bac_ck_DELEGATE ck, d05bac_cg_DELEGATE cg, d05bac_cf_DELEGATE cf, Nag_ODEMethod method, int iorder, double alim, double tlim, double tol, int nmesh, double thresh, [Out] double[] work, int lwk, [Out] double[] yn, [Out] double[] errest, ref Nag_Comm COMM, ref NagError fail ); public delegate double nag_inteq_abel2_weak_ck_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double nag_inteq_abel2_weak_cf_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double nag_inteq_abel2_weak_cg_DELEGATE( double s, double y, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d05bdc")] public static extern void nag_inteq_abel2_weak( nag_inteq_abel2_weak_ck_DELEGATE ck, nag_inteq_abel2_weak_cf_DELEGATE cf, nag_inteq_abel2_weak_cg_DELEGATE cg, Nag_WeightMode wtmode, int iorder, double tlim, double tolnl, int nmesh, [Out] double[] yn, [In,Out] double[] rwsav, int lrwsav, ref Nag_Comm COMM, ref NagError fail ); public delegate double d05bdc_ck_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double d05bdc_cf_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double d05bdc_cg_DELEGATE( double s, double y, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d05bdc( d05bdc_ck_DELEGATE ck, d05bdc_cf_DELEGATE cf, d05bdc_cg_DELEGATE cg, Nag_WeightMode wtmode, int iorder, double tlim, double tolnl, int nmesh, [Out] double[] yn, [In,Out] double[] rwsav, int lrwsav, ref Nag_Comm COMM, ref NagError fail ); public delegate double nag_inteq_abel1_weak_ck_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double nag_inteq_abel1_weak_cf_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double nag_inteq_abel1_weak_cg_DELEGATE( double s, double y, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d05bec")] public static extern void nag_inteq_abel1_weak( nag_inteq_abel1_weak_ck_DELEGATE ck, nag_inteq_abel1_weak_cf_DELEGATE cf, nag_inteq_abel1_weak_cg_DELEGATE cg, Nag_WeightMode wtmode, int iorder, double tlim, double tolnl, int nmesh, [In,Out] double[] yn, [In,Out] double[] rwsav, int lrwsav, ref Nag_Comm COMM, ref NagError fail ); public delegate double d05bec_ck_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double d05bec_cf_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double d05bec_cg_DELEGATE( double s, double y, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d05bec( d05bec_ck_DELEGATE ck, d05bec_cf_DELEGATE cf, d05bec_cg_DELEGATE cg, Nag_WeightMode wtmode, int iorder, double tlim, double tolnl, int nmesh, [In,Out] double[] yn, [In,Out] double[] rwsav, int lrwsav, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d05bwc")] public static extern void nag_inteq_volterra_weights( Nag_ODEMethod method, int iorder, int nomg, [Out] double[] omega, [Out] double[] sw, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d05bwc( Nag_ODEMethod method, int iorder, int nomg, [Out] double[] omega, [Out] double[] sw, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d05byc")] public static extern void nag_inteq_abel_weak_weights( int iorder, int iq, [Out] double[] omega, [Out] double[] sw, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d05byc( int iorder, int iq, [Out] double[] omega, [Out] double[] sw, ref NagError fail ); // chapter d06 [DllImport("CLW3223DA_nag.dll", EntryPoint="d06aac")] public static extern void nag_mesh2d_inc( int nvb, int nvmax, int nedge, [In] int[] edge, ref int nv, ref int nelt, [In,Out] double[] coor, [Out] int[] conn, [In] double[] bspace, Nag_Boolean smooth, double coef, double power, int itrace, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d06aac( int nvb, int nvmax, int nedge, [In] int[] edge, ref int nv, ref int nelt, [In,Out] double[] coor, [Out] int[] conn, [In] double[] bspace, Nag_Boolean smooth, double coef, double power, int itrace, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d06abc")] public static extern void nag_mesh2d_delaunay( int nvb, int nvint, int nvmax, int nedge, [In] int[] edge, ref int nv, ref int nelt, [In,Out] double[] coor, [Out] int[] conn, [In] double[] weight, int npropa, int itrace, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d06abc( int nvb, int nvint, int nvmax, int nedge, [In] int[] edge, ref int nv, ref int nelt, [In,Out] double[] coor, [Out] int[] conn, [In] double[] weight, int npropa, int itrace, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d06acc")] public static extern void nag_mesh2d_front( int nvb, int nvint, int nvmax, int nedge, [In] int[] edge, ref int nv, ref int nelt, [In,Out] double[] coor, [Out] int[] conn, [In] double[] weight, int itrace, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d06acc( int nvb, int nvint, int nvmax, int nedge, [In] int[] edge, ref int nv, ref int nelt, [In,Out] double[] coor, [Out] int[] conn, [In] double[] weight, int itrace, String outfile, ref NagError fail ); public delegate double nag_mesh2d_bound_fbnd_DELEGATE( int i, double x, double y, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern double D06BAD( int i, double x, double y, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d06bac")] public static extern void nag_mesh2d_bound( int nlines, [In] double[] coorch, [In] int[] lined, nag_mesh2d_bound_fbnd_DELEGATE fbnd, [In] double[] crus, int sdcrus, [In] double[] rate, int ncomp, [In] int[] nlcomp, [In] int[] lcomp, int nvmax, int nedmx, ref int nvb, [Out] double[] coor, ref int nedge, [Out] int[] edge, int itrace, String outfile, ref Nag_Comm COMM, ref NagError fail ); public delegate double d06bac_fbnd_DELEGATE( int i, double x, double y, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void d06bac( int nlines, [In] double[] coorch, [In] int[] lined, d06bac_fbnd_DELEGATE fbnd, [In] double[] crus, int sdcrus, [In] double[] rate, int ncomp, [In] int[] nlcomp, [In] int[] lcomp, int nvmax, int nedmx, ref int nvb, [Out] double[] coor, ref int nedge, [Out] int[] edge, int itrace, String outfile, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d06cac")] public static extern void nag_mesh2d_smooth( int nv, int nelt, int nedge, [In,Out] double[] coor, [In] int[] edge, [In] int[] conn, int nvfix, [In] int[] numfix, int itrace, String outfile, int nqint, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d06cac( int nv, int nelt, int nedge, [In,Out] double[] coor, [In] int[] edge, [In] int[] conn, int nvfix, [In] int[] numfix, int itrace, String outfile, int nqint, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d06cbc")] public static extern void nag_mesh2d_sparse( int nv, int nelt, int nnzmax, [In] int[] conn, ref int nnz, [Out] int[] irow, [Out] int[] icol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d06cbc( int nv, int nelt, int nnzmax, [In] int[] conn, ref int nnz, [Out] int[] irow, [Out] int[] icol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d06ccc")] public static extern void nag_mesh2d_renum( int nv, int nelt, int nedge, int nnzmax, ref int nnz, [In,Out] double[] coor, [In,Out] int[] edge, [In,Out] int[] conn, [Out] int[] irow, [Out] int[] icol, int itrace, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d06ccc( int nv, int nelt, int nedge, int nnzmax, ref int nnz, [In,Out] double[] coor, [In,Out] int[] edge, [In,Out] int[] conn, [Out] int[] irow, [Out] int[] icol, int itrace, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d06dac")] public static extern void nag_mesh2d_trans( int mode, int nv, int nedge, int nelt, int ntrans, [In] int[] itype, [In] double[] trans, [In,Out] double[] coori, [In,Out] int[] edgei, [In,Out] int[] conni, [Out] double[] cooro, [Out] int[] edgeo, [Out] int[] conno, int itrace, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d06dac( int mode, int nv, int nedge, int nelt, int ntrans, [In] int[] itype, [In] double[] trans, [In,Out] double[] coori, [In,Out] int[] edgei, [In,Out] int[] conni, [Out] double[] cooro, [Out] int[] edgeo, [Out] int[] conno, int itrace, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="d06dbc")] public static extern void nag_mesh2d_join( double eps, int nv1, int nelt1, int nedge1, [In] double[] coor1, [In] int[] edge1, [In] int[] conn1, [In] int[] reft1, int nv2, int nelt2, int nedge2, [In] double[] coor2, [In] int[] edge2, [In] int[] conn2, [In] int[] reft2, ref int nv3, ref int nelt3, ref int nedge3, [Out] double[] coor3, [Out] int[] edge3, [Out] int[] conn3, [Out] int[] reft3, int itrace, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void d06dbc( double eps, int nv1, int nelt1, int nedge1, [In] double[] coor1, [In] int[] edge1, [In] int[] conn1, [In] int[] reft1, int nv2, int nelt2, int nedge2, [In] double[] coor2, [In] int[] edge2, [In] int[] conn2, [In] int[] reft2, ref int nv3, ref int nelt3, ref int nedge3, [Out] double[] coor3, [Out] int[] edge3, [Out] int[] conn3, [Out] int[] reft3, int itrace, String outfile, ref NagError fail ); // chapter e01 [DllImport("CLW3223DA_nag.dll", EntryPoint="e01aac")] public static extern void nag_1d_aitken_interp( int n, [In,Out] double[] a, [In,Out] double[] b, [Out] double[] c, double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01aac( int n, [In,Out] double[] a, [In,Out] double[] b, [Out] double[] c, double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01abc")] public static extern void nag_1d_everett_interp( int n, double p, [In,Out] double[] a, [Out] double[] g, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01abc( int n, double p, [In,Out] double[] a, [Out] double[] g, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01aec")] public static extern void nag_1d_cheb_interp( int m, double xmin, double xmax, [In] double[] x, [In] double[] y, [In] int[] p, int itmin, int itmax, [Out] double[] a, [Out] double[] perf, ref int num_iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01aec( int m, double xmin, double xmax, [In] double[] x, [In] double[] y, [In] int[] p, int itmin, int itmax, [Out] double[] a, [Out] double[] perf, ref int num_iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01bac")] public static extern void nag_1d_spline_interpolant( int m, [In] double[] x, [In] double[] y, ref Nag_Spline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01bac( int m, [In] double[] x, [In] double[] y, ref Nag_Spline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01bec")] public static extern void nag_monotonic_interpolant( int n, [In] double[] x, [In] double[] f, [Out] double[] d, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01bec( int n, [In] double[] x, [In] double[] f, [Out] double[] d, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01bfc")] public static extern void nag_monotonic_evaluate( int n, [In] double[] x, [In] double[] f, [In] double[] d, int m, [In] double[] px, [Out] double[] pf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01bfc( int n, [In] double[] x, [In] double[] f, [In] double[] d, int m, [In] double[] px, [Out] double[] pf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01bgc")] public static extern void nag_monotonic_deriv( int n, [In] double[] x, [In] double[] f, [In] double[] d, int m, [In] double[] px, [Out] double[] pf, [Out] double[] pd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01bgc( int n, [In] double[] x, [In] double[] f, [In] double[] d, int m, [In] double[] px, [Out] double[] pf, [Out] double[] pd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01bhc")] public static extern void nag_monotonic_intg( int n, [In] double[] x, [In] double[] f, [In] double[] d, double a, double b, ref double integral, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01bhc( int n, [In] double[] x, [In] double[] f, [In] double[] d, double a, double b, ref double integral, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01dac")] public static extern void nag_2d_spline_interpolant( int mx, int my, [In] double[] x, [In] double[] y, [In] double[] f, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01dac( int mx, int my, [In] double[] x, [In] double[] y, [In] double[] f, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01rac")] public static extern void nag_1d_ratnl_interp( int n, [In] double[] x, [In] double[] f, ref int m, [Out] double[] a, [Out] double[] u, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01rac( int n, [In] double[] x, [In] double[] f, ref int m, [Out] double[] a, [Out] double[] u, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01rbc")] public static extern void nag_1d_ratnl_eval( int m, [In] double[] a, [In] double[] u, double x, ref double f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01rbc( int m, [In] double[] a, [In] double[] u, double x, ref double f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01sgc")] public static extern void nag_2d_shep_interp( int m, [In] double[] x, [In] double[] y, [In] double[] f, int nw, int nq, [Out] int[] iq, [Out] double[] rq, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01sgc( int m, [In] double[] x, [In] double[] y, [In] double[] f, int nw, int nq, [Out] int[] iq, [Out] double[] rq, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01shc")] public static extern void nag_2d_shep_eval( int m, [In] double[] x, [In] double[] y, [In] double[] f, [In] int[] iq, [In] double[] rq, int n, [In] double[] u, [In] double[] v, [Out] double[] q, [Out] double[] qx, [Out] double[] qy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01shc( int m, [In] double[] x, [In] double[] y, [In] double[] f, [In] int[] iq, [In] double[] rq, int n, [In] double[] u, [In] double[] v, [Out] double[] q, [Out] double[] qx, [Out] double[] qy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01sjc")] public static extern void nag_2d_triang_interp( int m, [In] double[] x, [In] double[] y, [In] double[] f, [Out] int[] triang, [Out] double[] grads, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01sjc( int m, [In] double[] x, [In] double[] y, [In] double[] f, [Out] int[] triang, [Out] double[] grads, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01skc")] public static extern void nag_2d_triang_eval( int m, [In] double[] x, [In] double[] y, [In] double[] f, [In] int[] triang, [In] double[] grads, double px, double py, ref double pf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01skc( int m, [In] double[] x, [In] double[] y, [In] double[] f, [In] int[] triang, [In] double[] grads, double px, double py, ref double pf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01tgc")] public static extern void nag_3d_shep_interp( int m, [In] double[] x, [In] double[] y, [In] double[] z, [In] double[] f, int nw, int nq, [Out] int[] iq, [Out] double[] rq, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01tgc( int m, [In] double[] x, [In] double[] y, [In] double[] z, [In] double[] f, int nw, int nq, [Out] int[] iq, [Out] double[] rq, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01thc")] public static extern void nag_3d_shep_eval( int m, [In] double[] x, [In] double[] y, [In] double[] z, [In] double[] f, [In] int[] iq, [In] double[] rq, int n, [In] double[] u, [In] double[] v, [In] double[] w, [Out] double[] q, [Out] double[] qx, [Out] double[] qy, [Out] double[] qz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01thc( int m, [In] double[] x, [In] double[] y, [In] double[] z, [In] double[] f, [In] int[] iq, [In] double[] rq, int n, [In] double[] u, [In] double[] v, [In] double[] w, [Out] double[] q, [Out] double[] qx, [Out] double[] qy, [Out] double[] qz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01tkc")] public static extern void nag_4d_shep_interp( int m, [In] double[] x, [In] double[] f, int nw, int nq, [Out] int[] iq, [Out] double[] rq, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01tkc( int m, [In] double[] x, [In] double[] f, int nw, int nq, [Out] int[] iq, [Out] double[] rq, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01tlc")] public static extern void nag_4d_shep_eval( int m, [In] double[] x, [In] double[] f, [In] int[] iq, [In] double[] rq, int n, [In] double[] xe, [Out] double[] q, [Out] double[] qx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01tlc( int m, [In] double[] x, [In] double[] f, [In] int[] iq, [In] double[] rq, int n, [In] double[] xe, [Out] double[] q, [Out] double[] qx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01tmc")] public static extern void nag_5d_shep_interp( int m, [In] double[] x, [In] double[] f, int nw, int nq, [Out] int[] iq, [Out] double[] rq, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01tmc( int m, [In] double[] x, [In] double[] f, int nw, int nq, [Out] int[] iq, [Out] double[] rq, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e01tnc")] public static extern void nag_5d_shep_eval( int m, [In] double[] x, [In] double[] f, [In] int[] iq, [In] double[] rq, int n, [In] double[] xe, [Out] double[] q, [Out] double[] qx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e01tnc( int m, [In] double[] x, [In] double[] f, [In] int[] iq, [In] double[] rq, int n, [In] double[] xe, [Out] double[] q, [Out] double[] qx, ref NagError fail ); // chapter e02 [DllImport("CLW3223DA_nag.dll", EntryPoint="e02adc")] public static extern void nag_1d_cheb_fit( int m, int kplus1, int tda, [In] double[] x, [In] double[] y, [In] double[] w, [Out] double[] a, [Out] double[] s, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02adc( int m, int kplus1, int tda, [In] double[] x, [In] double[] y, [In] double[] w, [Out] double[] a, [Out] double[] s, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02aec")] public static extern void nag_1d_cheb_eval( int nplus1, [In] double[] a, double xcap, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02aec( int nplus1, [In] double[] a, double xcap, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02afc")] public static extern void nag_1d_cheb_interp_fit( int nplus1, [In] double[] f, [Out] double[] a, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02afc( int nplus1, [In] double[] f, [Out] double[] a, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02agc")] public static extern void nag_1d_cheb_fit_constr( Nag_OrderType order, int m, int k, double xmin, double xmax, [In] double[] x, [In] double[] y, [In] double[] w, int mf, [In] double[] xf, [In] double[] yf, [In] int[] p, [Out] double[] a, [Out] double[] s, ref int n, [Out] double[] resid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02agc( Nag_OrderType order, int m, int k, double xmin, double xmax, [In] double[] x, [In] double[] y, [In] double[] w, int mf, [In] double[] xf, [In] double[] yf, [In] int[] p, [Out] double[] a, [Out] double[] s, ref int n, [Out] double[] resid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02ahc")] public static extern void nag_1d_cheb_deriv( int n, double xmin, double xmax, [In] double[] a, int ia1, ref double patm1, [Out] double[] adif, int iadif1, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02ahc( int n, double xmin, double xmax, [In] double[] a, int ia1, ref double patm1, [Out] double[] adif, int iadif1, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02ajc")] public static extern void nag_1d_cheb_intg( int n, double xmin, double xmax, [In] double[] a, int ia1, double qatm1, [Out] double[] aint, int iaint1, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02ajc( int n, double xmin, double xmax, [In] double[] a, int ia1, double qatm1, [Out] double[] aint, int iaint1, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02akc")] public static extern void nag_1d_cheb_eval2( int n, double xmin, double xmax, [In] double[] a, int ia1, double x, ref double result, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02akc( int n, double xmin, double xmax, [In] double[] a, int ia1, double x, ref double result, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02bac")] public static extern void nag_1d_spline_fit_knots( int m, [In] double[] x, [In] double[] y, [In] double[] weights, ref double ss, ref Nag_Spline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02bac( int m, [In] double[] x, [In] double[] y, [In] double[] weights, ref double ss, ref Nag_Spline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02bbc")] public static extern void nag_1d_spline_evaluate( double x, ref double s, ref Nag_Spline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02bbc( double x, ref double s, ref Nag_Spline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02bcc")] public static extern void nag_1d_spline_deriv( Nag_DerivType derivs, double x, [Out] double[] s, ref Nag_Spline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02bcc( Nag_DerivType derivs, double x, [Out] double[] s, ref Nag_Spline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02bdc")] public static extern void nag_1d_spline_intg( ref Nag_Spline spline, ref double integral, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02bdc( ref Nag_Spline spline, ref double integral, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02bec")] public static extern void nag_1d_spline_fit( Nag_Start start, int m, [In] double[] x, [In] double[] y, [In] double[] weights, double s, int nest, ref double fp, ref Nag_Comm warmstartinf, ref Nag_Spline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02bec( Nag_Start start, int m, [In] double[] x, [In] double[] y, [In] double[] weights, double s, int nest, ref double fp, ref Nag_Comm warmstartinf, ref Nag_Spline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02cac")] public static extern void nag_2d_cheb_fit_lines( [In] int[] m, int n, int k, int l, [In] double[] x, [In] double[] y, [In] double[] f, [In] double[] w, [Out] double[] a, [In] double[] xmin, [In] double[] xmax, [In] double[] nux, int inuxp1, [In] double[] nuy, int inuyp1, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02cac( [In] int[] m, int n, int k, int l, [In] double[] x, [In] double[] y, [In] double[] f, [In] double[] w, [Out] double[] a, [In] double[] xmin, [In] double[] xmax, [In] double[] nux, int inuxp1, [In] double[] nuy, int inuyp1, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02cbc")] public static extern void nag_2d_cheb_eval( int mfirst, int mlast, int k, int l, [In] double[] x, double xmin, double xmax, double y, double ymin, double ymax, [Out] double[] ff, [In] double[] a, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02cbc( int mfirst, int mlast, int k, int l, [In] double[] x, double xmin, double xmax, double y, double ymin, double ymax, [Out] double[] ff, [In] double[] a, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02dac")] public static extern void nag_2d_spline_fit_panel( int m, [In] double[] x, [In] double[] y, [In] double[] f, [In] double[] w, [In] int[] point, [Out] double[] dl, double eps, ref double sigma, ref int rank, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02dac( int m, [In] double[] x, [In] double[] y, [In] double[] f, [In] double[] w, [In] int[] point, [Out] double[] dl, double eps, ref double sigma, ref int rank, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02dcc")] public static extern void nag_2d_spline_fit_grid( Nag_Start start, int mx, [In] double[] x, int my, [In] double[] y, [In] double[] f, double s, int nxest, int nyest, ref double fp, ref Nag_Comm warmstartinf, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02dcc( Nag_Start start, int mx, [In] double[] x, int my, [In] double[] y, [In] double[] f, double s, int nxest, int nyest, ref double fp, ref Nag_Comm warmstartinf, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02ddc")] public static extern void nag_2d_spline_fit_scat( Nag_Start start, int m, [In] double[] x, [In] double[] y, [In] double[] f, [In] double[] weights, double s, int nxest, int nyest, ref double fp, ref int rank, ref double warmstartinf, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02ddc( Nag_Start start, int m, [In] double[] x, [In] double[] y, [In] double[] f, [In] double[] weights, double s, int nxest, int nyest, ref double fp, ref int rank, ref double warmstartinf, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02dec")] public static extern void nag_2d_spline_eval( int m, [In] double[] x, [In] double[] y, [Out] double[] ff, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02dec( int m, [In] double[] x, [In] double[] y, [Out] double[] ff, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02dfc")] public static extern void nag_2d_spline_eval_rect( int mx, int my, [In] double[] x, [In] double[] y, [Out] double[] ff, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02dfc( int mx, int my, [In] double[] x, [In] double[] y, [Out] double[] ff, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02dhc")] public static extern void nag_2d_spline_deriv_rect( int mx, int my, [In] double[] x, [In] double[] y, int nux, int nuy, [Out] double[] z, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02dhc( int mx, int my, [In] double[] x, [In] double[] y, int nux, int nuy, [Out] double[] z, ref Nag_2dSpline spline, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02gac")] public static extern void nag_lone_fit( Nag_OrderType order, int m, [In,Out] double[] a, [In,Out] double[] b, int nplus2, double toler, [Out] double[] x, ref double resid, ref int rank, ref int iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02gac( Nag_OrderType order, int m, [In,Out] double[] a, [In,Out] double[] b, int nplus2, double toler, [Out] double[] x, ref double resid, ref int rank, ref int iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02gcc")] public static extern void nag_linf_fit( Nag_OrderType order, int m, int n, [In,Out] double[] a, [In,Out] double[] b, double tol, ref double relerr, [Out] double[] x, ref double resmax, ref int rank, ref int iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02gcc( Nag_OrderType order, int m, int n, [In,Out] double[] a, [In,Out] double[] b, double tol, ref double relerr, [Out] double[] x, ref double resmax, ref int rank, ref int iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02rac")] public static extern void nag_1d_pade( int ia, int ib, [In] double[] c, [Out] double[] a, [Out] double[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02rac( int ia, int ib, [In] double[] c, [Out] double[] a, [Out] double[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02rbc")] public static extern void nag_1d_pade_eval( [In] double[] a, int ia, [In] double[] b, int ib, double x, ref double ans, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02rbc( [In] double[] a, int ia, [In] double[] b, int ib, double x, ref double ans, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e02zac")] public static extern void nag_2d_panel_sort( int px, int py, [In] double[] lamda, [In] double[] mu, int m, [In] double[] x, [In] double[] y, [Out] int[] point, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e02zac( int px, int py, [In] double[] lamda, [In] double[] mu, int m, [In] double[] x, [In] double[] y, [Out] int[] point, ref NagError fail ); // chapter e04 public delegate void nag_opt_one_var_no_deriv_funct_DELEGATE( double xc, ref double fc, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04abc")] public static extern void nag_opt_one_var_no_deriv( nag_opt_one_var_no_deriv_funct_DELEGATE funct, double e1, double e2, ref double a, ref double b, int max_fun, ref double x, ref double f, ref Nag_Comm comm, ref NagError fail ); public delegate void e04abc_funct_DELEGATE( double xc, ref double fc, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04abc( e04abc_funct_DELEGATE funct, double e1, double e2, ref double a, ref double b, int max_fun, ref double x, ref double f, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_one_var_deriv_funct_DELEGATE( double xc, ref double fc, ref double gc, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04bbc")] public static extern void nag_opt_one_var_deriv( nag_opt_one_var_deriv_funct_DELEGATE funct, double e1, double e2, ref double a, ref double b, int max_fun, ref double x, ref double f, ref double g, ref Nag_Comm comm, ref NagError fail ); public delegate void e04bbc_funct_DELEGATE( double xc, ref double fc, ref double gc, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04bbc( e04bbc_funct_DELEGATE funct, double e1, double e2, ref double a, ref double b, int max_fun, ref double x, ref double f, ref double g, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_simplex_easy_funct_DELEGATE( int n, IntPtr xc_rptr, ref double fc, ref Nag_Comm COMM ); public delegate void nag_opt_simplex_easy_monit_DELEGATE( double fmin, double fmax, IntPtr sim_rptr, int n, int ncall, double serror, double vratio, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void E04CBK( double fmin, double fmax, IntPtr sim_rptr, int n, int ncall, double serror, double vratio, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04cbc")] public static extern void nag_opt_simplex_easy( int n, [In,Out] double[] x, ref double f, double tolf, double tolx, nag_opt_simplex_easy_funct_DELEGATE funct, nag_opt_simplex_easy_monit_DELEGATE monit, int maxcal, ref Nag_Comm COMM, ref NagError fail ); public delegate void e04cbc_funct_DELEGATE( int n, IntPtr xc_rptr, ref double fc, ref Nag_Comm COMM ); public delegate void e04cbc_monit_DELEGATE( double fmin, double fmax, IntPtr sim_rptr, int n, int ncall, double serror, double vratio, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04cbc( int n, [In,Out] double[] x, ref double f, double tolf, double tolx, e04cbc_funct_DELEGATE funct, e04cbc_monit_DELEGATE monit, int maxcal, ref Nag_Comm COMM, ref NagError fail ); public delegate void nag_opt_simplex_funct_DELEGATE( int n, IntPtr xc_rptr, ref double fc, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04ccc")] public static extern void nag_opt_simplex( int n, nag_opt_simplex_funct_DELEGATE funct, [In,Out] double[] x, ref double fmin, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04ccc_funct_DELEGATE( int n, IntPtr xc_rptr, ref double fc, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04ccc( int n, e04ccc_funct_DELEGATE funct, [In,Out] double[] x, ref double fmin, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_conj_grad_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04dgc")] public static extern void nag_opt_conj_grad( int n, nag_opt_conj_grad_objfun_DELEGATE objfun, [In,Out] double[] x, ref double objf, [Out] double[] g, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04dgc_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04dgc( int n, e04dgc_objfun_DELEGATE objfun, [In,Out] double[] x, ref double objf, [Out] double[] g, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_lsq_no_deriv_lsqfun_DELEGATE( int m, int n, IntPtr x_rptr, IntPtr fvec_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04fcc")] public static extern void nag_opt_lsq_no_deriv( int m, int n, nag_opt_lsq_no_deriv_lsqfun_DELEGATE lsqfun, [In,Out] double[] x, ref double fsumsq, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04fcc_lsqfun_DELEGATE( int m, int n, IntPtr x_rptr, IntPtr fvec_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04fcc( int m, int n, e04fcc_lsqfun_DELEGATE lsqfun, [In,Out] double[] x, ref double fsumsq, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_lsq_deriv_lsqfun_DELEGATE( int m, int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04gbc")] public static extern void nag_opt_lsq_deriv( int m, int n, nag_opt_lsq_deriv_lsqfun_DELEGATE lsqfun, [In,Out] double[] x, ref double fsumsq, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04gbc_lsqfun_DELEGATE( int m, int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04gbc( int m, int n, e04gbc_lsqfun_DELEGATE lsqfun, [In,Out] double[] x, ref double fsumsq, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_check_deriv_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04hcc")] public static extern void nag_opt_check_deriv( int n, nag_opt_check_deriv_objfun_DELEGATE objfun, [In] double[] x, ref double objf, [Out] double[] g, ref Nag_Comm comm, ref NagError fail ); public delegate void e04hcc_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04hcc( int n, e04hcc_objfun_DELEGATE objfun, [In] double[] x, ref double objf, [Out] double[] g, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_check_2nd_deriv_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); public delegate void nag_opt_check_2nd_deriv_hessfun_DELEGATE( int n, IntPtr x_rptr, IntPtr h_rptr, IntPtr hd_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04hdc")] public static extern void nag_opt_check_2nd_deriv( int n, nag_opt_check_2nd_deriv_objfun_DELEGATE objfun, nag_opt_check_2nd_deriv_hessfun_DELEGATE hessfun, [In] double[] x, [Out] double[] g, [Out] double[] hesl, [Out] double[] hesd, ref Nag_Comm comm, ref NagError fail ); public delegate void e04hdc_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); public delegate void e04hdc_hessfun_DELEGATE( int n, IntPtr x_rptr, IntPtr h_rptr, IntPtr hd_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04hdc( int n, e04hdc_objfun_DELEGATE objfun, e04hdc_hessfun_DELEGATE hessfun, [In] double[] x, [Out] double[] g, [Out] double[] hesl, [Out] double[] hesd, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_bounds_no_deriv_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04jbc")] public static extern void nag_opt_bounds_no_deriv( int n, nag_opt_bounds_no_deriv_objfun_DELEGATE objfun, Nag_BoundType bound, [In,Out] double[] bl, [In,Out] double[] bu, [In,Out] double[] x, ref double objf, [In,Out] double[] g, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04jbc_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04jbc( int n, e04jbc_objfun_DELEGATE objfun, Nag_BoundType bound, [In,Out] double[] bl, [In,Out] double[] bu, [In,Out] double[] x, ref double objf, [In,Out] double[] g, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_bounds_qa_no_deriv_objfun_DELEGATE( int n, IntPtr x_rptr, ref double f, ref Nag_Comm COMM, ref int inform ); public delegate void nag_opt_bounds_qa_no_deriv_monfun_DELEGATE( int n, int nf, IntPtr x_rptr, double f, double rho, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll")] public static extern void E04JCP( int n, int nf, IntPtr x_rptr, double f, double rho, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04jcc")] public static extern void nag_opt_bounds_qa_no_deriv( nag_opt_bounds_qa_no_deriv_objfun_DELEGATE objfun, int n, int npt, [In,Out] double[] x, [In] double[] bl, [In] double[] bu, double rhobeg, double rhoend, nag_opt_bounds_qa_no_deriv_monfun_DELEGATE monfun, int maxcal, ref double f, ref int nf, ref Nag_Comm COMM, ref NagError fail ); public delegate void e04jcc_objfun_DELEGATE( int n, IntPtr x_rptr, ref double f, ref Nag_Comm COMM, ref int inform ); public delegate void e04jcc_monfun_DELEGATE( int n, int nf, IntPtr x_rptr, double f, double rho, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04jcc( e04jcc_objfun_DELEGATE objfun, int n, int npt, [In,Out] double[] x, [In] double[] bl, [In] double[] bu, double rhobeg, double rhoend, e04jcc_monfun_DELEGATE monfun, int maxcal, ref double f, ref int nf, ref Nag_Comm COMM, ref NagError fail ); public delegate void nag_opt_bounds_deriv_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04kbc")] public static extern void nag_opt_bounds_deriv( int n, nag_opt_bounds_deriv_objfun_DELEGATE objfun, Nag_BoundType bound, [In,Out] double[] bl, [In,Out] double[] bu, [In,Out] double[] x, ref double objf, [In,Out] double[] g, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04kbc_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04kbc( int n, e04kbc_objfun_DELEGATE objfun, Nag_BoundType bound, [In,Out] double[] bl, [In,Out] double[] bu, [In,Out] double[] x, ref double objf, [In,Out] double[] g, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_bounds_2nd_deriv_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); public delegate void nag_opt_bounds_2nd_deriv_hessfun_DELEGATE( int n, IntPtr x_rptr, IntPtr h_rptr, IntPtr hd_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04lbc")] public static extern void nag_opt_bounds_2nd_deriv( int n, nag_opt_bounds_2nd_deriv_objfun_DELEGATE objfun, nag_opt_bounds_2nd_deriv_hessfun_DELEGATE hessfun, Nag_BoundType bound, [In,Out] double[] bl, [In,Out] double[] bu, [In,Out] double[] x, ref double objf, [Out] double[] g, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04lbc_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); public delegate void e04lbc_hessfun_DELEGATE( int n, IntPtr x_rptr, IntPtr h_rptr, IntPtr hd_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04lbc( int n, e04lbc_objfun_DELEGATE objfun, e04lbc_hessfun_DELEGATE hessfun, Nag_BoundType bound, [In,Out] double[] bl, [In,Out] double[] bu, [In,Out] double[] x, ref double objf, [Out] double[] g, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04mfc")] public static extern void nag_opt_lp( int n, int nclin, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, [In] double[] cvec, [In,Out] double[] x, ref double objf, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04mfc( int n, int nclin, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, [In] double[] cvec, [In,Out] double[] x, ref double objf, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04myc")] public static extern void nag_opt_sparse_mps_free( ref IntPtr aPTR, ref IntPtr haPTR, ref IntPtr kaPTR, ref IntPtr blPTR, ref IntPtr buPTR, ref IntPtr xsPTR ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04myc( ref IntPtr aPTR, ref IntPtr haPTR, ref IntPtr kaPTR, ref IntPtr blPTR, ref IntPtr buPTR, ref IntPtr xsPTR ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04mzc")] public static extern void nag_opt_sparse_mps_read( IntPtr mps_filePTR, ref int n, ref int m, ref int nnz, ref int iobj, ref IntPtr aPTR, ref IntPtr haPTR, ref IntPtr kaPTR, ref IntPtr blPTR, ref IntPtr buPTR, ref IntPtr xsPTR, ref Nag_E04_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04mzc( IntPtr mps_filePTR, ref int n, ref int m, ref int nnz, ref int iobj, ref IntPtr aPTR, ref IntPtr haPTR, ref IntPtr kaPTR, ref IntPtr blPTR, ref IntPtr buPTR, ref IntPtr xsPTR, ref Nag_E04_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04ncc")] public static extern void nag_opt_lin_lsq( int m, int n, int nclin, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, [In] double[] cvec, [In,Out] double[] b, [In,Out] double[] h, int tdh, [In,Out] int[] kx, [In,Out] double[] x, ref double objf, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04ncc( int m, int n, int nclin, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, [In] double[] cvec, [In,Out] double[] b, [In,Out] double[] h, int tdh, [In,Out] int[] kx, [In,Out] double[] x, ref double objf, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_qp_qphess_DELEGATE( int n, int jthcol, IntPtr h_rptr, int tdh, IntPtr x_rptr, IntPtr hx_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04nfc")] public static extern void nag_opt_qp( int n, int nclin, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, [In] double[] cvec, [In] double[] h, int tdh, nag_opt_qp_qphess_DELEGATE qphess, [In,Out] double[] x, ref double objf, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04nfc_qphess_DELEGATE( int n, int jthcol, IntPtr h_rptr, int tdh, IntPtr x_rptr, IntPtr hx_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04nfc( int n, int nclin, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, [In] double[] cvec, [In] double[] h, int tdh, e04nfc_qphess_DELEGATE qphess, [In,Out] double[] x, ref double objf, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void nag_opt_sparse_convex_qp_qphx_DELEGATE( int ncolh, IntPtr x_rptr, IntPtr hx_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04nkc")] public static extern void nag_opt_sparse_convex_qp( int n, int m, int nnz, int iobj, int ncolh, nag_opt_sparse_convex_qp_qphx_DELEGATE qphx, [In] double[] a, [In] int[] ha, [In] int[] ka, [In] double[] bl, [In] double[] bu, [In,Out] double[] xs, ref int ninf, ref double sinf, ref double obj, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04nkc_qphx_DELEGATE( int ncolh, IntPtr x_rptr, IntPtr hx_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04nkc( int n, int m, int nnz, int iobj, int ncolh, e04nkc_qphx_DELEGATE qphx, [In] double[] a, [In] int[] ha, [In] int[] ka, [In] double[] bl, [In] double[] bu, [In,Out] double[] xs, ref int ninf, ref double sinf, ref double obj, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04npc")] public static extern void nag_opt_sparse_convex_qp_init( ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04npc( ref Nag_E04State state, ref NagError fail ); public delegate void nag_opt_sparse_convex_qp_solve_qphx_DELEGATE( int ncolh, IntPtr x_rptr, IntPtr hx_rptr, int nstate, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void E04NSH( int ncolh, IntPtr x_rptr, IntPtr hx_rptr, int nstate, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04nqc")] public static extern void nag_opt_sparse_convex_qp_solve( Nag_Start start, nag_opt_sparse_convex_qp_solve_qphx_DELEGATE qphx, int m, int n, int ne, int nname, int lenc, int ncolh, int iobj, double objadd, String prob, [In,Out] double[] acol, [In] int[] inda, [In] int[] loca, [In,Out] double[] bl, [In,Out] double[] bu, [In,Out] double[] c, [In] IntPtr[] names, [In] int[] helast, [In,Out] int[] hs, [In,Out] double[] x, [Out] double[] pi, [Out] double[] rc, ref int ns, ref int ninf, ref double sinf, ref double obj, ref Nag_E04State state, ref Nag_Comm COMM, ref NagError fail ); public delegate void e04nqc_qphx_DELEGATE( int ncolh, IntPtr x_rptr, IntPtr hx_rptr, int nstate, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04nqc( Nag_Start start, e04nqc_qphx_DELEGATE qphx, int m, int n, int ne, int nname, int lenc, int ncolh, int iobj, double objadd, String prob, [In,Out] double[] acol, [In] int[] inda, [In] int[] loca, [In,Out] double[] bl, [In,Out] double[] bu, [In,Out] double[] c, [In] IntPtr[] names, [In] int[] helast, [In,Out] int[] hs, [In,Out] double[] x, [Out] double[] pi, [Out] double[] rc, ref int ns, ref int ninf, ref double sinf, ref double obj, ref Nag_E04State state, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04nrc")] public static extern void nag_opt_sparse_convex_qp_option_set_file( int fileid, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04nrc( int fileid, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04nsc")] public static extern void nag_opt_sparse_convex_qp_option_set_string( String st, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04nsc( String st, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04ntc")] public static extern void nag_opt_sparse_convex_qp_option_set_integer( String st, int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04ntc( String st, int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04nuc")] public static extern void nag_opt_sparse_convex_qp_option_set_double( String st, double rvalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04nuc( String st, double rvalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04nxc")] public static extern void nag_opt_sparse_convex_qp_option_get_integer( String st, ref int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04nxc( String st, ref int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04nyc")] public static extern void nag_opt_sparse_convex_qp_option_get_double( String st, ref double rvalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04nyc( String st, ref double rvalue, ref Nag_E04State state, ref NagError fail ); public delegate void nag_opt_nlp_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); public delegate void nag_opt_nlp_confun_DELEGATE( int n, int ncnlin, IntPtr needc_iptr, IntPtr x_rptr, IntPtr conf_rptr, IntPtr conjac_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04ucc")] public static extern void nag_opt_nlp( int n, int nclin, int ncnlin, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, nag_opt_nlp_objfun_DELEGATE objfun, nag_opt_nlp_confun_DELEGATE confun, [In,Out] double[] x, ref double objf, [Out] double[] g, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04ucc_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); public delegate void e04ucc_confun_DELEGATE( int n, int ncnlin, IntPtr needc_iptr, IntPtr x_rptr, IntPtr conf_rptr, IntPtr conjac_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04ucc( int n, int nclin, int ncnlin, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, e04ucc_objfun_DELEGATE objfun, e04ucc_confun_DELEGATE confun, [In,Out] double[] x, ref double objf, [Out] double[] g, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04udc")] public static extern void nag_opt_nlp_revcomm_option_set_file( int fileid, [In,Out] Nag_Boolean[] lwsav, [In,Out] int[] iwsav, [In,Out] double[] rwsav, ref NagError inform ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04udc( int fileid, [In,Out] Nag_Boolean[] lwsav, [In,Out] int[] iwsav, [In,Out] double[] rwsav, ref NagError inform ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04uec")] public static extern void nag_opt_nlp_revcomm_option_set_string( String str, [In,Out] Nag_Boolean[] lwsav, [In,Out] int[] iwsav, [In,Out] double[] rwsav, ref NagError inform ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04uec( String str, [In,Out] Nag_Boolean[] lwsav, [In,Out] int[] iwsav, [In,Out] double[] rwsav, ref NagError inform ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04ufc")] public static extern void nag_opt_nlp_revcomm( ref int irevcm, int n, int nclin, int ncnln, int tda, int tdcj, int tdr, [In] double[] a, [In] double[] bl, [In] double[] bu, ref int iter, [In,Out] int[] istate, [In,Out] double[] c, [In,Out] double[] cjac, [In,Out] double[] clamda, ref double objf, [In,Out] double[] objgrd, [In,Out] double[] r, [In,Out] double[] x, [Out] int[] needc, [In,Out] int[] iwork, int liwork, [In,Out] double[] work, int lwork, String cwsav, [In,Out] Nag_Boolean[] lwsav, [In,Out] int[] iwsav, [In,Out] double[] rwsav, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04ufc( ref int irevcm, int n, int nclin, int ncnln, int tda, int tdcj, int tdr, [In] double[] a, [In] double[] bl, [In] double[] bu, ref int iter, [In,Out] int[] istate, [In,Out] double[] c, [In,Out] double[] cjac, [In,Out] double[] clamda, ref double objf, [In,Out] double[] objgrd, [In,Out] double[] r, [In,Out] double[] x, [Out] int[] needc, [In,Out] int[] iwork, int liwork, [In,Out] double[] work, int lwork, String cwsav, [In,Out] Nag_Boolean[] lwsav, [In,Out] int[] iwsav, [In,Out] double[] rwsav, ref NagError fail ); public delegate void nag_opt_nlp_sparse_confun_DELEGATE( int ncnln, int njnln, int nnzjac, IntPtr x_rptr, IntPtr conf_rptr, IntPtr conjac_rptr, ref Nag_Comm comm ); public delegate void nag_opt_nlp_sparse_objfun_DELEGATE( int nonln, IntPtr x_rptr, ref double objf, IntPtr objgrad_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04ugc")] public static extern void nag_opt_nlp_sparse( nag_opt_nlp_sparse_confun_DELEGATE confun, nag_opt_nlp_sparse_objfun_DELEGATE objfun, int n, int m, int ncnln, int nonln, int njnln, int iobj, int nnz, [In,Out] double[] a, [In] int[] ha, [In] int[] ka, [In,Out] double[] bl, [In,Out] double[] bu, [In,Out] double[] xs, ref int ninf, ref double sinf, ref double objf, ref Nag_Comm comm, ref Nag_E04_Opt ops, ref NagError fail ); public delegate void e04ugc_confun_DELEGATE( int ncnln, int njnln, int nnzjac, IntPtr x_rptr, IntPtr conf_rptr, IntPtr conjac_rptr, ref Nag_Comm comm ); public delegate void e04ugc_objfun_DELEGATE( int nonln, IntPtr x_rptr, ref double objf, IntPtr objgrad_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04ugc( e04ugc_confun_DELEGATE confun, e04ugc_objfun_DELEGATE objfun, int n, int m, int ncnln, int nonln, int njnln, int iobj, int nnz, [In,Out] double[] a, [In] int[] ha, [In] int[] ka, [In,Out] double[] bl, [In,Out] double[] bu, [In,Out] double[] xs, ref int ninf, ref double sinf, ref double objf, ref Nag_Comm comm, ref Nag_E04_Opt ops, ref NagError fail ); public delegate void nag_opt_nlin_lsq_objfun_DELEGATE( int m, int n, IntPtr x_rptr, IntPtr f_rptr, IntPtr fjac_rptr, int tdfjac, ref Nag_Comm comm ); public delegate void nag_opt_nlin_lsq_confun_DELEGATE( int n, int ncnlin, IntPtr needc_iptr, IntPtr x_rptr, IntPtr conf_rptr, IntPtr conjac_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04unc")] public static extern void nag_opt_nlin_lsq( int m, int n, int nclin, int ncnlin, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, [In] double[] y, nag_opt_nlin_lsq_objfun_DELEGATE objfun, nag_opt_nlin_lsq_confun_DELEGATE confun, [In,Out] double[] x, ref double objf, [Out] double[] f, [Out] double[] fjac, int tdfjac, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04unc_objfun_DELEGATE( int m, int n, IntPtr x_rptr, IntPtr f_rptr, IntPtr fjac_rptr, int tdfjac, ref Nag_Comm comm ); public delegate void e04unc_confun_DELEGATE( int n, int ncnlin, IntPtr needc_iptr, IntPtr x_rptr, IntPtr conf_rptr, IntPtr conjac_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04unc( int m, int n, int nclin, int ncnlin, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, [In] double[] y, e04unc_objfun_DELEGATE objfun, e04unc_confun_DELEGATE confun, [In,Out] double[] x, ref double objf, [Out] double[] f, [Out] double[] fjac, int tdfjac, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04vgc")] public static extern void nag_opt_sparse_nlp_init( ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04vgc( ref Nag_E04State state, ref NagError fail ); public delegate void nag_opt_sparse_nlp_solve_usrfun_DELEGATE( ref int status, int n, IntPtr x_rptr, int needf, int nf, IntPtr f_rptr, int needg, int leng, IntPtr g_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04vhc")] public static extern void nag_opt_sparse_nlp_solve( Nag_Start start, int nf, int n, int nxname, int nfname, double objadd, ref int objrow, String prob, nag_opt_sparse_nlp_solve_usrfun_DELEGATE usrfun, [In] int[] iafun, [In] int[] javar, [In] double[] a, int lena, int nea, [In] int[] igfun, [In] int[] jgvar, int leng, int neg, [In] double[] xlow, [In] double[] xupp, [In] IntPtr[] xnames, [In] double[] flow, [In] double[] fupp, [In] IntPtr[] fnames, [In,Out] double[] x, [In,Out] int[] xstate, [Out] double[] xmul, [In,Out] double[] f, [In,Out] int[] fstate, [In,Out] double[] fmul, ref int ns, ref int ninf, ref double sinf, ref Nag_E04State state, ref Nag_Comm COMM, ref NagError fail ); public delegate void e04vhc_usrfun_DELEGATE( ref int status, int n, IntPtr x_rptr, int needf, int nf, IntPtr f_rptr, int needg, int leng, IntPtr g_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04vhc( Nag_Start start, int nf, int n, int nxname, int nfname, double objadd, ref int objrow, String prob, e04vhc_usrfun_DELEGATE usrfun, [In] int[] iafun, [In] int[] javar, [In] double[] a, int lena, int nea, [In] int[] igfun, [In] int[] jgvar, int leng, int neg, [In] double[] xlow, [In] double[] xupp, [In] IntPtr[] xnames, [In] double[] flow, [In] double[] fupp, [In] IntPtr[] fnames, [In,Out] double[] x, [In,Out] int[] xstate, [Out] double[] xmul, [In,Out] double[] f, [In,Out] int[] fstate, [In,Out] double[] fmul, ref int ns, ref int ninf, ref double sinf, ref Nag_E04State state, ref Nag_Comm COMM, ref NagError fail ); public delegate void nag_opt_sparse_nlp_jacobian_usrfun_DELEGATE( ref int status, int n, IntPtr x_rptr, int needf, int nf, IntPtr f_rptr, int needg, int leng, IntPtr g_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04vjc")] public static extern void nag_opt_sparse_nlp_jacobian( int nf, int n, nag_opt_sparse_nlp_jacobian_usrfun_DELEGATE usrfun, [Out] int[] iafun, [Out] int[] javar, [Out] double[] a, int lena, ref int nea, [Out] int[] igfun, [Out] int[] jgvar, int leng, ref int neg, [In] double[] x, [In] double[] xlow, [In] double[] xupp, ref Nag_E04State state, ref Nag_Comm COMM, ref NagError fail ); public delegate void e04vjc_usrfun_DELEGATE( ref int status, int n, IntPtr x_rptr, int needf, int nf, IntPtr f_rptr, int needg, int leng, IntPtr g_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04vjc( int nf, int n, e04vjc_usrfun_DELEGATE usrfun, [Out] int[] iafun, [Out] int[] javar, [Out] double[] a, int lena, ref int nea, [Out] int[] igfun, [Out] int[] jgvar, int leng, ref int neg, [In] double[] x, [In] double[] xlow, [In] double[] xupp, ref Nag_E04State state, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04vkc")] public static extern void nag_opt_sparse_nlp_option_set_file( int fileid, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04vkc( int fileid, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04vlc")] public static extern void nag_opt_sparse_nlp_option_set_string( String st, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04vlc( String st, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04vmc")] public static extern void nag_opt_sparse_nlp_option_set_integer( String st, int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04vmc( String st, int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04vnc")] public static extern void nag_opt_sparse_nlp_option_set_double( String st, double rvalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04vnc( String st, double rvalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04vrc")] public static extern void nag_opt_sparse_nlp_option_get_integer( String st, ref int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04vrc( String st, ref int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04vsc")] public static extern void nag_opt_sparse_nlp_option_get_double( String st, ref double rvalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04vsc( String st, ref double rvalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04wbc")] public static extern void nag_opt_nlp_revcomm_init( String rname, String cwsav, int lcwsav, [Out] Nag_Boolean[] lwsav, int llwsav, [Out] int[] iwsav, int liwsav, [Out] double[] rwsav, int lrwsav, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04wbc( String rname, String cwsav, int lcwsav, [Out] Nag_Boolean[] lwsav, int llwsav, [Out] int[] iwsav, int liwsav, [Out] double[] rwsav, int lrwsav, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04wcc")] public static extern void nag_opt_nlp_init( ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04wcc( ref Nag_E04State state, ref NagError fail ); public delegate void nag_opt_nlp_solve_confun_DELEGATE( ref int mode, int ncnln, int n, int tdcj, IntPtr needc_iptr, IntPtr x_rptr, IntPtr ccon_rptr, IntPtr cjac_rptr, int nstate, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void E04WDP( ref int mode, int ncnln, int n, int tdcj, IntPtr needc_iptr, IntPtr x_rptr, IntPtr ccon_rptr, IntPtr cjac_rptr, int nstate, ref Nag_Comm COMM ); public delegate void nag_opt_nlp_solve_objfun_DELEGATE( ref int mode, int n, IntPtr x_rptr, ref double objf, IntPtr grad_rptr, int nstate, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04wdc")] public static extern void nag_opt_nlp_solve( int n, int nclin, int ncnln, int tda, int tdcj, int tdh, [In] double[] a, [In] double[] bl, [In] double[] bu, nag_opt_nlp_solve_confun_DELEGATE confun, nag_opt_nlp_solve_objfun_DELEGATE objfun, ref int majits, [In,Out] int[] istate, [In,Out] double[] ccon, [In,Out] double[] cjac, [In,Out] double[] clamda, ref double objf, [Out] double[] grad, [In,Out] double[] h, [In,Out] double[] x, ref Nag_E04State state, ref Nag_Comm COMM, ref NagError fail ); public delegate void e04wdc_confun_DELEGATE( ref int mode, int ncnln, int n, int tdcj, IntPtr needc_iptr, IntPtr x_rptr, IntPtr ccon_rptr, IntPtr cjac_rptr, int nstate, ref Nag_Comm COMM ); public delegate void e04wdc_objfun_DELEGATE( ref int mode, int n, IntPtr x_rptr, ref double objf, IntPtr grad_rptr, int nstate, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04wdc( int n, int nclin, int ncnln, int tda, int tdcj, int tdh, [In] double[] a, [In] double[] bl, [In] double[] bu, e04wdc_confun_DELEGATE confun, e04wdc_objfun_DELEGATE objfun, ref int majits, [In,Out] int[] istate, [In,Out] double[] ccon, [In,Out] double[] cjac, [In,Out] double[] clamda, ref double objf, [Out] double[] grad, [In,Out] double[] h, [In,Out] double[] x, ref Nag_E04State state, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04wec")] public static extern void nag_opt_nlp_option_set_file( int fileid, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04wec( int fileid, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04wfc")] public static extern void nag_opt_nlp_option_set_string( String st, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04wfc( String st, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04wgc")] public static extern void nag_opt_nlp_option_set_integer( String st, int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04wgc( String st, int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04whc")] public static extern void nag_opt_nlp_option_set_double( String st, double rvalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04whc( String st, double rvalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04wkc")] public static extern void nag_opt_nlp_option_get_integer( String st, ref int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04wkc( String st, ref int ivalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04wlc")] public static extern void nag_opt_nlp_option_get_double( String st, ref double rvalue, ref Nag_E04State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04wlc( String st, ref double rvalue, ref Nag_E04State state, ref NagError fail ); public delegate void nag_opt_estimate_deriv_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04xac")] public static extern void nag_opt_estimate_deriv( int n, [In] double[] x, nag_opt_estimate_deriv_objfun_DELEGATE objfun, ref double objf, [Out] double[] g, [In,Out] double[] h_forward, [Out] double[] h_central, [Out] double[] hess, int tdhess, ref Nag_DerivInfo[] deriv_info, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void e04xac_objfun_DELEGATE( int n, IntPtr x_rptr, ref double objf, IntPtr g_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04xac( int n, [In] double[] x, e04xac_objfun_DELEGATE objfun, ref double objf, [Out] double[] g, [In,Out] double[] h_forward, [Out] double[] h_central, [Out] double[] hess, int tdhess, ref Nag_DerivInfo[] deriv_info, ref Nag_E04_Opt ops, ref Nag_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04xxc")] public static extern void nag_opt_init( ref Nag_E04_Opt ops ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04xxc( ref Nag_E04_Opt ops ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04xyc")] public static extern void nag_opt_read( IntPtr nmPTR, IntPtr opt_filePTR, ref Nag_E04_Opt ops, Nag_Boolean dnprint, IntPtr outfilePTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04xyc( IntPtr nmPTR, IntPtr opt_filePTR, ref Nag_E04_Opt ops, Nag_Boolean dnprint, IntPtr outfilePTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04xzc")] public static extern void nag_opt_free( ref Nag_E04_Opt ops, IntPtr p_namePTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04xzc( ref Nag_E04_Opt ops, IntPtr p_namePTR, ref NagError fail ); public delegate void nag_opt_lsq_check_deriv_lsqfun_DELEGATE( int m, int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04yac")] public static extern void nag_opt_lsq_check_deriv( int m, int n, nag_opt_lsq_check_deriv_lsqfun_DELEGATE lsqfun, [In] double[] x, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, ref Nag_Comm comm, ref NagError fail ); public delegate void e04yac_lsqfun_DELEGATE( int m, int n, IntPtr x_rptr, IntPtr fvec_rptr, IntPtr fjac_rptr, int tdfjac, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04yac( int m, int n, e04yac_lsqfun_DELEGATE lsqfun, [In] double[] x, [Out] double[] fvec, [Out] double[] fjac, int tdfjac, ref Nag_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e04ycc")] public static extern void nag_opt_lsq_covariance( int job, int m, int n, double fsumsq, [Out] double[] cj, ref Nag_E04_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e04ycc( int job, int m, int n, double fsumsq, [Out] double[] cj, ref Nag_E04_Opt ops, ref NagError fail ); // chapter e05 [DllImport("CLW3223DA_nag.dll", EntryPoint="e05jac")] public static extern void nag_glopt_bnd_mcs_init( int n_r, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05jac( int n_r, ref Nag_E05State state, ref NagError fail ); public delegate void nag_glopt_bnd_mcs_solve_objfun_DELEGATE( int n, IntPtr x_rptr, ref double f, int nstate, ref Nag_Comm COMM, ref int inform ); public delegate void nag_glopt_bnd_mcs_solve_monit_DELEGATE( int n, int ncall, IntPtr xbest_rptr, IntPtr icount_iptr, int ninit, IntPtr list_rptr, IntPtr numpts_iptr, IntPtr initpt_iptr, int nbaskt, IntPtr xbaskt_rptr, IntPtr boxl_rptr, IntPtr boxu_rptr, int nstate, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll")] public static extern void E05JBK( int n, int ncall, IntPtr xbest_rptr, IntPtr icount_iptr, int ninit, IntPtr list_rptr, IntPtr numpts_iptr, IntPtr initpt_iptr, int nbaskt, IntPtr xbaskt_rptr, IntPtr boxl_rptr, IntPtr boxu_rptr, int nstate, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05jbc")] public static extern void nag_glopt_bnd_mcs_solve( int n, nag_glopt_bnd_mcs_solve_objfun_DELEGATE objfun, Nag_BoundType bound, Nag_MCSInitMethod initmethod, [In,Out] double[] bl, [In,Out] double[] bu, int sdlist, [In,Out] double[] list, [In,Out] int[] numpts, [In,Out] int[] initpt, nag_glopt_bnd_mcs_solve_monit_DELEGATE monit, [Out] double[] x, ref double obj, ref Nag_E05State state, ref Nag_Comm COMM, ref NagError fail ); public delegate void e05jbc_objfun_DELEGATE( int n, IntPtr x_rptr, ref double f, int nstate, ref Nag_Comm COMM, ref int inform ); public delegate void e05jbc_monit_DELEGATE( int n, int ncall, IntPtr xbest_rptr, IntPtr icount_iptr, int ninit, IntPtr list_rptr, IntPtr numpts_iptr, IntPtr initpt_iptr, int nbaskt, IntPtr xbaskt_rptr, IntPtr boxl_rptr, IntPtr boxu_rptr, int nstate, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05jbc( int n, e05jbc_objfun_DELEGATE objfun, Nag_BoundType bound, Nag_MCSInitMethod initmethod, [In,Out] double[] bl, [In,Out] double[] bu, int sdlist, [In,Out] double[] list, [In,Out] int[] numpts, [In,Out] int[] initpt, e05jbc_monit_DELEGATE monit, [Out] double[] x, ref double obj, ref Nag_E05State state, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05jcc")] public static extern void nag_glopt_bnd_mcs_optset_file( int fileid, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05jcc( int fileid, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05jdc")] public static extern void nag_glopt_bnd_mcs_optset_string( String optstr, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05jdc( String optstr, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05jec")] public static extern void nag_glopt_bnd_mcs_optset_char( String optstr, String cvalue, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05jec( String optstr, String cvalue, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05jfc")] public static extern void nag_glopt_bnd_mcs_optset_int( String optstr, int ivalue, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05jfc( String optstr, int ivalue, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05jgc")] public static extern void nag_glopt_bnd_mcs_optset_real( String optstr, double rvalue, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05jgc( String optstr, double rvalue, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05jhc")] public static extern int nag_glopt_bnd_mcs_option_check( String optstr, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern int e05jhc( String optstr, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05jkc")] public static extern void nag_glopt_bnd_mcs_optget_int( String optstr, ref int ivalue, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05jkc( String optstr, ref int ivalue, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05jlc")] public static extern void nag_glopt_bnd_mcs_optget_real( String optstr, ref double rvalue, ref Nag_E05State state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05jlc( String optstr, ref double rvalue, ref Nag_E05State state, ref NagError fail ); public delegate void nag_glopt_bnd_pso_objfun_DELEGATE( ref int mode, int ndim, IntPtr x_rptr, ref double objf, IntPtr vecout_rptr, int nstate, ref Nag_Comm COMM ); public delegate void nag_glopt_bnd_pso_monmod_DELEGATE( int ndim, int npar, IntPtr x_rptr, IntPtr xb_rptr, double fb, IntPtr xbest_rptr, IntPtr fbest_rptr, IntPtr itt_iptr, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll")] public static extern void E05SXM( int ndim, int npar, IntPtr x_rptr, IntPtr xb_rptr, double fb, IntPtr xbest_rptr, IntPtr fbest_rptr, IntPtr itt_iptr, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05sac")] public static extern void nag_glopt_bnd_pso( int ndim, int npar, [Out] double[] xb, ref double fb, [In] double[] bl, [In] double[] bu, nag_glopt_bnd_pso_objfun_DELEGATE objfun, nag_glopt_bnd_pso_monmod_DELEGATE monmod, [In,Out] int[] iopts, [In,Out] double[] opts, ref Nag_Comm COMM, [Out] int[] itt, ref int inform, ref NagError fail ); public delegate void e05sac_objfun_DELEGATE( ref int mode, int ndim, IntPtr x_rptr, ref double objf, IntPtr vecout_rptr, int nstate, ref Nag_Comm COMM ); public delegate void e05sac_monmod_DELEGATE( int ndim, int npar, IntPtr x_rptr, IntPtr xb_rptr, double fb, IntPtr xbest_rptr, IntPtr fbest_rptr, IntPtr itt_iptr, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05sac( int ndim, int npar, [Out] double[] xb, ref double fb, [In] double[] bl, [In] double[] bu, e05sac_objfun_DELEGATE objfun, e05sac_monmod_DELEGATE monmod, [In,Out] int[] iopts, [In,Out] double[] opts, ref Nag_Comm COMM, [Out] int[] itt, ref int inform, ref NagError fail ); public delegate void nag_glopt_nlp_pso_objfun_DELEGATE( ref int mode, int ndim, IntPtr x_rptr, ref double objf, IntPtr vecout_rptr, int nstate, ref Nag_Comm COMM ); public delegate void nag_glopt_nlp_pso_confun_DELEGATE( ref int mode, int ncon, int ndim, int tdcj, IntPtr needc_iptr, IntPtr x_rptr, IntPtr c_rptr, IntPtr cjac_rptr, int nstate, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void E05SZM( ref int mode, int ncon, int ndim, int tdcj, IntPtr needc_iptr, IntPtr x_rptr, IntPtr c_rptr, IntPtr cjac_rptr, int nstate, ref Nag_Comm COMM ); public delegate void nag_glopt_nlp_pso_monmod_DELEGATE( int ndim, int ncon, int npar, IntPtr x_rptr, IntPtr xb_rptr, double fb, IntPtr cb_rptr, IntPtr xbest_rptr, IntPtr fbest_rptr, IntPtr cbest_rptr, IntPtr itt_iptr, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll")] public static extern void E05SYM( int ndim, int ncon, int npar, IntPtr x_rptr, IntPtr xb_rptr, double fb, IntPtr cb_rptr, IntPtr xbest_rptr, IntPtr fbest_rptr, IntPtr cbest_rptr, IntPtr itt_iptr, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05sbc")] public static extern void nag_glopt_nlp_pso( int ndim, int ncon, int npar, [Out] double[] xb, ref double fb, [Out] double[] cb, [In] double[] bl, [In] double[] bu, [In,Out] double[] xbest, [In,Out] double[] fbest, [In,Out] double[] cbest, nag_glopt_nlp_pso_objfun_DELEGATE objfun, nag_glopt_nlp_pso_confun_DELEGATE confun, nag_glopt_nlp_pso_monmod_DELEGATE monmod, [In,Out] int[] iopts, [In,Out] double[] opts, ref Nag_Comm COMM, [Out] int[] itt, ref int inform, ref NagError fail ); public delegate void e05sbc_objfun_DELEGATE( ref int mode, int ndim, IntPtr x_rptr, ref double objf, IntPtr vecout_rptr, int nstate, ref Nag_Comm COMM ); public delegate void e05sbc_confun_DELEGATE( ref int mode, int ncon, int ndim, int tdcj, IntPtr needc_iptr, IntPtr x_rptr, IntPtr c_rptr, IntPtr cjac_rptr, int nstate, ref Nag_Comm COMM ); public delegate void e05sbc_monmod_DELEGATE( int ndim, int ncon, int npar, IntPtr x_rptr, IntPtr xb_rptr, double fb, IntPtr cb_rptr, IntPtr xbest_rptr, IntPtr fbest_rptr, IntPtr cbest_rptr, IntPtr itt_iptr, ref Nag_Comm COMM, ref int inform ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05sbc( int ndim, int ncon, int npar, [Out] double[] xb, ref double fb, [Out] double[] cb, [In] double[] bl, [In] double[] bu, [In,Out] double[] xbest, [In,Out] double[] fbest, [In,Out] double[] cbest, e05sbc_objfun_DELEGATE objfun, e05sbc_confun_DELEGATE confun, e05sbc_monmod_DELEGATE monmod, [In,Out] int[] iopts, [In,Out] double[] opts, ref Nag_Comm COMM, [Out] int[] itt, ref int inform, ref NagError fail ); public delegate void nag_glopt_nlp_multistart_sqp_confun_DELEGATE( ref int mode, int ncnln, int n, int tdcjsl, IntPtr needc_iptr, IntPtr x_rptr, IntPtr c_rptr, IntPtr cjsl_rptr, int nstate, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void E04UDM( ref int mode, int ncnln, int n, int tdcjsl, IntPtr needc_iptr, IntPtr x_rptr, IntPtr c_rptr, IntPtr cjsl_rptr, int nstate, ref Nag_Comm COMM ); public delegate void nag_glopt_nlp_multistart_sqp_objfun_DELEGATE( ref int mode, int n, IntPtr x_rptr, ref double objf, IntPtr objgrd_rptr, int nstate, ref Nag_Comm COMM ); public delegate void nag_glopt_nlp_multistart_sqp_start_DELEGATE( int npts, IntPtr quas_rptr, int n, Nag_Boolean repeat, IntPtr bl_rptr, IntPtr bu_rptr, ref Nag_Comm COMM, ref int mode ); [DllImport("CLW3223DA_nag.dll")] public static extern void E05UCZ( int npts, IntPtr quas_rptr, int n, Nag_Boolean repeat, IntPtr bl_rptr, IntPtr bu_rptr, ref Nag_Comm COMM, ref int mode ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05ucc")] public static extern void nag_glopt_nlp_multistart_sqp( int n, int nclin, int ncnln, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, nag_glopt_nlp_multistart_sqp_confun_DELEGATE confun, nag_glopt_nlp_multistart_sqp_objfun_DELEGATE objfun, int npts, [Out] double[] x, int ldx, nag_glopt_nlp_multistart_sqp_start_DELEGATE start, Nag_Boolean repeat, int nb, [Out] double[] objf, [Out] double[] objgrd, int ldobjgrd, [Out] int[] iter, [Out] double[] c, int ldc, [Out] double[] cjac, int ldcjac, int sdcjac, [Out] double[] r, int ldr, int sdr, [Out] double[] clamda, int ldclamda, [Out] int[] istate, int ldistate, [In,Out] int[] iopts, [In,Out] double[] opts, ref Nag_Comm COMM, [Out] int[] info, ref NagError fail ); public delegate void e05ucc_confun_DELEGATE( ref int mode, int ncnln, int n, int tdcjsl, IntPtr needc_iptr, IntPtr x_rptr, IntPtr c_rptr, IntPtr cjsl_rptr, int nstate, ref Nag_Comm COMM ); public delegate void e05ucc_objfun_DELEGATE( ref int mode, int n, IntPtr x_rptr, ref double objf, IntPtr objgrd_rptr, int nstate, ref Nag_Comm COMM ); public delegate void e05ucc_start_DELEGATE( int npts, IntPtr quas_rptr, int n, Nag_Boolean repeat, IntPtr bl_rptr, IntPtr bu_rptr, ref Nag_Comm COMM, ref int mode ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05ucc( int n, int nclin, int ncnln, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, e05ucc_confun_DELEGATE confun, e05ucc_objfun_DELEGATE objfun, int npts, [Out] double[] x, int ldx, e05ucc_start_DELEGATE start, Nag_Boolean repeat, int nb, [Out] double[] objf, [Out] double[] objgrd, int ldobjgrd, [Out] int[] iter, [Out] double[] c, int ldc, [Out] double[] cjac, int ldcjac, int sdcjac, [Out] double[] r, int ldr, int sdr, [Out] double[] clamda, int ldclamda, [Out] int[] istate, int ldistate, [In,Out] int[] iopts, [In,Out] double[] opts, ref Nag_Comm COMM, [Out] int[] info, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05zkc")] public static extern void nag_glopt_opt_set( String optstr, [In,Out] int[] iopts, int liopts, [In,Out] double[] opts, int lopts, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05zkc( String optstr, [In,Out] int[] iopts, int liopts, [In,Out] double[] opts, int lopts, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="e05zlc")] public static extern void nag_glopt_opt_get( String optstr, ref int ivalue, ref double rvalue, String cvalue, int lcvalue, ref Nag_VariableType optype, [In] int[] iopts, [In] double[] opts, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void e05zlc( String optstr, ref int ivalue, ref double rvalue, String cvalue, int lcvalue, ref Nag_VariableType optype, [In] int[] iopts, [In] double[] opts, ref NagError fail ); // chapter f01 [DllImport("CLW3223DA_nag.dll", EntryPoint="f01bnc")] public static extern void nag_complex_cholesky( int n, [In,Out] Complex[] a, int tda, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01bnc( int n, [In,Out] Complex[] a, int tda, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01ecc")] public static extern void nag_real_gen_matrix_exp( int n, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01ecc( int n, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01edc")] public static extern void nag_real_symm_matrix_exp( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01edc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, ref NagError fail ); public delegate void nag_matop_real_symm_matrix_fun_f_DELEGATE( ref int flag, int n, IntPtr x_rptr, IntPtr fx_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01efc")] public static extern void nag_matop_real_symm_matrix_fun( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, nag_matop_real_symm_matrix_fun_f_DELEGATE f, ref Nag_Comm COMM, ref int flag, ref NagError fail ); public delegate void f01efc_f_DELEGATE( ref int flag, int n, IntPtr x_rptr, IntPtr fx_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01efc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, f01efc_f_DELEGATE f, ref Nag_Comm COMM, ref int flag, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01ejc")] public static extern void nag_matop_real_gen_matrix_log( int n, [In,Out] double[] a, int pda, ref double imnorm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01ejc( int n, [In,Out] double[] a, int pda, ref double imnorm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01ekc")] public static extern void nag_matop_real_gen_matrix_fun_std( Nag_MatFunType fun, int n, [In,Out] double[] a, int pda, ref double imnorm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01ekc( Nag_MatFunType fun, int n, [In,Out] double[] a, int pda, ref double imnorm, ref NagError fail ); public delegate void nag_matop_real_gen_matrix_fun_usd_f_DELEGATE( int m, ref int iflag, int nz, IntPtr z_cptr, IntPtr fz_cptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01emc")] public static extern void nag_matop_real_gen_matrix_fun_usd( int n, [In,Out] double[] a, int pda, nag_matop_real_gen_matrix_fun_usd_f_DELEGATE f, ref Nag_Comm COMM, ref int iflag, ref double imnorm, ref NagError fail ); public delegate void f01emc_f_DELEGATE( int m, ref int iflag, int nz, IntPtr z_cptr, IntPtr fz_cptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01emc( int n, [In,Out] double[] a, int pda, f01emc_f_DELEGATE f, ref Nag_Comm COMM, ref int iflag, ref double imnorm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01fcc")] public static extern void nag_matop_complex_gen_matrix_exp( Nag_OrderType order, int n, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01fcc( Nag_OrderType order, int n, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01fdc")] public static extern void nag_matop_complex_herm_matrix_exp( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01fdc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, ref NagError fail ); public delegate void nag_matop_complex_herm_matrix_fun_f_DELEGATE( ref int flag, int n, IntPtr x_rptr, IntPtr fx_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01ffc")] public static extern void nag_matop_complex_herm_matrix_fun( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, nag_matop_complex_herm_matrix_fun_f_DELEGATE f, ref Nag_Comm COMM, ref int flag, ref NagError fail ); public delegate void f01ffc_f_DELEGATE( ref int flag, int n, IntPtr x_rptr, IntPtr fx_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01ffc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, f01ffc_f_DELEGATE f, ref Nag_Comm COMM, ref int flag, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01fjc")] public static extern void nag_matop_complex_gen_matrix_log( int n, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01fjc( int n, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01fkc")] public static extern void nag_matop_complex_gen_matrix_fun_std( Nag_MatFunType fun, int n, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01fkc( Nag_MatFunType fun, int n, [In,Out] Complex[] a, int pda, ref NagError fail ); public delegate void nag_matop_complex_gen_matrix_fun_usd_f_DELEGATE( int m, ref int iflag, int nz, IntPtr z_cptr, IntPtr fz_cptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01fmc")] public static extern void nag_matop_complex_gen_matrix_fun_usd( int n, [In,Out] Complex[] a, int pda, nag_matop_complex_gen_matrix_fun_usd_f_DELEGATE f, ref Nag_Comm COMM, ref int iflag, ref NagError fail ); public delegate void f01fmc_f_DELEGATE( int m, ref int iflag, int nz, IntPtr z_cptr, IntPtr fz_cptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01fmc( int n, [In,Out] Complex[] a, int pda, f01fmc_f_DELEGATE f, ref Nag_Comm COMM, ref int iflag, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01mcc")] public static extern void nag_real_cholesky_skyline( int n, [In] double[] a, int lal, [In] int[] row, [Out] double[] al, [Out] double[] d, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01mcc( int n, [In] double[] a, int lal, [In] int[] row, [Out] double[] al, [Out] double[] d, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01qcc")] public static extern void nag_real_qr( int m, int n, [In,Out] double[] a, int tda, [Out] double[] zeta, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01qcc( int m, int n, [In,Out] double[] a, int tda, [Out] double[] zeta, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01qdc")] public static extern void nag_real_apply_q( MatrixTranspose trans, Nag_WhereElements wheret, int m, int n, [In] double[] a, int tda, [In] double[] zeta, int ncolb, [In,Out] double[] b, int tdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01qdc( MatrixTranspose trans, Nag_WhereElements wheret, int m, int n, [In] double[] a, int tda, [In] double[] zeta, int ncolb, [In,Out] double[] b, int tdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01qec")] public static extern void nag_real_form_q( Nag_WhereElements wheret, int m, int n, int ncolq, [In,Out] double[] a, int tda, [In] double[] zeta, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01qec( Nag_WhereElements wheret, int m, int n, int ncolq, [In,Out] double[] a, int tda, [In] double[] zeta, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01rcc")] public static extern void nag_complex_qr( int m, int n, [In,Out] Complex[] a, int tda, [Out] Complex[] theta, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01rcc( int m, int n, [In,Out] Complex[] a, int tda, [Out] Complex[] theta, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01rdc")] public static extern void nag_complex_apply_q( MatrixTranspose trans, Nag_WhereElements wheret, int m, int n, [In] Complex[] a, int tda, [In] Complex[] theta, int ncolb, [In,Out] Complex[] b, int tdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01rdc( MatrixTranspose trans, Nag_WhereElements wheret, int m, int n, [In] Complex[] a, int tda, [In] Complex[] theta, int ncolb, [In,Out] Complex[] b, int tdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f01rec")] public static extern void nag_complex_form_q( Nag_WhereElements wheret, int m, int n, int ncolq, [In,Out] Complex[] a, int tda, [In] Complex[] theta, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f01rec( Nag_WhereElements wheret, int m, int n, int ncolq, [In,Out] Complex[] a, int tda, [In] Complex[] theta, ref NagError fail ); // chapter f02 [DllImport("CLW3223DA_nag.dll", EntryPoint="f02aac")] public static extern void nag_real_symm_eigenvalues( int n, [In,Out] double[] a, int tda, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02aac( int n, [In,Out] double[] a, int tda, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02abc")] public static extern void nag_real_symm_eigensystem( int n, [In] double[] a, int tda, [Out] double[] r, [Out] double[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02abc( int n, [In] double[] a, int tda, [Out] double[] r, [Out] double[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02adc")] public static extern void nag_real_symm_general_eigenvalues( int n, [In,Out] double[] a, int tda, [In,Out] double[] b, int tdb, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02adc( int n, [In,Out] double[] a, int tda, [In,Out] double[] b, int tdb, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02aec")] public static extern void nag_real_symm_general_eigensystem( int n, [In,Out] double[] a, int tda, [In,Out] double[] b, int tdb, [Out] double[] r, [Out] double[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02aec( int n, [In,Out] double[] a, int tda, [In,Out] double[] b, int tdb, [Out] double[] r, [Out] double[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02afc")] public static extern void nag_real_eigenvalues( int n, [In,Out] double[] a, int tda, [Out] Complex[] r, [Out] int[] iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02afc( int n, [In,Out] double[] a, int tda, [Out] Complex[] r, [Out] int[] iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02agc")] public static extern void nag_real_eigensystem( int n, [In,Out] double[] a, int tda, [Out] Complex[] r, [Out] Complex[] v, int tdv, [Out] int[] iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02agc( int n, [In,Out] double[] a, int tda, [Out] Complex[] r, [Out] Complex[] v, int tdv, [Out] int[] iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02awc")] public static extern void nag_hermitian_eigenvalues( int n, [In,Out] Complex[] a, int tda, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02awc( int n, [In,Out] Complex[] a, int tda, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02axc")] public static extern void nag_hermitian_eigensystem( int n, [In] Complex[] a, int tda, [Out] double[] r, [Out] Complex[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02axc( int n, [In] Complex[] a, int tda, [Out] double[] r, [Out] Complex[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02bjc")] public static extern void nag_real_general_eigensystem( int n, [In,Out] double[] a, int tda, [In,Out] double[] b, int tdb, double tol, [Out] Complex[] alfa, [Out] double[] beta, Nag_Boolean wantv, [Out] double[] v, int tdv, [Out] int[] iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02bjc( int n, [In,Out] double[] a, int tda, [In,Out] double[] b, int tdb, double tol, [Out] Complex[] alfa, [Out] double[] beta, Nag_Boolean wantv, [Out] double[] v, int tdv, [Out] int[] iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02ecc")] public static extern void nag_real_eigensystem_sel( Nag_Select_Eigenvalues crit, int n, [In,Out] double[] a, int tda, double wl, double wu, int mest, ref int m, [Out] Complex[] w, [Out] Complex[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02ecc( Nag_Select_Eigenvalues crit, int n, [In,Out] double[] a, int tda, double wl, double wu, int mest, ref int m, [Out] Complex[] w, [Out] Complex[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02gcc")] public static extern void nag_complex_eigensystem_sel( Nag_Select_Eigenvalues crit, int n, [In,Out] Complex[] a, int tda, double wl, double wu, int mest, ref int m, [Out] Complex[] w, [Out] Complex[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02gcc( Nag_Select_Eigenvalues crit, int n, [In,Out] Complex[] a, int tda, double wl, double wu, int mest, ref int m, [Out] Complex[] w, [Out] Complex[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02wec")] public static extern void nag_real_svd( int m, int n, [In,Out] double[] a, int tda, int ncolb, [In,Out] double[] b, int tdb, Nag_Boolean wantq, [Out] double[] q, int tdq, [Out] double[] sv, Nag_Boolean wantp, [Out] double[] pt, int tdpt, ref int iter, [Out] double[] e, ref int failinfo, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02wec( int m, int n, [In,Out] double[] a, int tda, int ncolb, [In,Out] double[] b, int tdb, Nag_Boolean wantq, [Out] double[] q, int tdq, [Out] double[] sv, Nag_Boolean wantp, [Out] double[] pt, int tdpt, ref int iter, [Out] double[] e, ref int failinfo, ref NagError fail ); public delegate void nag_real_partial_svd_av_DELEGATE( ref int iflag, int m, int n, IntPtr x_rptr, IntPtr ax_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02wgc")] public static extern void nag_real_partial_svd( Nag_OrderType order, int m, int n, int k, int ncv, nag_real_partial_svd_av_DELEGATE av, ref int nconv, [Out] double[] sigma, [Out] double[] u, int pdu, [Out] double[] v, int pdv, [Out] double[] resid, ref Nag_Comm COMM, ref NagError fail ); public delegate void f02wgc_av_DELEGATE( ref int iflag, int m, int n, IntPtr x_rptr, IntPtr ax_rptr, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02wgc( Nag_OrderType order, int m, int n, int k, int ncv, f02wgc_av_DELEGATE av, ref int nconv, [Out] double[] sigma, [Out] double[] u, int pdu, [Out] double[] v, int pdv, [Out] double[] resid, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f02xec")] public static extern void nag_complex_svd( int m, int n, [In,Out] Complex[] a, int tda, int ncolb, [In,Out] Complex[] b, int tdb, Nag_Boolean wantq, [Out] Complex[] q, int tdq, [Out] double[] sv, Nag_Boolean wantp, [Out] Complex[] ph, int tdph, ref int iter, [Out] double[] e, ref int failinfo, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f02xec( int m, int n, [In,Out] Complex[] a, int tda, int ncolb, [In,Out] Complex[] b, int tdb, Nag_Boolean wantq, [Out] Complex[] q, int tdq, [Out] double[] sv, Nag_Boolean wantp, [Out] Complex[] ph, int tdph, ref int iter, [Out] double[] e, ref int failinfo, ref NagError fail ); // chapter f03 [DllImport("CLW3223DA_nag.dll", EntryPoint="f03aec")] public static extern void nag_real_cholesky( int n, [In,Out] double[] a, int tda, [Out] double[] p, ref double detf, ref int dete, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f03aec( int n, [In,Out] double[] a, int tda, [Out] double[] p, ref double detf, ref int dete, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f03afc")] public static extern void nag_real_lu( int n, [In,Out] double[] a, int tda, [Out] int[] pivot, ref double detf, ref int dete, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f03afc( int n, [In,Out] double[] a, int tda, [Out] int[] pivot, ref double detf, ref int dete, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f03ahc")] public static extern void nag_complex_lu( int n, [In,Out] Complex[] a, int tda, [Out] int[] pivot, ref Complex det, ref int dete, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f03ahc( int n, [In,Out] Complex[] a, int tda, [Out] int[] pivot, ref Complex det, ref int dete, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f03bac")] public static extern void nag_det_real_gen( int n, [In] double[] a, int pda, [In] int[] ipiv, ref double d, ref int id, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f03bac( int n, [In] double[] a, int pda, [In] int[] ipiv, ref double d, ref int id, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f03bfc")] public static extern void nag_det_real_sym( int n, [In] double[] a, int pda, ref double d, ref int id, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f03bfc( int n, [In] double[] a, int pda, ref double d, ref int id, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f03bhc")] public static extern void nag_det_real_band_sym( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In] double[] ab, int pdab, ref double d, ref int id, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f03bhc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In] double[] ab, int pdab, ref double d, ref int id, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f03bnc")] public static extern void nag_det_complex_gen( int n, [In] Complex[] a, int pda, [In] int[] ipiv, ref Complex d, [Out] int[] id, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f03bnc( int n, [In] Complex[] a, int pda, [In] int[] ipiv, ref Complex d, [Out] int[] id, ref NagError fail ); // chapter f04 [DllImport("CLW3223DA_nag.dll", EntryPoint="f04adc")] public static extern void nag_complex_lin_eqn_mult_rhs( int n, int nrhs, [In,Out] Complex[] a, int tda, [In] Complex[] b, int tdb, [Out] Complex[] x, int tdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04adc( int n, int nrhs, [In,Out] Complex[] a, int tda, [In] Complex[] b, int tdb, [Out] Complex[] x, int tdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04agc")] public static extern void nag_real_cholesky_solve_mult_rhs( int n, int nrhs, [In] double[] a, int tda, [In] double[] p, [In] double[] b, int tdb, [Out] double[] x, int tdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04agc( int n, int nrhs, [In] double[] a, int tda, [In] double[] p, [In] double[] b, int tdb, [Out] double[] x, int tdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04ajc")] public static extern void nag_real_lu_solve_mult_rhs( int n, int nrhs, [In] double[] a, int tda, [In] int[] pivot, [In,Out] double[] b, int tdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04ajc( int n, int nrhs, [In] double[] a, int tda, [In] int[] pivot, [In,Out] double[] b, int tdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04akc")] public static extern void nag_complex_lu_solve_mult_rhs( int n, int nrhs, [In] Complex[] a, int tda, [In] int[] pivot, [In,Out] Complex[] b, int tdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04akc( int n, int nrhs, [In] Complex[] a, int tda, [In] int[] pivot, [In,Out] Complex[] b, int tdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04arc")] public static extern void nag_real_lin_eqn( int n, [In,Out] double[] a, int tda, [In] double[] b, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04arc( int n, [In,Out] double[] a, int tda, [In] double[] b, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04awc")] public static extern void nag_hermitian_lin_eqn_mult_rhs( int n, int nrhs, [In] Complex[] a, int tda, [In] double[] p, [In] Complex[] b, int tdb, [Out] Complex[] x, int tdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04awc( int n, int nrhs, [In] Complex[] a, int tda, [In] double[] p, [In] Complex[] b, int tdb, [Out] Complex[] x, int tdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04bac")] public static extern void nag_real_gen_lin_solve( Nag_OrderType order, int n, int nrhs, [In,Out] double[] a, int pda, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04bac( Nag_OrderType order, int n, int nrhs, [In,Out] double[] a, int pda, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04bbc")] public static extern void nag_real_band_lin_solve( Nag_OrderType order, int n, int kl, int ku, int nrhs, [In,Out] double[] ab, int pdab, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04bbc( Nag_OrderType order, int n, int kl, int ku, int nrhs, [In,Out] double[] ab, int pdab, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04bcc")] public static extern void nag_real_tridiag_lin_solve( Nag_OrderType order, int n, int nrhs, [In,Out] double[] dl, [In,Out] double[] d, [In,Out] double[] du, [Out] double[] du2, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04bcc( Nag_OrderType order, int n, int nrhs, [In,Out] double[] dl, [In,Out] double[] d, [In,Out] double[] du, [Out] double[] du2, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04bdc")] public static extern void nag_real_sym_posdef_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04bdc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04bec")] public static extern void nag_real_sym_posdef_packed_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] ap, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04bec( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] ap, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04bfc")] public static extern void nag_real_sym_posdef_band_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] double[] ab, int pdab, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04bfc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] double[] ab, int pdab, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04bgc")] public static extern void nag_real_sym_posdef_tridiag_lin_solve( Nag_OrderType order, int n, int nrhs, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04bgc( Nag_OrderType order, int n, int nrhs, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04bhc")] public static extern void nag_real_sym_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] a, int pda, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04bhc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] a, int pda, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04bjc")] public static extern void nag_real_sym_packed_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] ap, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04bjc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] ap, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04cac")] public static extern void nag_complex_gen_lin_solve( Nag_OrderType order, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04cac( Nag_OrderType order, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04cbc")] public static extern void nag_complex_band_lin_solve( Nag_OrderType order, int n, int kl, int ku, int nrhs, [In,Out] Complex[] ab, int pdab, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04cbc( Nag_OrderType order, int n, int kl, int ku, int nrhs, [In,Out] Complex[] ab, int pdab, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04ccc")] public static extern void nag_complex_tridiag_lin_solve( Nag_OrderType order, int n, int nrhs, [In,Out] Complex[] dl, [In,Out] Complex[] d, [In,Out] Complex[] du, [Out] Complex[] du2, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04ccc( Nag_OrderType order, int n, int nrhs, [In,Out] Complex[] dl, [In,Out] Complex[] d, [In,Out] Complex[] du, [Out] Complex[] du2, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04cdc")] public static extern void nag_herm_posdef_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04cdc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04cec")] public static extern void nag_herm_posdef_packed_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04cec( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04cfc")] public static extern void nag_herm_posdef_band_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04cfc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04cgc")] public static extern void nag_herm_posdef_tridiag_lin_solve( Nag_OrderType order, int n, int nrhs, [In,Out] double[] d, [In,Out] Complex[] e, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04cgc( Nag_OrderType order, int n, int nrhs, [In,Out] double[] d, [In,Out] Complex[] e, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04chc")] public static extern void nag_herm_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04chc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04cjc")] public static extern void nag_herm_packed_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04cjc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04dhc")] public static extern void nag_complex_sym_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04dhc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04djc")] public static extern void nag_complex_sym_packed_lin_solve( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04djc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref double rcond, ref double errbnd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f04mcc")] public static extern void nag_real_cholesky_skyline_solve( Nag_SolveSystem selct, int n, int nrhs, [In] double[] al, int lal, [In] double[] d, [In] int[] row, [In] double[] b, int tdb, [Out] double[] x, int tdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f04mcc( Nag_SolveSystem selct, int n, int nrhs, [In] double[] al, int lal, [In] double[] d, [In] int[] row, [In] double[] b, int tdb, [Out] double[] x, int tdx, ref NagError fail ); // chapter f06 [DllImport("CLW3223DA_nag.dll", EntryPoint="f06fec")] public static extern void nag_drscl( int n, double alpha, [In,Out] double[] x, int incx ); [DllImport("CLW3223DA_nag.dll")] public static extern void f06fec( int n, double alpha, [In,Out] double[] x, int incx ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f06kec")] public static extern void nag_zrscl( int n, double alpha, [In,Out] Complex[] x, int incx ); [DllImport("CLW3223DA_nag.dll")] public static extern void f06kec( int n, double alpha, [In,Out] Complex[] x, int incx ); // chapter f07 [DllImport("CLW3223DA_nag.dll", EntryPoint="f07aac")] public static extern void nag_dgesv( Nag_OrderType order, int n, int nrhs, [In,Out] double[] a, int pda, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07aac( Nag_OrderType order, int n, int nrhs, [In,Out] double[] a, int pda, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07abc")] public static extern void nag_dgesvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] af, int pdaf, [In,Out] int[] ipiv, Nag_EquilibrationType equed, [In,Out] double[] r, [In,Out] double[] c, [In,Out] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref double recip_growth_factor, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07abc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] af, int pdaf, [In,Out] int[] ipiv, Nag_EquilibrationType equed, [In,Out] double[] r, [In,Out] double[] c, [In,Out] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref double recip_growth_factor, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07acc")] public static extern void nag_dsgesv( Nag_OrderType order, int n, int nrhs, [In,Out] double[] a, int pda, [Out] int[] ipiv, [In] double[] b, int pdb, [Out] double[] x, int pdx, ref int iter, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07acc( Nag_OrderType order, int n, int nrhs, [In,Out] double[] a, int pda, [Out] int[] ipiv, [In] double[] b, int pdb, [Out] double[] x, int pdx, ref int iter, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07adc")] public static extern void nag_dgetrf( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07adc( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07aec")] public static extern void nag_dgetrs( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] double[] a, int pda, [In] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07aec( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] double[] a, int pda, [In] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07afc")] public static extern void nag_dgeequ( Nag_OrderType order, int m, int n, [In] double[] a, int pda, [Out] double[] r, [Out] double[] c, ref double rowcnd, ref double colcnd, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07afc( Nag_OrderType order, int m, int n, [In] double[] a, int pda, [Out] double[] r, [Out] double[] c, ref double rowcnd, ref double colcnd, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07agc")] public static extern void nag_dgecon( Nag_OrderType order, Nag_NormType norm, int n, [In] double[] a, int pda, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07agc( Nag_OrderType order, Nag_NormType norm, int n, [In] double[] a, int pda, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07ahc")] public static extern void nag_dgerfs( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] double[] a, int pda, [In] double[] af, int pdaf, [In] int[] ipiv, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07ahc( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] double[] a, int pda, [In] double[] af, int pdaf, [In] int[] ipiv, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07ajc")] public static extern void nag_dgetri( Nag_OrderType order, int n, [In,Out] double[] a, int pda, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07ajc( Nag_OrderType order, int n, [In,Out] double[] a, int pda, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07anc")] public static extern void nag_zgesv( Nag_OrderType order, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07anc( Nag_OrderType order, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07apc")] public static extern void nag_zgesvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] af, int pdaf, [In,Out] int[] ipiv, Nag_EquilibrationType equed, [In,Out] double[] r, [In,Out] double[] c, [In,Out] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref double recip_growth_factor, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07apc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] af, int pdaf, [In,Out] int[] ipiv, Nag_EquilibrationType equed, [In,Out] double[] r, [In,Out] double[] c, [In,Out] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref double recip_growth_factor, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07aqc")] public static extern void nag_zcgesv( Nag_OrderType order, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref int iter, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07aqc( Nag_OrderType order, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref int iter, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07arc")] public static extern void nag_zgetrf( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07arc( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07asc")] public static extern void nag_zgetrs( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] Complex[] a, int pda, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07asc( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] Complex[] a, int pda, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07atc")] public static extern void nag_zgeequ( Nag_OrderType order, int m, int n, [In] Complex[] a, int pda, [Out] double[] r, [Out] double[] c, ref double rowcnd, ref double colcnd, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07atc( Nag_OrderType order, int m, int n, [In] Complex[] a, int pda, [Out] double[] r, [Out] double[] c, ref double rowcnd, ref double colcnd, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07auc")] public static extern void nag_zgecon( Nag_OrderType order, Nag_NormType norm, int n, [In] Complex[] a, int pda, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07auc( Nag_OrderType order, Nag_NormType norm, int n, [In] Complex[] a, int pda, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07avc")] public static extern void nag_zgerfs( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] Complex[] a, int pda, [In] Complex[] af, int pdaf, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07avc( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] Complex[] a, int pda, [In] Complex[] af, int pdaf, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07awc")] public static extern void nag_zgetri( Nag_OrderType order, int n, [In,Out] Complex[] a, int pda, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07awc( Nag_OrderType order, int n, [In,Out] Complex[] a, int pda, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bac")] public static extern void nag_dgbsv( Nag_OrderType order, int n, int kl, int ku, int nrhs, [In,Out] double[] ab, int pdab, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bac( Nag_OrderType order, int n, int kl, int ku, int nrhs, [In,Out] double[] ab, int pdab, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bbc")] public static extern void nag_dgbsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In,Out] double[] ab, int pdab, [In,Out] double[] afb, int pdafb, [In,Out] int[] ipiv, Nag_EquilibrationType equed, [In,Out] double[] r, [In,Out] double[] c, [In,Out] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref double recip_growth_factor, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bbc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In,Out] double[] ab, int pdab, [In,Out] double[] afb, int pdafb, [In,Out] int[] ipiv, Nag_EquilibrationType equed, [In,Out] double[] r, [In,Out] double[] c, [In,Out] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref double recip_growth_factor, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bdc")] public static extern void nag_dgbtrf( Nag_OrderType order, int m, int n, int kl, int ku, [In,Out] double[] ab, int pdab, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bdc( Nag_OrderType order, int m, int n, int kl, int ku, [In,Out] double[] ab, int pdab, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bec")] public static extern void nag_dgbtrs( Nag_OrderType order, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In] double[] ab, int pdab, [In] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bec( Nag_OrderType order, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In] double[] ab, int pdab, [In] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bfc")] public static extern void nag_dgbequ( Nag_OrderType order, int m, int n, int kl, int ku, [In] double[] ab, int pdab, [Out] double[] r, [Out] double[] c, ref double rowcnd, ref double colcnd, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bfc( Nag_OrderType order, int m, int n, int kl, int ku, [In] double[] ab, int pdab, [Out] double[] r, [Out] double[] c, ref double rowcnd, ref double colcnd, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bgc")] public static extern void nag_dgbcon( Nag_OrderType order, Nag_NormType norm, int n, int kl, int ku, [In] double[] ab, int pdab, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bgc( Nag_OrderType order, Nag_NormType norm, int n, int kl, int ku, [In] double[] ab, int pdab, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bhc")] public static extern void nag_dgbrfs( Nag_OrderType order, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In] double[] ab, int pdab, [In] double[] afb, int pdafb, [In] int[] ipiv, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bhc( Nag_OrderType order, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In] double[] ab, int pdab, [In] double[] afb, int pdafb, [In] int[] ipiv, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bnc")] public static extern void nag_zgbsv( Nag_OrderType order, int n, int kl, int ku, int nrhs, [In,Out] Complex[] ab, int pdab, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bnc( Nag_OrderType order, int n, int kl, int ku, int nrhs, [In,Out] Complex[] ab, int pdab, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bpc")] public static extern void nag_zgbsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] afb, int pdafb, [In,Out] int[] ipiv, Nag_EquilibrationType equed, [In,Out] double[] r, [In,Out] double[] c, [In,Out] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref double recip_growth_factor, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bpc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] afb, int pdafb, [In,Out] int[] ipiv, Nag_EquilibrationType equed, [In,Out] double[] r, [In,Out] double[] c, [In,Out] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref double recip_growth_factor, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07brc")] public static extern void nag_zgbtrf( Nag_OrderType order, int m, int n, int kl, int ku, [In,Out] Complex[] ab, int pdab, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07brc( Nag_OrderType order, int m, int n, int kl, int ku, [In,Out] Complex[] ab, int pdab, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bsc")] public static extern void nag_zgbtrs( Nag_OrderType order, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In] Complex[] ab, int pdab, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bsc( Nag_OrderType order, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In] Complex[] ab, int pdab, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07btc")] public static extern void nag_zgbequ( Nag_OrderType order, int m, int n, int kl, int ku, [In] Complex[] ab, int pdab, [Out] double[] r, [Out] double[] c, ref double rowcnd, ref double colcnd, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07btc( Nag_OrderType order, int m, int n, int kl, int ku, [In] Complex[] ab, int pdab, [Out] double[] r, [Out] double[] c, ref double rowcnd, ref double colcnd, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07buc")] public static extern void nag_zgbcon( Nag_OrderType order, Nag_NormType norm, int n, int kl, int ku, [In] Complex[] ab, int pdab, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07buc( Nag_OrderType order, Nag_NormType norm, int n, int kl, int ku, [In] Complex[] ab, int pdab, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07bvc")] public static extern void nag_zgbrfs( Nag_OrderType order, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In] Complex[] ab, int pdab, [In] Complex[] afb, int pdafb, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07bvc( Nag_OrderType order, Nag_TransType trans, int n, int kl, int ku, int nrhs, [In] Complex[] ab, int pdab, [In] Complex[] afb, int pdafb, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07cac")] public static extern void nag_dgtsv( Nag_OrderType order, int n, int nrhs, [In,Out] double[] dl, [In,Out] double[] d, [In,Out] double[] du, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07cac( Nag_OrderType order, int n, int nrhs, [In,Out] double[] dl, [In,Out] double[] d, [In,Out] double[] du, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07cbc")] public static extern void nag_dgtsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int nrhs, [In] double[] dl, [In] double[] d, [In] double[] du, [In,Out] double[] dlf, [In,Out] double[] df, [In,Out] double[] duf, [In,Out] double[] du2, [In,Out] int[] ipiv, [In] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07cbc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int nrhs, [In] double[] dl, [In] double[] d, [In] double[] du, [In,Out] double[] dlf, [In,Out] double[] df, [In,Out] double[] duf, [In,Out] double[] du2, [In,Out] int[] ipiv, [In] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07cdc")] public static extern void nag_dgttrf( int n, [In,Out] double[] dl, [In,Out] double[] d, [In,Out] double[] du, [Out] double[] du2, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07cdc( int n, [In,Out] double[] dl, [In,Out] double[] d, [In,Out] double[] du, [Out] double[] du2, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07cec")] public static extern void nag_dgttrs( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] double[] dl, [In] double[] d, [In] double[] du, [In] double[] du2, [In] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07cec( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] double[] dl, [In] double[] d, [In] double[] du, [In] double[] du2, [In] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07cgc")] public static extern void nag_dgtcon( Nag_NormType norm, int n, [In] double[] dl, [In] double[] d, [In] double[] du, [In] double[] du2, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07cgc( Nag_NormType norm, int n, [In] double[] dl, [In] double[] d, [In] double[] du, [In] double[] du2, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07chc")] public static extern void nag_dgtrfs( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] double[] dl, [In] double[] d, [In] double[] du, [In] double[] dlf, [In] double[] df, [In] double[] duf, [In] double[] du2, [In] int[] ipiv, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07chc( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] double[] dl, [In] double[] d, [In] double[] du, [In] double[] dlf, [In] double[] df, [In] double[] duf, [In] double[] du2, [In] int[] ipiv, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07cnc")] public static extern void nag_zgtsv( Nag_OrderType order, int n, int nrhs, [In,Out] Complex[] dl, [In,Out] Complex[] d, [In,Out] Complex[] du, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07cnc( Nag_OrderType order, int n, int nrhs, [In,Out] Complex[] dl, [In,Out] Complex[] d, [In,Out] Complex[] du, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07cpc")] public static extern void nag_zgtsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int nrhs, [In] Complex[] dl, [In] Complex[] d, [In] Complex[] du, [In,Out] Complex[] dlf, [In,Out] Complex[] df, [In,Out] Complex[] duf, [In,Out] Complex[] du2, [In,Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07cpc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_TransType trans, int n, int nrhs, [In] Complex[] dl, [In] Complex[] d, [In] Complex[] du, [In,Out] Complex[] dlf, [In,Out] Complex[] df, [In,Out] Complex[] duf, [In,Out] Complex[] du2, [In,Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07crc")] public static extern void nag_zgttrf( int n, [In,Out] Complex[] dl, [In,Out] Complex[] d, [In,Out] Complex[] du, [Out] Complex[] du2, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07crc( int n, [In,Out] Complex[] dl, [In,Out] Complex[] d, [In,Out] Complex[] du, [Out] Complex[] du2, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07csc")] public static extern void nag_zgttrs( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] Complex[] dl, [In] Complex[] d, [In] Complex[] du, [In] Complex[] du2, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07csc( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] Complex[] dl, [In] Complex[] d, [In] Complex[] du, [In] Complex[] du2, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07cuc")] public static extern void nag_zgtcon( Nag_NormType norm, int n, [In] Complex[] dl, [In] Complex[] d, [In] Complex[] du, [In] Complex[] du2, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07cuc( Nag_NormType norm, int n, [In] Complex[] dl, [In] Complex[] d, [In] Complex[] du, [In] Complex[] du2, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07cvc")] public static extern void nag_zgtrfs( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] Complex[] dl, [In] Complex[] d, [In] Complex[] du, [In] Complex[] dlf, [In] Complex[] df, [In] Complex[] duf, [In] Complex[] du2, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07cvc( Nag_OrderType order, Nag_TransType trans, int n, int nrhs, [In] Complex[] dl, [In] Complex[] d, [In] Complex[] du, [In] Complex[] dlf, [In] Complex[] df, [In] Complex[] duf, [In] Complex[] du2, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fac")] public static extern void nag_dposv( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fac( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fbc")] public static extern void nag_dposvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] af, int pdaf, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fbc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] af, int pdaf, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fdc")] public static extern void nag_dpotrf( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fdc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fec")] public static extern void nag_dpotrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fec( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07ffc")] public static extern void nag_dpoequ( Nag_OrderType order, int n, [In] double[] a, int pda, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07ffc( Nag_OrderType order, int n, [In] double[] a, int pda, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fgc")] public static extern void nag_dpocon( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] a, int pda, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fgc( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] a, int pda, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fhc")] public static extern void nag_dporfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] a, int pda, [In] double[] af, int pdaf, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fhc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] a, int pda, [In] double[] af, int pdaf, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fjc")] public static extern void nag_dpotri( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fjc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fnc")] public static extern void nag_zposv( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fnc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fpc")] public static extern void nag_zposvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] af, int pdaf, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fpc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] af, int pdaf, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07frc")] public static extern void nag_zpotrf( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07frc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fsc")] public static extern void nag_zpotrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fsc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07ftc")] public static extern void nag_zpoequ( Nag_OrderType order, int n, [In] Complex[] a, int pda, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07ftc( Nag_OrderType order, int n, [In] Complex[] a, int pda, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fuc")] public static extern void nag_zpocon( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] a, int pda, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fuc( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] a, int pda, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fvc")] public static extern void nag_zporfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In] Complex[] af, int pdaf, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fvc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In] Complex[] af, int pdaf, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07fwc")] public static extern void nag_zpotri( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07fwc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gac")] public static extern void nag_dppsv( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] ap, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gac( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] ap, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gbc")] public static extern void nag_dppsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] ap, [In,Out] double[] afp, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gbc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] ap, [In,Out] double[] afp, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gdc")] public static extern void nag_dpptrf( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gdc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gec")] public static extern void nag_dpptrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] ap, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gec( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] ap, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gfc")] public static extern void nag_dppequ( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] ap, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gfc( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] ap, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07ggc")] public static extern void nag_dppcon( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] ap, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07ggc( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] ap, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07ghc")] public static extern void nag_dpprfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] ap, [In] double[] afp, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07ghc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] ap, [In] double[] afp, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gjc")] public static extern void nag_dpptri( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gjc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gnc")] public static extern void nag_zppsv( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gnc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gpc")] public static extern void nag_zppsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [In,Out] Complex[] afp, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gpc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [In,Out] Complex[] afp, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07grc")] public static extern void nag_zpptrf( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07grc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gsc")] public static extern void nag_zpptrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gsc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gtc")] public static extern void nag_zppequ( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] ap, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gtc( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] ap, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07guc")] public static extern void nag_zppcon( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] ap, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07guc( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] ap, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gvc")] public static extern void nag_zpprfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In] Complex[] afp, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gvc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In] Complex[] afp, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07gwc")] public static extern void nag_zpptri( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07gwc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hac")] public static extern void nag_dpbsv( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] double[] ab, int pdab, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hac( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] double[] ab, int pdab, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hbc")] public static extern void nag_dpbsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] double[] ab, int pdab, [In,Out] double[] afb, int pdafb, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hbc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] double[] ab, int pdab, [In,Out] double[] afb, int pdafb, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hdc")] public static extern void nag_dpbtrf( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In,Out] double[] ab, int pdab, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hdc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In,Out] double[] ab, int pdab, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hec")] public static extern void nag_dpbtrs( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In] double[] ab, int pdab, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hec( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In] double[] ab, int pdab, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hfc")] public static extern void nag_dpbequ( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In] double[] ab, int pdab, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hfc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In] double[] ab, int pdab, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hgc")] public static extern void nag_dpbcon( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In] double[] ab, int pdab, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hgc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In] double[] ab, int pdab, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hhc")] public static extern void nag_dpbrfs( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In] double[] ab, int pdab, [In] double[] afb, int pdafb, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hhc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In] double[] ab, int pdab, [In] double[] afb, int pdafb, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hnc")] public static extern void nag_zpbsv( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hnc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hpc")] public static extern void nag_zpbsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] afb, int pdafb, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hpc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int kd, int nrhs, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] afb, int pdafb, Nag_EquilibrationType equed, [In,Out] double[] s, [In,Out] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hrc")] public static extern void nag_zpbtrf( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In,Out] Complex[] ab, int pdab, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hrc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In,Out] Complex[] ab, int pdab, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hsc")] public static extern void nag_zpbtrs( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In] Complex[] ab, int pdab, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hsc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In] Complex[] ab, int pdab, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07htc")] public static extern void nag_zpbequ( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In] Complex[] ab, int pdab, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07htc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In] Complex[] ab, int pdab, [Out] double[] s, ref double scond, ref double amax, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07huc")] public static extern void nag_zpbcon( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In] Complex[] ab, int pdab, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07huc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, [In] Complex[] ab, int pdab, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07hvc")] public static extern void nag_zpbrfs( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In] Complex[] ab, int pdab, [In] Complex[] afb, int pdafb, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07hvc( Nag_OrderType order, Nag_UploType uplo, int n, int kd, int nrhs, [In] Complex[] ab, int pdab, [In] Complex[] afb, int pdafb, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jac")] public static extern void nag_dptsv( Nag_OrderType order, int n, int nrhs, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jac( Nag_OrderType order, int n, int nrhs, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jbc")] public static extern void nag_dptsvx( Nag_OrderType order, Nag_FactoredFormType fact, int n, int nrhs, [In] double[] d, [In] double[] e, [In,Out] double[] df, [In,Out] double[] ef, [In] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jbc( Nag_OrderType order, Nag_FactoredFormType fact, int n, int nrhs, [In] double[] d, [In] double[] e, [In,Out] double[] df, [In,Out] double[] ef, [In] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jdc")] public static extern void nag_dpttrf( int n, [In,Out] double[] d, [In,Out] double[] e, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jdc( int n, [In,Out] double[] d, [In,Out] double[] e, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jec")] public static extern void nag_dpttrs( Nag_OrderType order, int n, int nrhs, [In] double[] d, [In] double[] e, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jec( Nag_OrderType order, int n, int nrhs, [In] double[] d, [In] double[] e, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jgc")] public static extern void nag_dptcon( int n, [In] double[] d, [In] double[] e, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jgc( int n, [In] double[] d, [In] double[] e, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jhc")] public static extern void nag_dptrfs( Nag_OrderType order, int n, int nrhs, [In] double[] d, [In] double[] e, [In] double[] df, [In] double[] ef, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jhc( Nag_OrderType order, int n, int nrhs, [In] double[] d, [In] double[] e, [In] double[] df, [In] double[] ef, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jnc")] public static extern void nag_zptsv( Nag_OrderType order, int n, int nrhs, [In,Out] double[] d, [In,Out] Complex[] e, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jnc( Nag_OrderType order, int n, int nrhs, [In,Out] double[] d, [In,Out] Complex[] e, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jpc")] public static extern void nag_zptsvx( Nag_OrderType order, Nag_FactoredFormType fact, int n, int nrhs, [In] double[] d, [In] Complex[] e, [In,Out] double[] df, [In,Out] Complex[] ef, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jpc( Nag_OrderType order, Nag_FactoredFormType fact, int n, int nrhs, [In] double[] d, [In] Complex[] e, [In,Out] double[] df, [In,Out] Complex[] ef, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jrc")] public static extern void nag_zpttrf( int n, [In,Out] double[] d, [In,Out] Complex[] e, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jrc( int n, [In,Out] double[] d, [In,Out] Complex[] e, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jsc")] public static extern void nag_zpttrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] d, [In] Complex[] e, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jsc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] d, [In] Complex[] e, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07juc")] public static extern void nag_zptcon( int n, [In] double[] d, [In] Complex[] e, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07juc( int n, [In] double[] d, [In] Complex[] e, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07jvc")] public static extern void nag_zptrfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] d, [In] Complex[] e, [In] double[] df, [In] Complex[] ef, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07jvc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] d, [In] Complex[] e, [In] double[] df, [In] Complex[] ef, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mac")] public static extern void nag_dsysv( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] a, int pda, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mac( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] a, int pda, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mbc")] public static extern void nag_dsysvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] double[] a, int pda, [In,Out] double[] af, int pdaf, [In,Out] int[] ipiv, [In] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mbc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] double[] a, int pda, [In,Out] double[] af, int pdaf, [In,Out] int[] ipiv, [In] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mdc")] public static extern void nag_dsytrf( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mdc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mec")] public static extern void nag_dsytrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] a, int pda, [In] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mec( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] a, int pda, [In] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mgc")] public static extern void nag_dsycon( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] a, int pda, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mgc( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] a, int pda, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mhc")] public static extern void nag_dsyrfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] a, int pda, [In] double[] af, int pdaf, [In] int[] ipiv, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mhc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] a, int pda, [In] double[] af, int pdaf, [In] int[] ipiv, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mjc")] public static extern void nag_dsytri( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mjc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mnc")] public static extern void nag_zhesv( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mnc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mpc")] public static extern void nag_zhesvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In,Out] Complex[] af, int pdaf, [In,Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mpc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In,Out] Complex[] af, int pdaf, [In,Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mrc")] public static extern void nag_zhetrf( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mrc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07msc")] public static extern void nag_zhetrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07msc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07muc")] public static extern void nag_zhecon( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] a, int pda, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07muc( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] a, int pda, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mvc")] public static extern void nag_zherfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In] Complex[] af, int pdaf, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mvc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In] Complex[] af, int pdaf, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07mwc")] public static extern void nag_zhetri( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07mwc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07nnc")] public static extern void nag_zsysv( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07nnc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07npc")] public static extern void nag_zsysvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In,Out] Complex[] af, int pdaf, [In,Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07npc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In,Out] Complex[] af, int pdaf, [In,Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07nrc")] public static extern void nag_zsytrf( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07nrc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07nsc")] public static extern void nag_zsytrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07nsc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07nuc")] public static extern void nag_zsycon( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] a, int pda, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07nuc( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] a, int pda, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07nvc")] public static extern void nag_zsyrfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In] Complex[] af, int pdaf, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07nvc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] a, int pda, [In] Complex[] af, int pdaf, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07nwc")] public static extern void nag_zsytri( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07nwc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07pac")] public static extern void nag_dspsv( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] ap, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07pac( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] double[] ap, [Out] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07pbc")] public static extern void nag_dspsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] double[] ap, [In,Out] double[] afp, [In,Out] int[] ipiv, [In] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07pbc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] double[] ap, [In,Out] double[] afp, [In,Out] int[] ipiv, [In] double[] b, int pdb, [Out] double[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07pdc")] public static extern void nag_dsptrf( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] ap, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07pdc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] ap, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07pec")] public static extern void nag_dsptrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] ap, [In] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07pec( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] ap, [In] int[] ipiv, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07pgc")] public static extern void nag_dspcon( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] ap, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07pgc( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] ap, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07phc")] public static extern void nag_dsprfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] ap, [In] double[] afp, [In] int[] ipiv, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07phc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] double[] ap, [In] double[] afp, [In] int[] ipiv, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07pjc")] public static extern void nag_dsptri( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] ap, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07pjc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] ap, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07pnc")] public static extern void nag_zhpsv( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07pnc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07ppc")] public static extern void nag_zhpsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In,Out] Complex[] afp, [In,Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07ppc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In,Out] Complex[] afp, [In,Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07prc")] public static extern void nag_zhptrf( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07prc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07psc")] public static extern void nag_zhptrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07psc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07puc")] public static extern void nag_zhpcon( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] ap, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07puc( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] ap, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07pvc")] public static extern void nag_zhprfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In] Complex[] afp, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07pvc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In] Complex[] afp, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07pwc")] public static extern void nag_zhptri( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07pwc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07qnc")] public static extern void nag_zspsv( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07qnc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In,Out] Complex[] ap, [Out] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07qpc")] public static extern void nag_zspsvx( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In,Out] Complex[] afp, [In,Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07qpc( Nag_OrderType order, Nag_FactoredFormType fact, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In,Out] Complex[] afp, [In,Out] int[] ipiv, [In] Complex[] b, int pdb, [Out] Complex[] x, int pdx, ref double rcond, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07qrc")] public static extern void nag_zsptrf( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07qrc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [Out] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07qsc")] public static extern void nag_zsptrs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07qsc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In] int[] ipiv, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07quc")] public static extern void nag_zspcon( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] ap, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07quc( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] ap, [In] int[] ipiv, double anorm, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07qvc")] public static extern void nag_zsprfs( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In] Complex[] afp, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07qvc( Nag_OrderType order, Nag_UploType uplo, int n, int nrhs, [In] Complex[] ap, [In] Complex[] afp, [In] int[] ipiv, [In] Complex[] b, int pdb, [In,Out] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07qwc")] public static extern void nag_zsptri( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07qwc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In] int[] ipiv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07tec")] public static extern void nag_dtrtrs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07tec( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07tgc")] public static extern void nag_dtrcon( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, [In] double[] a, int pda, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07tgc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, [In] double[] a, int pda, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07thc")] public static extern void nag_dtrrfs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] double[] a, int pda, [In] double[] b, int pdb, [In] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07thc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] double[] a, int pda, [In] double[] b, int pdb, [In] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07tjc")] public static extern void nag_dtrtri( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In,Out] double[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07tjc( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In,Out] double[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07tsc")] public static extern void nag_ztrtrs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07tsc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07tuc")] public static extern void nag_ztrcon( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, [In] Complex[] a, int pda, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07tuc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, [In] Complex[] a, int pda, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07tvc")] public static extern void nag_ztrrfs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, [In] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07tvc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, [In] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07twc")] public static extern void nag_ztrtri( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In,Out] Complex[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07twc( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In,Out] Complex[] a, int pda, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07uec")] public static extern void nag_dtptrs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] double[] ap, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07uec( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] double[] ap, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07ugc")] public static extern void nag_dtpcon( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, [In] double[] ap, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07ugc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, [In] double[] ap, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07uhc")] public static extern void nag_dtprfs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] double[] ap, [In] double[] b, int pdb, [In] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07uhc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] double[] ap, [In] double[] b, int pdb, [In] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07ujc")] public static extern void nag_dtptri( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In,Out] double[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07ujc( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In,Out] double[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07usc")] public static extern void nag_ztptrs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] Complex[] ap, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07usc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] Complex[] ap, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07uuc")] public static extern void nag_ztpcon( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, [In] Complex[] ap, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07uuc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, [In] Complex[] ap, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07uvc")] public static extern void nag_ztprfs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] Complex[] ap, [In] Complex[] b, int pdb, [In] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07uvc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int nrhs, [In] Complex[] ap, [In] Complex[] b, int pdb, [In] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07uwc")] public static extern void nag_ztptri( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In,Out] Complex[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07uwc( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In,Out] Complex[] ap, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07vec")] public static extern void nag_dtbtrs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int kd, int nrhs, [In] double[] ab, int pdab, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07vec( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int kd, int nrhs, [In] double[] ab, int pdab, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07vgc")] public static extern void nag_dtbcon( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, int kd, [In] double[] ab, int pdab, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07vgc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, int kd, [In] double[] ab, int pdab, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07vhc")] public static extern void nag_dtbrfs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int kd, int nrhs, [In] double[] ab, int pdab, [In] double[] b, int pdb, [In] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07vhc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int kd, int nrhs, [In] double[] ab, int pdab, [In] double[] b, int pdb, [In] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07vsc")] public static extern void nag_ztbtrs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int kd, int nrhs, [In] Complex[] ab, int pdab, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07vsc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int kd, int nrhs, [In] Complex[] ab, int pdab, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07vuc")] public static extern void nag_ztbcon( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, int kd, [In] Complex[] ab, int pdab, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07vuc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, Nag_DiagType diag, int n, int kd, [In] Complex[] ab, int pdab, ref double rcond, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f07vvc")] public static extern void nag_ztbrfs( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int kd, int nrhs, [In] Complex[] ab, int pdab, [In] Complex[] b, int pdb, [In] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f07vvc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int kd, int nrhs, [In] Complex[] ab, int pdab, [In] Complex[] b, int pdb, [In] Complex[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError info ); // chapter f08 [DllImport("CLW3223DA_nag.dll", EntryPoint="f08aac")] public static extern void nag_dgels( Nag_OrderType order, Nag_TransType trans, int m, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08aac( Nag_OrderType order, Nag_TransType trans, int m, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08aec")] public static extern void nag_dgeqrf( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08aec( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08afc")] public static extern void nag_dorgqr( Nag_OrderType order, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08afc( Nag_OrderType order, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08agc")] public static extern void nag_dormqr( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08agc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ahc")] public static extern void nag_dgelqf( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ahc( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ajc")] public static extern void nag_dorglq( Nag_OrderType order, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ajc( Nag_OrderType order, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08akc")] public static extern void nag_dormlq( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08akc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08anc")] public static extern void nag_zgels( Nag_OrderType order, Nag_TransType trans, int m, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08anc( Nag_OrderType order, Nag_TransType trans, int m, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08asc")] public static extern void nag_zgeqrf( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08asc( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08atc")] public static extern void nag_zungqr( Nag_OrderType order, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08atc( Nag_OrderType order, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08auc")] public static extern void nag_zunmqr( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08auc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08avc")] public static extern void nag_zgelqf( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08avc( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08awc")] public static extern void nag_zunglq( Nag_OrderType order, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08awc( Nag_OrderType order, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08axc")] public static extern void nag_zunmlq( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08axc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08bac")] public static extern void nag_dgelsy( Nag_OrderType order, int m, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [In,Out] int[] jpvt, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08bac( Nag_OrderType order, int m, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [In,Out] int[] jpvt, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08bec")] public static extern void nag_dgeqpf( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [In,Out] int[] jpvt, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08bec( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [In,Out] int[] jpvt, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08bfc")] public static extern void nag_dgeqp3( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [In,Out] int[] jpvt, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08bfc( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [In,Out] int[] jpvt, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08bhc")] public static extern void nag_dtzrzf( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08bhc( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08bkc")] public static extern void nag_dormrz( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, int l, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08bkc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, int l, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08bnc")] public static extern void nag_zgelsy( Nag_OrderType order, int m, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [In,Out] int[] jpvt, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08bnc( Nag_OrderType order, int m, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [In,Out] int[] jpvt, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08bsc")] public static extern void nag_zgeqpf( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [In,Out] int[] jpvt, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08bsc( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [In,Out] int[] jpvt, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08btc")] public static extern void nag_zgeqp3( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [In,Out] int[] jpvt, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08btc( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [In,Out] int[] jpvt, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08bvc")] public static extern void nag_ztzrzf( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08bvc( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08bxc")] public static extern void nag_zunmrz( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, int l, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08bxc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, int l, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08cec")] public static extern void nag_dgeqlf( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08cec( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08cfc")] public static extern void nag_dorgql( Nag_OrderType order, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08cfc( Nag_OrderType order, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08cgc")] public static extern void nag_dormql( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08cgc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08chc")] public static extern void nag_dgerqf( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08chc( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08cjc")] public static extern void nag_dorgrq( Nag_OrderType order, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08cjc( Nag_OrderType order, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ckc")] public static extern void nag_dormrq( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ckc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08csc")] public static extern void nag_zgeqlf( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08csc( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ctc")] public static extern void nag_zungql( Nag_OrderType order, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ctc( Nag_OrderType order, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08cuc")] public static extern void nag_zunmql( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08cuc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08cvc")] public static extern void nag_zgerqf( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08cvc( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08cwc")] public static extern void nag_zungrq( Nag_OrderType order, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08cwc( Nag_OrderType order, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08cxc")] public static extern void nag_zunmrq( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08cxc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fac")] public static extern void nag_dsyev( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fac( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fbc")] public static extern void nag_dsyevx( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fbc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fcc")] public static extern void nag_dsyevd( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fcc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fdc")] public static extern void nag_dsyevr( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] isuppz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fdc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] isuppz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fec")] public static extern void nag_dsytrd( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [Out] double[] d, [Out] double[] e, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fec( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [Out] double[] d, [Out] double[] e, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ffc")] public static extern void nag_dorgtr( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ffc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fgc")] public static extern void nag_dormtr( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, int m, int n, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fgc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, int m, int n, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08flc")] public static extern void nag_ddisna( Nag_JobType job, int m, int n, [In] double[] d, [Out] double[] sep, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08flc( Nag_JobType job, int m, int n, [In] double[] d, [Out] double[] sep, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fnc")] public static extern void nag_zheev( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fnc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fpc")] public static extern void nag_zheevx( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fpc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fqc")] public static extern void nag_zheevd( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fqc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08frc")] public static extern void nag_zheevr( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] isuppz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08frc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] isuppz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fsc")] public static extern void nag_zhetrd( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [Out] double[] d, [Out] double[] e, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fsc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [Out] double[] d, [Out] double[] e, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ftc")] public static extern void nag_zungtr( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ftc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08fuc")] public static extern void nag_zunmtr( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, int m, int n, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08fuc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, int m, int n, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08gac")] public static extern void nag_dspev( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] ap, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08gac( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] ap, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08gbc")] public static extern void nag_dspevx( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] double[] ap, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08gbc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] double[] ap, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08gcc")] public static extern void nag_dspevd( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] ap, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08gcc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] ap, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08gec")] public static extern void nag_dsptrd( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] ap, [Out] double[] d, [Out] double[] e, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08gec( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] double[] ap, [Out] double[] d, [Out] double[] e, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08gfc")] public static extern void nag_dopgtr( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] ap, [In] double[] tau, [Out] double[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08gfc( Nag_OrderType order, Nag_UploType uplo, int n, [In] double[] ap, [In] double[] tau, [Out] double[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ggc")] public static extern void nag_dopmtr( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, int m, int n, [In,Out] double[] ap, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ggc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, int m, int n, [In,Out] double[] ap, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08gnc")] public static extern void nag_zhpev( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08gnc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08gpc")] public static extern void nag_zhpevx( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] Complex[] ap, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08gpc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] Complex[] ap, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08gqc")] public static extern void nag_zhpevd( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08gqc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08gsc")] public static extern void nag_zhptrd( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [Out] double[] d, [Out] double[] e, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08gsc( Nag_OrderType order, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [Out] double[] d, [Out] double[] e, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08gtc")] public static extern void nag_zupgtr( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] ap, [In] Complex[] tau, [Out] Complex[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08gtc( Nag_OrderType order, Nag_UploType uplo, int n, [In] Complex[] ap, [In] Complex[] tau, [Out] Complex[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08guc")] public static extern void nag_zupmtr( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, int m, int n, [In,Out] Complex[] ap, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08guc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, int m, int n, [In,Out] Complex[] ap, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08hac")] public static extern void nag_dsbev( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int kd, [In,Out] double[] ab, int pdab, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08hac( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int kd, [In,Out] double[] ab, int pdab, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08hbc")] public static extern void nag_dsbevx( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, int kd, [In,Out] double[] ab, int pdab, [Out] double[] q, int pdq, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08hbc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, int kd, [In,Out] double[] ab, int pdab, [Out] double[] q, int pdq, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08hcc")] public static extern void nag_dsbevd( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int kd, [In,Out] double[] ab, int pdab, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08hcc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int kd, [In,Out] double[] ab, int pdab, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08hec")] public static extern void nag_dsbtrd( Nag_OrderType order, Nag_VectType vect, Nag_UploType uplo, int n, int kd, [In,Out] double[] ab, int pdab, [Out] double[] d, [Out] double[] e, [In,Out] double[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08hec( Nag_OrderType order, Nag_VectType vect, Nag_UploType uplo, int n, int kd, [In,Out] double[] ab, int pdab, [Out] double[] d, [Out] double[] e, [In,Out] double[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08hnc")] public static extern void nag_zhbev( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int kd, [In,Out] Complex[] ab, int pdab, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08hnc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int kd, [In,Out] Complex[] ab, int pdab, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08hpc")] public static extern void nag_zhbevx( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, int kd, [In,Out] Complex[] ab, int pdab, [Out] Complex[] q, int pdq, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08hpc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, int kd, [In,Out] Complex[] ab, int pdab, [Out] Complex[] q, int pdq, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08hqc")] public static extern void nag_zhbevd( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int kd, [In,Out] Complex[] ab, int pdab, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08hqc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int kd, [In,Out] Complex[] ab, int pdab, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08hsc")] public static extern void nag_zhbtrd( Nag_OrderType order, Nag_VectType vect, Nag_UploType uplo, int n, int kd, [In,Out] Complex[] ab, int pdab, [Out] double[] d, [Out] double[] e, [In,Out] Complex[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08hsc( Nag_OrderType order, Nag_VectType vect, Nag_UploType uplo, int n, int kd, [In,Out] Complex[] ab, int pdab, [Out] double[] d, [Out] double[] e, [In,Out] Complex[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jac")] public static extern void nag_dstev( Nag_OrderType order, Nag_JobType job, int n, [In,Out] double[] d, [In,Out] double[] e, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jac( Nag_OrderType order, Nag_JobType job, int n, [In,Out] double[] d, [In,Out] double[] e, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jbc")] public static extern void nag_dstevx( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, int n, [In,Out] double[] d, [In,Out] double[] e, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jbc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, int n, [In,Out] double[] d, [In,Out] double[] e, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jcc")] public static extern void nag_dstevd( Nag_OrderType order, Nag_JobType job, int n, [In,Out] double[] d, [In,Out] double[] e, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jcc( Nag_OrderType order, Nag_JobType job, int n, [In,Out] double[] d, [In,Out] double[] e, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jdc")] public static extern void nag_dstevr( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, int n, [In,Out] double[] d, [In,Out] double[] e, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] isuppz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jdc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, int n, [In,Out] double[] d, [In,Out] double[] e, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] isuppz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jec")] public static extern void nag_dsteqr( Nag_OrderType order, Nag_ComputeZType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jec( Nag_OrderType order, Nag_ComputeZType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jfc")] public static extern void nag_dsterf( int n, [In,Out] double[] d, [In,Out] double[] e, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jfc( int n, [In,Out] double[] d, [In,Out] double[] e, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jgc")] public static extern void nag_dpteqr( Nag_OrderType order, Nag_ComputeZType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jgc( Nag_OrderType order, Nag_ComputeZType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jhc")] public static extern void nag_dstedc( Nag_OrderType order, Nag_ComputeEigVecsType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jhc( Nag_OrderType order, Nag_ComputeEigVecsType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jjc")] public static extern void nag_dstebz( Nag_RangeType range, Nag_EigValRankType rank, int n, double vl, double vu, int il, int iu, double abstol, [In] double[] d, [In] double[] e, ref int m, ref int nsplit, [Out] double[] w, [Out] int[] iblock, [Out] int[] isplit, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jjc( Nag_RangeType range, Nag_EigValRankType rank, int n, double vl, double vu, int il, int iu, double abstol, [In] double[] d, [In] double[] e, ref int m, ref int nsplit, [Out] double[] w, [Out] int[] iblock, [Out] int[] isplit, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jkc")] public static extern void nag_dstein( Nag_OrderType order, int n, [In] double[] d, [In] double[] e, int m, [In] double[] w, [In] int[] iblock, [In] int[] isplit, [Out] double[] z, int pdz, [Out] int[] ifailv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jkc( Nag_OrderType order, int n, [In] double[] d, [In] double[] e, int m, [In] double[] w, [In] int[] iblock, [In] int[] isplit, [Out] double[] z, int pdz, [Out] int[] ifailv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jlc")] public static extern void nag_dstegr( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, int n, [In,Out] double[] d, [In,Out] double[] e, double vl, double vu, int il, int iu, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] isuppz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jlc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, int n, [In,Out] double[] d, [In,Out] double[] e, double vl, double vu, int il, int iu, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] isuppz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jsc")] public static extern void nag_zsteqr( Nag_OrderType order, Nag_ComputeZType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jsc( Nag_OrderType order, Nag_ComputeZType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08juc")] public static extern void nag_zpteqr( Nag_OrderType order, Nag_ComputeZType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08juc( Nag_OrderType order, Nag_ComputeZType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jvc")] public static extern void nag_zstedc( Nag_OrderType order, Nag_ComputeEigVecsType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jvc( Nag_OrderType order, Nag_ComputeEigVecsType compz, int n, [In,Out] double[] d, [In,Out] double[] e, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jxc")] public static extern void nag_zstein( Nag_OrderType order, int n, [In] double[] d, [In] double[] e, int m, [In] double[] w, [In] int[] iblock, [In] int[] isplit, [Out] Complex[] z, int pdz, [Out] int[] ifailv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jxc( Nag_OrderType order, int n, [In] double[] d, [In] double[] e, int m, [In] double[] w, [In] int[] iblock, [In] int[] isplit, [Out] Complex[] z, int pdz, [Out] int[] ifailv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08jyc")] public static extern void nag_zstegr( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, int n, [In,Out] double[] d, [In,Out] double[] e, double vl, double vu, int il, int iu, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] isuppz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08jyc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, int n, [In,Out] double[] d, [In,Out] double[] e, double vl, double vu, int il, int iu, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] isuppz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kac")] public static extern void nag_dgelss( Nag_OrderType order, int m, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] s, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kac( Nag_OrderType order, int m, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] s, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kbc")] public static extern void nag_dgesvd( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVTType jobvt, int m, int n, [In,Out] double[] a, int pda, [Out] double[] s, [Out] double[] u, int pdu, [Out] double[] vt, int pdvt, [Out] double[] work, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kbc( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVTType jobvt, int m, int n, [In,Out] double[] a, int pda, [Out] double[] s, [Out] double[] u, int pdu, [Out] double[] vt, int pdvt, [Out] double[] work, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kcc")] public static extern void nag_dgelsd( Nag_OrderType order, int m, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] s, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kcc( Nag_OrderType order, int m, int n, int nrhs, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] s, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kdc")] public static extern void nag_dgesdd( Nag_OrderType order, Nag_JobType job, int m, int n, [In,Out] double[] a, int pda, [Out] double[] s, [Out] double[] u, int pdu, [Out] double[] vt, int pdvt, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kdc( Nag_OrderType order, Nag_JobType job, int m, int n, [In,Out] double[] a, int pda, [Out] double[] s, [Out] double[] u, int pdu, [Out] double[] vt, int pdvt, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kec")] public static extern void nag_dgebrd( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] d, [Out] double[] e, [Out] double[] tauq, [Out] double[] taup, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kec( Nag_OrderType order, int m, int n, [In,Out] double[] a, int pda, [Out] double[] d, [Out] double[] e, [Out] double[] tauq, [Out] double[] taup, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kfc")] public static extern void nag_dorgbr( Nag_OrderType order, Nag_VectType vect, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kfc( Nag_OrderType order, Nag_VectType vect, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kgc")] public static extern void nag_dormbr( Nag_OrderType order, Nag_VectType vect, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kgc( Nag_OrderType order, Nag_VectType vect, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08khc")] public static extern void nag_dgejsv( Nag_OrderType order, Nag_Preprocess joba, Nag_LeftVecsType jobu, Nag_RightVecsType jobv, Nag_ZeroCols jobr, Nag_TransType jobt, Nag_Perturb jobp, int m, int n, [In,Out] double[] a, int pda, [Out] double[] sva, [Out] double[] u, int pdu, [Out] double[] v, int pdv, [Out] double[] work, [Out] int[] iwork, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08khc( Nag_OrderType order, Nag_Preprocess joba, Nag_LeftVecsType jobu, Nag_RightVecsType jobv, Nag_ZeroCols jobr, Nag_TransType jobt, Nag_Perturb jobp, int m, int n, [In,Out] double[] a, int pda, [Out] double[] sva, [Out] double[] u, int pdu, [Out] double[] v, int pdv, [Out] double[] work, [Out] int[] iwork, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kjc")] public static extern void nag_dgesvj( Nag_OrderType order, Nag_MatrixType joba, Nag_LeftVecsType jobu, Nag_RightVecsType jobv, int m, int n, [In,Out] double[] a, int pda, [Out] double[] sva, int mv, [In,Out] double[] v, int pdv, [In,Out] double[] work, int lwork, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kjc( Nag_OrderType order, Nag_MatrixType joba, Nag_LeftVecsType jobu, Nag_RightVecsType jobv, int m, int n, [In,Out] double[] a, int pda, [Out] double[] sva, int mv, [In,Out] double[] v, int pdv, [In,Out] double[] work, int lwork, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08knc")] public static extern void nag_zgelss( Nag_OrderType order, int m, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] double[] s, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08knc( Nag_OrderType order, int m, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] double[] s, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kpc")] public static extern void nag_zgesvd( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVTType jobvt, int m, int n, [In,Out] Complex[] a, int pda, [Out] double[] s, [Out] Complex[] u, int pdu, [Out] Complex[] vt, int pdvt, [Out] double[] rwork, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kpc( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVTType jobvt, int m, int n, [In,Out] Complex[] a, int pda, [Out] double[] s, [Out] Complex[] u, int pdu, [Out] Complex[] vt, int pdvt, [Out] double[] rwork, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kqc")] public static extern void nag_zgelsd( Nag_OrderType order, int m, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] double[] s, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kqc( Nag_OrderType order, int m, int n, int nrhs, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] double[] s, double rcond, ref int rank, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08krc")] public static extern void nag_zgesdd( Nag_OrderType order, Nag_JobType job, int m, int n, [In,Out] Complex[] a, int pda, [Out] double[] s, [Out] Complex[] u, int pdu, [Out] Complex[] vt, int pdvt, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08krc( Nag_OrderType order, Nag_JobType job, int m, int n, [In,Out] Complex[] a, int pda, [Out] double[] s, [Out] Complex[] u, int pdu, [Out] Complex[] vt, int pdvt, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ksc")] public static extern void nag_zgebrd( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] double[] d, [Out] double[] e, [Out] Complex[] tauq, [Out] Complex[] taup, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ksc( Nag_OrderType order, int m, int n, [In,Out] Complex[] a, int pda, [Out] double[] d, [Out] double[] e, [Out] Complex[] tauq, [Out] Complex[] taup, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ktc")] public static extern void nag_zungbr( Nag_OrderType order, Nag_VectType vect, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ktc( Nag_OrderType order, Nag_VectType vect, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08kuc")] public static extern void nag_zunmbr( Nag_OrderType order, Nag_VectType vect, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08kuc( Nag_OrderType order, Nag_VectType vect, Nag_SideType side, Nag_TransType trans, int m, int n, int k, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08lec")] public static extern void nag_dgbbrd( Nag_OrderType order, Nag_VectType vect, int m, int n, int ncc, int kl, int ku, [In,Out] double[] ab, int pdab, [Out] double[] d, [Out] double[] e, [Out] double[] q, int pdq, [Out] double[] pt, int pdpt, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08lec( Nag_OrderType order, Nag_VectType vect, int m, int n, int ncc, int kl, int ku, [In,Out] double[] ab, int pdab, [Out] double[] d, [Out] double[] e, [Out] double[] q, int pdq, [Out] double[] pt, int pdpt, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08lsc")] public static extern void nag_zgbbrd( Nag_OrderType order, Nag_VectType vect, int m, int n, int ncc, int kl, int ku, [In,Out] Complex[] ab, int pdab, [Out] double[] d, [Out] double[] e, [Out] Complex[] q, int pdq, [Out] Complex[] pt, int pdpt, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08lsc( Nag_OrderType order, Nag_VectType vect, int m, int n, int ncc, int kl, int ku, [In,Out] Complex[] ab, int pdab, [Out] double[] d, [Out] double[] e, [Out] Complex[] q, int pdq, [Out] Complex[] pt, int pdpt, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08mdc")] public static extern void nag_dbdsdc( Nag_OrderType order, Nag_UploType uplo, Nag_ComputeSingularVecsType compq, int n, [In,Out] double[] d, [In,Out] double[] e, [Out] double[] u, int pdu, [Out] double[] vt, int pdvt, [Out] double[] q, [Out] int[] iq, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08mdc( Nag_OrderType order, Nag_UploType uplo, Nag_ComputeSingularVecsType compq, int n, [In,Out] double[] d, [In,Out] double[] e, [Out] double[] u, int pdu, [Out] double[] vt, int pdvt, [Out] double[] q, [Out] int[] iq, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08mec")] public static extern void nag_dbdsqr( Nag_OrderType order, Nag_UploType uplo, int n, int ncvt, int nru, int ncc, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] vt, int pdvt, [In,Out] double[] u, int pdu, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08mec( Nag_OrderType order, Nag_UploType uplo, int n, int ncvt, int nru, int ncc, [In,Out] double[] d, [In,Out] double[] e, [In,Out] double[] vt, int pdvt, [In,Out] double[] u, int pdu, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08msc")] public static extern void nag_zbdsqr( Nag_OrderType order, Nag_UploType uplo, int n, int ncvt, int nru, int ncc, [In,Out] double[] d, [In,Out] double[] e, [In,Out] Complex[] vt, int pdvt, [In,Out] Complex[] u, int pdu, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08msc( Nag_OrderType order, Nag_UploType uplo, int n, int ncvt, int nru, int ncc, [In,Out] double[] d, [In,Out] double[] e, [In,Out] Complex[] vt, int pdvt, [In,Out] Complex[] u, int pdu, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08nac")] public static extern void nag_dgeev( Nag_OrderType order, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, int n, [In,Out] double[] a, int pda, [Out] double[] wr, [Out] double[] wi, [Out] double[] vl, int pdvl, [Out] double[] vr, int pdvr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08nac( Nag_OrderType order, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, int n, [In,Out] double[] a, int pda, [Out] double[] wr, [Out] double[] wi, [Out] double[] vl, int pdvl, [Out] double[] vr, int pdvr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08nbc")] public static extern void nag_dgeevx( Nag_OrderType order, Nag_BalanceType balanc, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, Nag_RCondType sense, int n, [In,Out] double[] a, int pda, [Out] double[] wr, [Out] double[] wi, [Out] double[] vl, int pdvl, [Out] double[] vr, int pdvr, ref int ilo, ref int ihi, [Out] double[] dnscale, ref double abnrm, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08nbc( Nag_OrderType order, Nag_BalanceType balanc, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, Nag_RCondType sense, int n, [In,Out] double[] a, int pda, [Out] double[] wr, [Out] double[] wi, [Out] double[] vl, int pdvl, [Out] double[] vr, int pdvr, ref int ilo, ref int ihi, [Out] double[] dnscale, ref double abnrm, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08nec")] public static extern void nag_dgehrd( Nag_OrderType order, int n, int ilo, int ihi, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08nec( Nag_OrderType order, int n, int ilo, int ihi, [In,Out] double[] a, int pda, [Out] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08nfc")] public static extern void nag_dorghr( Nag_OrderType order, int n, int ilo, int ihi, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08nfc( Nag_OrderType order, int n, int ilo, int ihi, [In,Out] double[] a, int pda, [In] double[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ngc")] public static extern void nag_dormhr( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int ilo, int ihi, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ngc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int ilo, int ihi, [In,Out] double[] a, int pda, [In] double[] tau, [In,Out] double[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08nhc")] public static extern void nag_dgebal( Nag_OrderType order, Nag_JobType job, int n, [In,Out] double[] a, int pda, ref int ilo, ref int ihi, [Out] double[] dnscale, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08nhc( Nag_OrderType order, Nag_JobType job, int n, [In,Out] double[] a, int pda, ref int ilo, ref int ihi, [Out] double[] dnscale, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08njc")] public static extern void nag_dgebak( Nag_OrderType order, Nag_JobType job, Nag_SideType side, int n, int ilo, int ihi, [In] double[] dnscale, int m, [In,Out] double[] v, int pdv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08njc( Nag_OrderType order, Nag_JobType job, Nag_SideType side, int n, int ilo, int ihi, [In] double[] dnscale, int m, [In,Out] double[] v, int pdv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08nnc")] public static extern void nag_zgeev( Nag_OrderType order, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] w, [Out] Complex[] vl, int pdvl, [Out] Complex[] vr, int pdvr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08nnc( Nag_OrderType order, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] w, [Out] Complex[] vl, int pdvl, [Out] Complex[] vr, int pdvr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08npc")] public static extern void nag_zgeevx( Nag_OrderType order, Nag_BalanceType balanc, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, Nag_RCondType sense, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] w, [Out] Complex[] vl, int pdvl, [Out] Complex[] vr, int pdvr, ref int ilo, ref int ihi, [Out] double[] dnscale, ref double abnrm, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08npc( Nag_OrderType order, Nag_BalanceType balanc, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, Nag_RCondType sense, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] w, [Out] Complex[] vl, int pdvl, [Out] Complex[] vr, int pdvr, ref int ilo, ref int ihi, [Out] double[] dnscale, ref double abnrm, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08nsc")] public static extern void nag_zgehrd( Nag_OrderType order, int n, int ilo, int ihi, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08nsc( Nag_OrderType order, int n, int ilo, int ihi, [In,Out] Complex[] a, int pda, [Out] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ntc")] public static extern void nag_zunghr( Nag_OrderType order, int n, int ilo, int ihi, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ntc( Nag_OrderType order, int n, int ilo, int ihi, [In,Out] Complex[] a, int pda, [In] Complex[] tau, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08nuc")] public static extern void nag_zunmhr( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int ilo, int ihi, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08nuc( Nag_OrderType order, Nag_SideType side, Nag_TransType trans, int m, int n, int ilo, int ihi, [In,Out] Complex[] a, int pda, [In] Complex[] tau, [In,Out] Complex[] c, int pdc, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08nvc")] public static extern void nag_zgebal( Nag_OrderType order, Nag_JobType job, int n, [In,Out] Complex[] a, int pda, ref int ilo, ref int ihi, [Out] double[] dnscale, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08nvc( Nag_OrderType order, Nag_JobType job, int n, [In,Out] Complex[] a, int pda, ref int ilo, ref int ihi, [Out] double[] dnscale, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08nwc")] public static extern void nag_zgebak( Nag_OrderType order, Nag_JobType job, Nag_SideType side, int n, int ilo, int ihi, [In] double[] dnscale, int m, [In,Out] Complex[] v, int pdv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08nwc( Nag_OrderType order, Nag_JobType job, Nag_SideType side, int n, int ilo, int ihi, [In] double[] dnscale, int m, [In,Out] Complex[] v, int pdv, ref NagError info ); public delegate bool nag_dgees_sel_DELEGATE( double wr, double wi ); [DllImport("CLW3223DA_nag.dll")] public static extern bool F08PAZ( double wr, double wi ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08pac")] public static extern void nag_dgees( Nag_OrderType order, Nag_JobType jobvs, Nag_SortEigValsType sort, nag_dgees_sel_DELEGATE sel, int n, [In,Out] double[] a, int pda, ref int sdim, [Out] double[] wr, [Out] double[] wi, [Out] double[] vs, int pdvs, ref NagError info ); public delegate bool f08pac_sel_DELEGATE( double wr, double wi ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08pac( Nag_OrderType order, Nag_JobType jobvs, Nag_SortEigValsType sort, f08pac_sel_DELEGATE sel, int n, [In,Out] double[] a, int pda, ref int sdim, [Out] double[] wr, [Out] double[] wi, [Out] double[] vs, int pdvs, ref NagError info ); public delegate bool nag_dgeesx_sel_DELEGATE( double wr, double wi ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08pbc")] public static extern void nag_dgeesx( Nag_OrderType order, Nag_JobType jobvs, Nag_SortEigValsType sort, nag_dgeesx_sel_DELEGATE sel, Nag_RCondType sense, int n, [In,Out] double[] a, int pda, ref int sdim, [Out] double[] wr, [Out] double[] wi, [Out] double[] vs, int pdvs, ref double rconde, ref double rcondv, ref NagError info ); public delegate bool f08pbc_sel_DELEGATE( double wr, double wi ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08pbc( Nag_OrderType order, Nag_JobType jobvs, Nag_SortEigValsType sort, f08pbc_sel_DELEGATE sel, Nag_RCondType sense, int n, [In,Out] double[] a, int pda, ref int sdim, [Out] double[] wr, [Out] double[] wi, [Out] double[] vs, int pdvs, ref double rconde, ref double rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08pec")] public static extern void nag_dhseqr( Nag_OrderType order, Nag_JobType job, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] double[] h, int pdh, [Out] double[] wr, [Out] double[] wi, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08pec( Nag_OrderType order, Nag_JobType job, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] double[] h, int pdh, [Out] double[] wr, [Out] double[] wi, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08pkc")] public static extern void nag_dhsein( Nag_OrderType order, Nag_SideType side, Nag_EigValsSourceType eig_source, Nag_InitVeenumtype initv, [In,Out] Nag_Boolean[] sel, int n, [In] double[] h, int pdh, [In,Out] double[] wr, [In] double[] wi, [In,Out] double[] vl, int pdvl, [In,Out] double[] vr, int pdvr, int mm, ref int m, [Out] int[] ifaill, [Out] int[] ifailr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08pkc( Nag_OrderType order, Nag_SideType side, Nag_EigValsSourceType eig_source, Nag_InitVeenumtype initv, [In,Out] Nag_Boolean[] sel, int n, [In] double[] h, int pdh, [In,Out] double[] wr, [In] double[] wi, [In,Out] double[] vl, int pdvl, [In,Out] double[] vr, int pdvr, int mm, ref int m, [Out] int[] ifaill, [Out] int[] ifailr, ref NagError info ); public delegate bool nag_zgees_sel_DELEGATE( Complex w ); [DllImport("CLW3223DA_nag.dll")] public static extern bool F08PNZ( Complex w ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08pnc")] public static extern void nag_zgees( Nag_OrderType order, Nag_JobType jobvs, Nag_SortEigValsType sort, nag_zgees_sel_DELEGATE sel, int n, [In,Out] Complex[] a, int pda, ref int sdim, [Out] Complex[] w, [Out] Complex[] vs, int pdvs, ref NagError info ); public delegate bool f08pnc_sel_DELEGATE( Complex w ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08pnc( Nag_OrderType order, Nag_JobType jobvs, Nag_SortEigValsType sort, f08pnc_sel_DELEGATE sel, int n, [In,Out] Complex[] a, int pda, ref int sdim, [Out] Complex[] w, [Out] Complex[] vs, int pdvs, ref NagError info ); public delegate bool nag_zgeesx_sel_DELEGATE( Complex w ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ppc")] public static extern void nag_zgeesx( Nag_OrderType order, Nag_JobType jobvs, Nag_SortEigValsType sort, nag_zgeesx_sel_DELEGATE sel, Nag_RCondType sense, int n, [In,Out] Complex[] a, int pda, ref int sdim, [Out] Complex[] w, [Out] Complex[] vs, int pdvs, ref double rconde, ref double rcondv, ref NagError info ); public delegate bool f08ppc_sel_DELEGATE( Complex w ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ppc( Nag_OrderType order, Nag_JobType jobvs, Nag_SortEigValsType sort, f08ppc_sel_DELEGATE sel, Nag_RCondType sense, int n, [In,Out] Complex[] a, int pda, ref int sdim, [Out] Complex[] w, [Out] Complex[] vs, int pdvs, ref double rconde, ref double rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08psc")] public static extern void nag_zhseqr( Nag_OrderType order, Nag_JobType job, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] Complex[] h, int pdh, [Out] Complex[] w, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08psc( Nag_OrderType order, Nag_JobType job, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] Complex[] h, int pdh, [Out] Complex[] w, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08pxc")] public static extern void nag_zhsein( Nag_OrderType order, Nag_SideType side, Nag_EigValsSourceType eig_source, Nag_InitVeenumtype initv, [In] Nag_Boolean[] sel, int n, [In] Complex[] h, int pdh, [In,Out] Complex[] w, [In,Out] Complex[] vl, int pdvl, [In,Out] Complex[] vr, int pdvr, int mm, ref int m, [Out] int[] ifaill, [Out] int[] ifailr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08pxc( Nag_OrderType order, Nag_SideType side, Nag_EigValsSourceType eig_source, Nag_InitVeenumtype initv, [In] Nag_Boolean[] sel, int n, [In] Complex[] h, int pdh, [In,Out] Complex[] w, [In,Out] Complex[] vl, int pdvl, [In,Out] Complex[] vr, int pdvr, int mm, ref int m, [Out] int[] ifaill, [Out] int[] ifailr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08qfc")] public static extern void nag_dtrexc( Nag_OrderType order, Nag_ComputeQType compq, int n, [In,Out] double[] t, int pdt, [In,Out] double[] q, int pdq, ref int ifst, ref int ilst, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08qfc( Nag_OrderType order, Nag_ComputeQType compq, int n, [In,Out] double[] t, int pdt, [In,Out] double[] q, int pdq, ref int ifst, ref int ilst, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08qgc")] public static extern void nag_dtrsen( Nag_OrderType order, Nag_JobType job, Nag_ComputeQType compq, [In] Nag_Boolean[] sel, int n, [In,Out] double[] t, int pdt, [In,Out] double[] q, int pdq, [Out] double[] wr, [Out] double[] wi, ref int m, ref double s, ref double sep, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08qgc( Nag_OrderType order, Nag_JobType job, Nag_ComputeQType compq, [In] Nag_Boolean[] sel, int n, [In,Out] double[] t, int pdt, [In,Out] double[] q, int pdq, [Out] double[] wr, [Out] double[] wi, ref int m, ref double s, ref double sep, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08qhc")] public static extern void nag_dtrsyl( Nag_OrderType order, Nag_TransType trana, Nag_TransType tranb, Nag_SignType sign, int m, int n, [In] double[] a, int pda, [In] double[] b, int pdb, [In,Out] double[] c, int pdc, ref double dnscale, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08qhc( Nag_OrderType order, Nag_TransType trana, Nag_TransType tranb, Nag_SignType sign, int m, int n, [In] double[] a, int pda, [In] double[] b, int pdb, [In,Out] double[] c, int pdc, ref double dnscale, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08qkc")] public static extern void nag_dtrevc( Nag_OrderType order, Nag_SideType side, Nag_HowManyType how_many, [In,Out] Nag_Boolean[] sel, int n, [In] double[] t, int pdt, [In,Out] double[] vl, int pdvl, [In,Out] double[] vr, int pdvr, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08qkc( Nag_OrderType order, Nag_SideType side, Nag_HowManyType how_many, [In,Out] Nag_Boolean[] sel, int n, [In] double[] t, int pdt, [In,Out] double[] vl, int pdvl, [In,Out] double[] vr, int pdvr, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08qlc")] public static extern void nag_dtrsna( Nag_OrderType order, Nag_JobType job, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In] double[] t, int pdt, [In] double[] vl, int pdvl, [In] double[] vr, int pdvr, [Out] double[] s, [Out] double[] sep, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08qlc( Nag_OrderType order, Nag_JobType job, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In] double[] t, int pdt, [In] double[] vl, int pdvl, [In] double[] vr, int pdvr, [Out] double[] s, [Out] double[] sep, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08qtc")] public static extern void nag_ztrexc( Nag_OrderType order, Nag_ComputeQType compq, int n, [In,Out] Complex[] t, int pdt, [In,Out] Complex[] q, int pdq, int ifst, int ilst, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08qtc( Nag_OrderType order, Nag_ComputeQType compq, int n, [In,Out] Complex[] t, int pdt, [In,Out] Complex[] q, int pdq, int ifst, int ilst, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08quc")] public static extern void nag_ztrsen( Nag_OrderType order, Nag_JobType job, Nag_ComputeQType compq, [In] Nag_Boolean[] sel, int n, [In,Out] Complex[] t, int pdt, [In,Out] Complex[] q, int pdq, [Out] Complex[] w, ref int m, ref double s, ref double sep, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08quc( Nag_OrderType order, Nag_JobType job, Nag_ComputeQType compq, [In] Nag_Boolean[] sel, int n, [In,Out] Complex[] t, int pdt, [In,Out] Complex[] q, int pdq, [Out] Complex[] w, ref int m, ref double s, ref double sep, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08qvc")] public static extern void nag_ztrsyl( Nag_OrderType order, Nag_TransType trana, Nag_TransType tranb, Nag_SignType sign, int m, int n, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, [In,Out] Complex[] c, int pdc, ref double scal, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08qvc( Nag_OrderType order, Nag_TransType trana, Nag_TransType tranb, Nag_SignType sign, int m, int n, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, [In,Out] Complex[] c, int pdc, ref double scal, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08qxc")] public static extern void nag_ztrevc( Nag_OrderType order, Nag_SideType side, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In,Out] Complex[] t, int pdt, [In,Out] Complex[] vl, int pdvl, [In,Out] Complex[] vr, int pdvr, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08qxc( Nag_OrderType order, Nag_SideType side, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In,Out] Complex[] t, int pdt, [In,Out] Complex[] vl, int pdvl, [In,Out] Complex[] vr, int pdvr, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08qyc")] public static extern void nag_ztrsna( Nag_OrderType order, Nag_JobType job, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In] Complex[] t, int pdt, [In] Complex[] vl, int pdvl, [In] Complex[] vr, int pdvr, [Out] double[] s, [Out] double[] sep, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08qyc( Nag_OrderType order, Nag_JobType job, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In] Complex[] t, int pdt, [In] Complex[] vl, int pdvl, [In] Complex[] vr, int pdvr, [Out] double[] s, [Out] double[] sep, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08sac")] public static extern void nag_dsygv( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08sac( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08sbc")] public static extern void nag_dsygvx( Nag_OrderType order, int itype, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08sbc( Nag_OrderType order, int itype, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08scc")] public static extern void nag_dsygvd( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08scc( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08sec")] public static extern void nag_dsygst( Nag_OrderType order, Nag_ComputeType comp_type, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08sec( Nag_OrderType order, Nag_ComputeType comp_type, Nag_UploType uplo, int n, [In,Out] double[] a, int pda, [In] double[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08snc")] public static extern void nag_zhegv( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08snc( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08spc")] public static extern void nag_zhegvx( Nag_OrderType order, int itype, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08spc( Nag_OrderType order, int itype, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08sqc")] public static extern void nag_zhegvd( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08sqc( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] double[] w, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ssc")] public static extern void nag_zhegst( Nag_OrderType order, Nag_ComputeType comp_type, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ssc( Nag_OrderType order, Nag_ComputeType comp_type, Nag_UploType uplo, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08tac")] public static extern void nag_dspgv( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] ap, [In,Out] double[] bp, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08tac( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] ap, [In,Out] double[] bp, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08tbc")] public static extern void nag_dspgvx( Nag_OrderType order, int itype, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] double[] ap, [In,Out] double[] bp, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08tbc( Nag_OrderType order, int itype, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] double[] ap, [In,Out] double[] bp, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08tcc")] public static extern void nag_dspgvd( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] ap, [In,Out] double[] bp, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08tcc( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] double[] ap, [In,Out] double[] bp, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08tec")] public static extern void nag_dspgst( Nag_OrderType order, Nag_ComputeType comp_type, Nag_UploType uplo, int n, [In,Out] double[] ap, [In] double[] bp, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08tec( Nag_OrderType order, Nag_ComputeType comp_type, Nag_UploType uplo, int n, [In,Out] double[] ap, [In] double[] bp, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08tnc")] public static extern void nag_zhpgv( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In,Out] Complex[] bp, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08tnc( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In,Out] Complex[] bp, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08tpc")] public static extern void nag_zhpgvx( Nag_OrderType order, int itype, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In,Out] Complex[] bp, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08tpc( Nag_OrderType order, int itype, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In,Out] Complex[] bp, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08tqc")] public static extern void nag_zhpgvd( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In,Out] Complex[] bp, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08tqc( Nag_OrderType order, int itype, Nag_JobType job, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In,Out] Complex[] bp, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08tsc")] public static extern void nag_zhpgst( Nag_OrderType order, Nag_ComputeType comp_type, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In] Complex[] bp, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08tsc( Nag_OrderType order, Nag_ComputeType comp_type, Nag_UploType uplo, int n, [In,Out] Complex[] ap, [In] Complex[] bp, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08uac")] public static extern void nag_dsbgv( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int ka, int kb, [In,Out] double[] ab, int pdab, [In,Out] double[] bb, int pdbb, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08uac( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int ka, int kb, [In,Out] double[] ab, int pdab, [In,Out] double[] bb, int pdbb, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ubc")] public static extern void nag_dsbgvx( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, int ka, int kb, [In,Out] double[] ab, int pdab, [In,Out] double[] bb, int pdbb, [Out] double[] q, int pdq, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ubc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, int ka, int kb, [In,Out] double[] ab, int pdab, [In,Out] double[] bb, int pdbb, [Out] double[] q, int pdq, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] double[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ucc")] public static extern void nag_dsbgvd( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int ka, int kb, [In,Out] double[] ab, int pdab, [In,Out] double[] bb, int pdbb, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ucc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int ka, int kb, [In,Out] double[] ab, int pdab, [In,Out] double[] bb, int pdbb, [Out] double[] w, [Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08uec")] public static extern void nag_dsbgst( Nag_OrderType order, Nag_VectType vect, Nag_UploType uplo, int n, int ka, int kb, [In,Out] double[] ab, int pdab, [In] double[] bb, int pdbb, [Out] double[] x, int pdx, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08uec( Nag_OrderType order, Nag_VectType vect, Nag_UploType uplo, int n, int ka, int kb, [In,Out] double[] ab, int pdab, [In] double[] bb, int pdbb, [Out] double[] x, int pdx, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ufc")] public static extern void nag_dpbstf( Nag_OrderType order, Nag_UploType uplo, int n, int kb, [In,Out] double[] bb, int pdbb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ufc( Nag_OrderType order, Nag_UploType uplo, int n, int kb, [In,Out] double[] bb, int pdbb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08unc")] public static extern void nag_zhbgv( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int ka, int kb, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] bb, int pdbb, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08unc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int ka, int kb, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] bb, int pdbb, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08upc")] public static extern void nag_zhbgvx( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, int ka, int kb, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] bb, int pdbb, [Out] Complex[] q, int pdq, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08upc( Nag_OrderType order, Nag_JobType job, Nag_RangeType range, Nag_UploType uplo, int n, int ka, int kb, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] bb, int pdbb, [Out] Complex[] q, int pdq, double vl, double vu, int il, int iu, double abstol, ref int m, [Out] double[] w, [Out] Complex[] z, int pdz, [Out] int[] jfail, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08uqc")] public static extern void nag_zhbgvd( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int ka, int kb, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] bb, int pdbb, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08uqc( Nag_OrderType order, Nag_JobType job, Nag_UploType uplo, int n, int ka, int kb, [In,Out] Complex[] ab, int pdab, [In,Out] Complex[] bb, int pdbb, [Out] double[] w, [Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08usc")] public static extern void nag_zhbgst( Nag_OrderType order, Nag_VectType vect, Nag_UploType uplo, int n, int ka, int kb, [In,Out] Complex[] ab, int pdab, [In] Complex[] bb, int pdbb, [Out] Complex[] x, int pdx, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08usc( Nag_OrderType order, Nag_VectType vect, Nag_UploType uplo, int n, int ka, int kb, [In,Out] Complex[] ab, int pdab, [In] Complex[] bb, int pdbb, [Out] Complex[] x, int pdx, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08utc")] public static extern void nag_zpbstf( Nag_OrderType order, Nag_UploType uplo, int n, int kb, [In,Out] Complex[] bb, int pdbb, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08utc( Nag_OrderType order, Nag_UploType uplo, int n, int kb, [In,Out] Complex[] bb, int pdbb, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08vac")] public static extern void nag_dggsvd( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int n, int p, ref int k, ref int l, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] alpha, [Out] double[] beta, [Out] double[] u, int pdu, [Out] double[] v, int pdv, [Out] double[] q, int pdq, [Out] int[] iwork, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08vac( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int n, int p, ref int k, ref int l, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] alpha, [Out] double[] beta, [Out] double[] u, int pdu, [Out] double[] v, int pdv, [Out] double[] q, int pdq, [Out] int[] iwork, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08vec")] public static extern void nag_dggsvp( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int p, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, double tola, double tolb, ref int k, ref int l, [Out] double[] u, int pdu, [Out] double[] v, int pdv, [Out] double[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08vec( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int p, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, double tola, double tolb, ref int k, ref int l, [Out] double[] u, int pdu, [Out] double[] v, int pdv, [Out] double[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08vnc")] public static extern void nag_zggsvd( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int n, int p, ref int k, ref int l, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] double[] alpha, [Out] double[] beta, [Out] Complex[] u, int pdu, [Out] Complex[] v, int pdv, [Out] Complex[] q, int pdq, [Out] int[] iwork, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08vnc( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int n, int p, ref int k, ref int l, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] double[] alpha, [Out] double[] beta, [Out] Complex[] u, int pdu, [Out] Complex[] v, int pdv, [Out] Complex[] q, int pdq, [Out] int[] iwork, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08vsc")] public static extern void nag_zggsvp( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int p, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, double tola, double tolb, ref int k, ref int l, [Out] Complex[] u, int pdu, [Out] Complex[] v, int pdv, [Out] Complex[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08vsc( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int p, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, double tola, double tolb, ref int k, ref int l, [Out] Complex[] u, int pdu, [Out] Complex[] v, int pdv, [Out] Complex[] q, int pdq, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08wac")] public static extern void nag_dggev( Nag_OrderType order, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [Out] double[] vl, int pdvl, [Out] double[] vr, int pdvr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08wac( Nag_OrderType order, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [Out] double[] vl, int pdvl, [Out] double[] vr, int pdvr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08wbc")] public static extern void nag_dggevx( Nag_OrderType order, Nag_BalanceType balanc, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, Nag_RCondType sense, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [Out] double[] vl, int pdvl, [Out] double[] vr, int pdvr, ref int ilo, ref int ihi, [Out] double[] lscale, [Out] double[] rscale, ref double abnrm, ref double bbnrm, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08wbc( Nag_OrderType order, Nag_BalanceType balanc, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, Nag_RCondType sense, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [Out] double[] vl, int pdvl, [Out] double[] vr, int pdvr, ref int ilo, ref int ihi, [Out] double[] lscale, [Out] double[] rscale, ref double abnrm, ref double bbnrm, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08wec")] public static extern void nag_dgghrd( Nag_OrderType order, Nag_ComputeQType compq, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [In,Out] double[] q, int pdq, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08wec( Nag_OrderType order, Nag_ComputeQType compq, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [In,Out] double[] q, int pdq, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08whc")] public static extern void nag_dggbal( Nag_OrderType order, Nag_JobType job, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref int ilo, ref int ihi, [Out] double[] lscale, [Out] double[] rscale, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08whc( Nag_OrderType order, Nag_JobType job, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref int ilo, ref int ihi, [Out] double[] lscale, [Out] double[] rscale, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08wjc")] public static extern void nag_dggbak( Nag_OrderType order, Nag_JobType job, Nag_SideType side, int n, int ilo, int ihi, [In] double[] lscale, [In] double[] rscale, int m, [In,Out] double[] v, int pdv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08wjc( Nag_OrderType order, Nag_JobType job, Nag_SideType side, int n, int ilo, int ihi, [In] double[] lscale, [In] double[] rscale, int m, [In,Out] double[] v, int pdv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08wnc")] public static extern void nag_zggev( Nag_OrderType order, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] Complex[] alpha, [Out] Complex[] beta, [Out] Complex[] vl, int pdvl, [Out] Complex[] vr, int pdvr, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08wnc( Nag_OrderType order, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] Complex[] alpha, [Out] Complex[] beta, [Out] Complex[] vl, int pdvl, [Out] Complex[] vr, int pdvr, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08wpc")] public static extern void nag_zggevx( Nag_OrderType order, Nag_BalanceType balanc, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, Nag_RCondType sense, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] Complex[] alpha, [Out] Complex[] beta, [Out] Complex[] vl, int pdvl, [Out] Complex[] vr, int pdvr, ref int ilo, ref int ihi, [Out] double[] lscale, [Out] double[] rscale, ref double abnrm, ref double bbnrm, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08wpc( Nag_OrderType order, Nag_BalanceType balanc, Nag_LeftVecsType jobvl, Nag_RightVecsType jobvr, Nag_RCondType sense, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] Complex[] alpha, [Out] Complex[] beta, [Out] Complex[] vl, int pdvl, [Out] Complex[] vr, int pdvr, ref int ilo, ref int ihi, [Out] double[] lscale, [Out] double[] rscale, ref double abnrm, ref double bbnrm, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08wsc")] public static extern void nag_zgghrd( Nag_OrderType order, Nag_ComputeQType compq, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [In,Out] Complex[] q, int pdq, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08wsc( Nag_OrderType order, Nag_ComputeQType compq, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [In,Out] Complex[] q, int pdq, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08wvc")] public static extern void nag_zggbal( Nag_OrderType order, Nag_JobType job, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref int ilo, ref int ihi, [Out] double[] lscale, [Out] double[] rscale, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08wvc( Nag_OrderType order, Nag_JobType job, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref int ilo, ref int ihi, [Out] double[] lscale, [Out] double[] rscale, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08wwc")] public static extern void nag_zggbak( Nag_OrderType order, Nag_JobType job, Nag_SideType side, int n, int ilo, int ihi, [In] double[] lscale, [In] double[] rscale, int m, [In,Out] Complex[] v, int pdv, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08wwc( Nag_OrderType order, Nag_JobType job, Nag_SideType side, int n, int ilo, int ihi, [In] double[] lscale, [In] double[] rscale, int m, [In,Out] Complex[] v, int pdv, ref NagError info ); public delegate bool nag_dgges_selctg_DELEGATE( double ar, double ai, double b ); [DllImport("CLW3223DA_nag.dll")] public static extern bool F08XAZ( double ar, double ai, double b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08xac")] public static extern void nag_dgges( Nag_OrderType order, Nag_LeftVecsType jobvsl, Nag_RightVecsType jobvsr, Nag_SortEigValsType sort, nag_dgges_selctg_DELEGATE selctg, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref int sdim, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [Out] double[] vsl, int pdvsl, [Out] double[] vsr, int pdvsr, ref NagError info ); public delegate bool f08xac_selctg_DELEGATE( double ar, double ai, double b ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08xac( Nag_OrderType order, Nag_LeftVecsType jobvsl, Nag_RightVecsType jobvsr, Nag_SortEigValsType sort, f08xac_selctg_DELEGATE selctg, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref int sdim, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [Out] double[] vsl, int pdvsl, [Out] double[] vsr, int pdvsr, ref NagError info ); public delegate bool nag_dggesx_selctg_DELEGATE( double ar, double ai, double b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08xbc")] public static extern void nag_dggesx( Nag_OrderType order, Nag_LeftVecsType jobvsl, Nag_RightVecsType jobvsr, Nag_SortEigValsType sort, nag_dggesx_selctg_DELEGATE selctg, Nag_RCondType sense, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref int sdim, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [Out] double[] vsl, int pdvsl, [Out] double[] vsr, int pdvsr, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); public delegate bool f08xbc_selctg_DELEGATE( double ar, double ai, double b ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08xbc( Nag_OrderType order, Nag_LeftVecsType jobvsl, Nag_RightVecsType jobvsr, Nag_SortEigValsType sort, f08xbc_selctg_DELEGATE selctg, Nag_RCondType sense, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, ref int sdim, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [Out] double[] vsl, int pdvsl, [Out] double[] vsr, int pdvsr, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08xec")] public static extern void nag_dhgeqz( Nag_OrderType order, Nag_JobType job, Nag_ComputeQType compq, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [In,Out] double[] q, int pdq, [In,Out] double[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08xec( Nag_OrderType order, Nag_JobType job, Nag_ComputeQType compq, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [In,Out] double[] q, int pdq, [In,Out] double[] z, int pdz, ref NagError info ); public delegate bool nag_zgges_selctg_DELEGATE( Complex a, Complex b ); [DllImport("CLW3223DA_nag.dll")] public static extern bool F08XNZ( Complex a, Complex b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08xnc")] public static extern void nag_zgges( Nag_OrderType order, Nag_LeftVecsType jobvsl, Nag_RightVecsType jobvsr, Nag_SortEigValsType sort, nag_zgges_selctg_DELEGATE selctg, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref int sdim, [Out] Complex[] alpha, [Out] Complex[] beta, [Out] Complex[] vsl, int pdvsl, [Out] Complex[] vsr, int pdvsr, ref NagError info ); public delegate bool f08xnc_selctg_DELEGATE( Complex a, Complex b ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08xnc( Nag_OrderType order, Nag_LeftVecsType jobvsl, Nag_RightVecsType jobvsr, Nag_SortEigValsType sort, f08xnc_selctg_DELEGATE selctg, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref int sdim, [Out] Complex[] alpha, [Out] Complex[] beta, [Out] Complex[] vsl, int pdvsl, [Out] Complex[] vsr, int pdvsr, ref NagError info ); public delegate bool nag_zggesx_selctg_DELEGATE( Complex a, Complex b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08xpc")] public static extern void nag_zggesx( Nag_OrderType order, Nag_LeftVecsType jobvsl, Nag_RightVecsType jobvsr, Nag_SortEigValsType sort, nag_zggesx_selctg_DELEGATE selctg, Nag_RCondType sense, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref int sdim, [Out] Complex[] alpha, [Out] Complex[] beta, [Out] Complex[] vsl, int pdvsl, [Out] Complex[] vsr, int pdvsr, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); public delegate bool f08xpc_selctg_DELEGATE( Complex a, Complex b ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08xpc( Nag_OrderType order, Nag_LeftVecsType jobvsl, Nag_RightVecsType jobvsr, Nag_SortEigValsType sort, f08xpc_selctg_DELEGATE selctg, Nag_RCondType sense, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref int sdim, [Out] Complex[] alpha, [Out] Complex[] beta, [Out] Complex[] vsl, int pdvsl, [Out] Complex[] vsr, int pdvsr, [Out] double[] rconde, [Out] double[] rcondv, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08xsc")] public static extern void nag_zhgeqz( Nag_OrderType order, Nag_JobType job, Nag_ComputeQType compq, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] Complex[] alpha, [Out] Complex[] beta, [In,Out] Complex[] q, int pdq, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08xsc( Nag_OrderType order, Nag_JobType job, Nag_ComputeQType compq, Nag_ComputeZType compz, int n, int ilo, int ihi, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] Complex[] alpha, [Out] Complex[] beta, [In,Out] Complex[] q, int pdq, [In,Out] Complex[] z, int pdz, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08yec")] public static extern void nag_dtgsja( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int p, int n, int k, int l, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, double tola, double tolb, [Out] double[] alpha, [Out] double[] beta, [In,Out] double[] u, int pdu, [In,Out] double[] v, int pdv, [In,Out] double[] q, int pdq, ref int ncycle, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08yec( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int p, int n, int k, int l, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, double tola, double tolb, [Out] double[] alpha, [Out] double[] beta, [In,Out] double[] u, int pdu, [In,Out] double[] v, int pdv, [In,Out] double[] q, int pdq, ref int ncycle, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08yfc")] public static extern void nag_dtgexc( Nag_OrderType order, Nag_Boolean wantq, Nag_Boolean wantz, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [In,Out] double[] q, int pdq, [In,Out] double[] z, int pdz, ref int ifst, ref int ilst, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08yfc( Nag_OrderType order, Nag_Boolean wantq, Nag_Boolean wantz, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [In,Out] double[] q, int pdq, [In,Out] double[] z, int pdz, ref int ifst, ref int ilst, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ygc")] public static extern void nag_dtgsen( Nag_OrderType order, int ijob, Nag_Boolean wantq, Nag_Boolean wantz, [In] Nag_Boolean[] sel, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [In,Out] double[] q, int pdq, [In,Out] double[] z, int pdz, ref int m, ref double pl, ref double pr, [Out] double[] dif, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ygc( Nag_OrderType order, int ijob, Nag_Boolean wantq, Nag_Boolean wantz, [In] Nag_Boolean[] sel, int n, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [Out] double[] alphar, [Out] double[] alphai, [Out] double[] beta, [In,Out] double[] q, int pdq, [In,Out] double[] z, int pdz, ref int m, ref double pl, ref double pr, [Out] double[] dif, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08yhc")] public static extern void nag_dtgsyl( Nag_OrderType order, Nag_TransType trans, int ijob, int m, int n, [In] double[] a, int pda, [In] double[] b, int pdb, [In,Out] double[] c, int pdc, [In] double[] d, int pdd, [In] double[] e, int pde, [In,Out] double[] f, int pdf, ref double dnscale, ref double dif, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08yhc( Nag_OrderType order, Nag_TransType trans, int ijob, int m, int n, [In] double[] a, int pda, [In] double[] b, int pdb, [In,Out] double[] c, int pdc, [In] double[] d, int pdd, [In] double[] e, int pde, [In,Out] double[] f, int pdf, ref double dnscale, ref double dif, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ykc")] public static extern void nag_dtgevc( Nag_OrderType order, Nag_SideType side, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In] double[] a, int pda, [In] double[] b, int pdb, [In,Out] double[] vl, int pdvl, [In,Out] double[] vr, int pdvr, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ykc( Nag_OrderType order, Nag_SideType side, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In] double[] a, int pda, [In] double[] b, int pdb, [In,Out] double[] vl, int pdvl, [In,Out] double[] vr, int pdvr, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ylc")] public static extern void nag_dtgsna( Nag_OrderType order, Nag_JobType job, Nag_HowManyType howmny, [In] Nag_Boolean[] sel, int n, [In] double[] a, int pda, [In] double[] b, int pdb, [In] double[] vl, int pdvl, [In] double[] vr, int pdvr, [Out] double[] s, [Out] double[] dif, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ylc( Nag_OrderType order, Nag_JobType job, Nag_HowManyType howmny, [In] Nag_Boolean[] sel, int n, [In] double[] a, int pda, [In] double[] b, int pdb, [In] double[] vl, int pdvl, [In] double[] vr, int pdvr, [Out] double[] s, [Out] double[] dif, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ysc")] public static extern void nag_ztgsja( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int p, int n, int k, int l, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, double tola, double tolb, [Out] double[] alpha, [Out] double[] beta, [In,Out] Complex[] u, int pdu, [In,Out] Complex[] v, int pdv, [In,Out] Complex[] q, int pdq, ref int ncycle, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ysc( Nag_OrderType order, Nag_ComputeUType jobu, Nag_ComputeVType jobv, Nag_ComputeQType jobq, int m, int p, int n, int k, int l, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, double tola, double tolb, [Out] double[] alpha, [Out] double[] beta, [In,Out] Complex[] u, int pdu, [In,Out] Complex[] v, int pdv, [In,Out] Complex[] q, int pdq, ref int ncycle, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ytc")] public static extern void nag_ztgexc( Nag_OrderType order, Nag_Boolean wantq, Nag_Boolean wantz, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [In,Out] Complex[] q, int pdq, [In,Out] Complex[] z, int pdz, int ifst, ref int ilst, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ytc( Nag_OrderType order, Nag_Boolean wantq, Nag_Boolean wantz, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [In,Out] Complex[] q, int pdq, [In,Out] Complex[] z, int pdz, int ifst, ref int ilst, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08yuc")] public static extern void nag_ztgsen( Nag_OrderType order, int ijob, Nag_Boolean wantq, Nag_Boolean wantz, [In] Nag_Boolean[] sel, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] Complex[] alpha, [Out] Complex[] beta, [In,Out] Complex[] q, int pdq, [In,Out] Complex[] z, int pdz, ref int m, ref double pl, ref double pr, [Out] double[] dif, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08yuc( Nag_OrderType order, int ijob, Nag_Boolean wantq, Nag_Boolean wantz, [In] Nag_Boolean[] sel, int n, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [Out] Complex[] alpha, [Out] Complex[] beta, [In,Out] Complex[] q, int pdq, [In,Out] Complex[] z, int pdz, ref int m, ref double pl, ref double pr, [Out] double[] dif, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08yvc")] public static extern void nag_ztgsyl( Nag_OrderType order, Nag_TransType trans, int ijob, int m, int n, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, [In,Out] Complex[] c, int pdc, [In] Complex[] d, int pdd, [In] Complex[] e, int pde, [In,Out] Complex[] f, int pdf, ref double dnscale, ref double dif, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08yvc( Nag_OrderType order, Nag_TransType trans, int ijob, int m, int n, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, [In,Out] Complex[] c, int pdc, [In] Complex[] d, int pdd, [In] Complex[] e, int pde, [In,Out] Complex[] f, int pdf, ref double dnscale, ref double dif, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08yxc")] public static extern void nag_ztgevc( Nag_OrderType order, Nag_SideType side, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, [In,Out] Complex[] vl, int pdvl, [In,Out] Complex[] vr, int pdvr, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08yxc( Nag_OrderType order, Nag_SideType side, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, [In,Out] Complex[] vl, int pdvl, [In,Out] Complex[] vr, int pdvr, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08yyc")] public static extern void nag_ztgsna( Nag_OrderType order, Nag_JobType job, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, [In] Complex[] vl, int pdvl, [In] Complex[] vr, int pdvr, [Out] double[] s, [Out] double[] dif, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08yyc( Nag_OrderType order, Nag_JobType job, Nag_HowManyType how_many, [In] Nag_Boolean[] sel, int n, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, [In] Complex[] vl, int pdvl, [In] Complex[] vr, int pdvr, [Out] double[] s, [Out] double[] dif, int mm, ref int m, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08zac")] public static extern void nag_dgglse( Nag_OrderType order, int m, int n, int p, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [In,Out] double[] c, [In,Out] double[] d, [Out] double[] x, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08zac( Nag_OrderType order, int m, int n, int p, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [In,Out] double[] c, [In,Out] double[] d, [Out] double[] x, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08zbc")] public static extern void nag_dggglm( Nag_OrderType order, int m, int n, int p, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [In,Out] double[] d, [Out] double[] x, [Out] double[] y, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08zbc( Nag_OrderType order, int m, int n, int p, [In,Out] double[] a, int pda, [In,Out] double[] b, int pdb, [In,Out] double[] d, [Out] double[] x, [Out] double[] y, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08zec")] public static extern void nag_dggqrf( Nag_OrderType order, int n, int m, int p, [In,Out] double[] a, int pda, [Out] double[] taua, [In,Out] double[] b, int pdb, [Out] double[] taub, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08zec( Nag_OrderType order, int n, int m, int p, [In,Out] double[] a, int pda, [Out] double[] taua, [In,Out] double[] b, int pdb, [Out] double[] taub, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08zfc")] public static extern void nag_dggrqf( Nag_OrderType order, int m, int p, int n, [In,Out] double[] a, int pda, [Out] double[] taua, [In,Out] double[] b, int pdb, [Out] double[] taub, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08zfc( Nag_OrderType order, int m, int p, int n, [In,Out] double[] a, int pda, [Out] double[] taua, [In,Out] double[] b, int pdb, [Out] double[] taub, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08znc")] public static extern void nag_zgglse( Nag_OrderType order, int m, int n, int p, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [In,Out] Complex[] c, [In,Out] Complex[] d, [Out] Complex[] x, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08znc( Nag_OrderType order, int m, int n, int p, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [In,Out] Complex[] c, [In,Out] Complex[] d, [Out] Complex[] x, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08zpc")] public static extern void nag_zggglm( Nag_OrderType order, int m, int n, int p, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [In,Out] Complex[] d, [Out] Complex[] x, [Out] Complex[] y, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08zpc( Nag_OrderType order, int m, int n, int p, [In,Out] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, [In,Out] Complex[] d, [Out] Complex[] x, [Out] Complex[] y, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08zsc")] public static extern void nag_zggqrf( Nag_OrderType order, int n, int m, int p, [In,Out] Complex[] a, int pda, [Out] Complex[] taua, [In,Out] Complex[] b, int pdb, [Out] Complex[] taub, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08zsc( Nag_OrderType order, int n, int m, int p, [In,Out] Complex[] a, int pda, [Out] Complex[] taua, [In,Out] Complex[] b, int pdb, [Out] Complex[] taub, ref NagError info ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f08ztc")] public static extern void nag_zggrqf( Nag_OrderType order, int m, int p, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] taua, [In,Out] Complex[] b, int pdb, [Out] Complex[] taub, ref NagError info ); [DllImport("CLW3223DA_nag.dll")] public static extern void f08ztc( Nag_OrderType order, int m, int p, int n, [In,Out] Complex[] a, int pda, [Out] Complex[] taua, [In,Out] Complex[] b, int pdb, [Out] Complex[] taub, ref NagError info ); // chapter f11 [DllImport("CLW3223DA_nag.dll", EntryPoint="f11bdc")] public static extern void nag_sparse_nsym_basic_setup( Nag_SparseNsym_Method method, Nag_SparseNsym_PrecType precon, Nag_NormType norm, Nag_SparseNsym_Weight weight, int iterm, int n, int m, double tol, int maxitn, double anorm, double sigmax, int monit, ref int lwreq, [Out] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11bdc( Nag_SparseNsym_Method method, Nag_SparseNsym_PrecType precon, Nag_NormType norm, Nag_SparseNsym_Weight weight, int iterm, int n, int m, double tol, int maxitn, double anorm, double sigmax, int monit, ref int lwreq, [Out] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11bec")] public static extern void nag_sparse_nsym_basic_solver( ref int irevcm, [In,Out] double[] u, [In,Out] double[] v, [In] double[] wgt, [In,Out] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11bec( ref int irevcm, [In,Out] double[] u, [In,Out] double[] v, [In] double[] wgt, [In,Out] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11bfc")] public static extern void nag_sparse_nsym_basic_diagnostic( ref int itn, ref double stplhs, ref double stprhs, ref double anorm, ref double sigmax, [In] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11bfc( ref int itn, ref double stplhs, ref double stprhs, ref double anorm, ref double sigmax, [In] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11brc")] public static extern void nag_sparse_nherm_basic_setup( Nag_SparseNsym_Method method, Nag_SparseNsym_PrecType precon, Nag_NormType norm, Nag_SparseNsym_Weight weight, int iterm, int n, int m, double tol, int maxitn, double anorm, double sigmax, int monit, ref int lwreq, [Out] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11brc( Nag_SparseNsym_Method method, Nag_SparseNsym_PrecType precon, Nag_NormType norm, Nag_SparseNsym_Weight weight, int iterm, int n, int m, double tol, int maxitn, double anorm, double sigmax, int monit, ref int lwreq, [Out] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11bsc")] public static extern void nag_sparse_nherm_basic_solver( ref int irevcm, [In,Out] Complex[] u, [In,Out] Complex[] v, [In] double[] wgt, [In,Out] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11bsc( ref int irevcm, [In,Out] Complex[] u, [In,Out] Complex[] v, [In] double[] wgt, [In,Out] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11btc")] public static extern void nag_sparse_nherm_basic_diagnostic( ref int itn, ref double stplhs, ref double stprhs, ref double anorm, ref double sigmax, [In,Out] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11btc( ref int itn, ref double stplhs, ref double stprhs, ref double anorm, ref double sigmax, [In,Out] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11dac")] public static extern void nag_sparse_nsym_fac( int n, int nnz, [In,Out] double[] a, ref int la, [In,Out] int[] irow, [In,Out] int[] icol, int lfill, double dtol, Nag_SparseNsym_Piv pstrat, Nag_SparseNsym_Fact milu, [In,Out] int[] ipivp, [In,Out] int[] ipivq, [Out] int[] istr, [Out] int[] idiag, ref int nnzc, ref int npivm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11dac( int n, int nnz, [In,Out] double[] a, ref int la, [In,Out] int[] irow, [In,Out] int[] icol, int lfill, double dtol, Nag_SparseNsym_Piv pstrat, Nag_SparseNsym_Fact milu, [In,Out] int[] ipivp, [In,Out] int[] ipivq, [Out] int[] istr, [Out] int[] idiag, ref int nnzc, ref int npivm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11dbc")] public static extern void nag_sparse_nsym_precon_ilu_solve( Nag_TransType trans, int n, [In] double[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipivp, [In,Out] int[] ipivq, [In] int[] istr, [In] int[] idiag, Nag_SparseNsym_CheckData check, [In] double[] y, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11dbc( Nag_TransType trans, int n, [In] double[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipivp, [In,Out] int[] ipivq, [In] int[] istr, [In] int[] idiag, Nag_SparseNsym_CheckData check, [In] double[] y, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11dcc")] public static extern void nag_sparse_nsym_fac_sol( Nag_SparseNsym_Method method, int n, int nnz, [In] double[] a, int la, [In] int[] irow, [In] int[] icol, [In] int[] ipivp, [In] int[] ipivq, [In] int[] istr, [In] int[] idiag, [In] double[] b, int m, double tol, int maxitn, [In,Out] double[] x, ref double rnorm, ref int itn, ref Nag_Sparse_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11dcc( Nag_SparseNsym_Method method, int n, int nnz, [In] double[] a, int la, [In] int[] irow, [In] int[] icol, [In] int[] ipivp, [In] int[] ipivq, [In] int[] istr, [In] int[] idiag, [In] double[] b, int m, double tol, int maxitn, [In,Out] double[] x, ref double rnorm, ref int itn, ref Nag_Sparse_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11ddc")] public static extern void nag_sparse_nsym_precon_ssor_solve( Nag_TransType trans, int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, [In] double[] rdiag, double omega, Nag_SparseNsym_CheckData check, [In] double[] y, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11ddc( Nag_TransType trans, int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, [In] double[] rdiag, double omega, Nag_SparseNsym_CheckData check, [In] double[] y, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11dec")] public static extern void nag_sparse_nsym_sol( Nag_SparseNsym_Method method, Nag_SparseNsym_PrecType precon, int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, double omega, [In] double[] b, int m, double tol, int maxitn, [In,Out] double[] x, ref double rnorm, ref int itn, ref Nag_Sparse_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11dec( Nag_SparseNsym_Method method, Nag_SparseNsym_PrecType precon, int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, double omega, [In] double[] b, int m, double tol, int maxitn, [In,Out] double[] x, ref double rnorm, ref int itn, ref Nag_Sparse_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11dkc")] public static extern void nag_sparse_nsym_jacobi( Nag_SparseNsym_Store store, Nag_TransType trans, Nag_InitializeA init, int niter, int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, Nag_SparseNsym_CheckData check, [In] double[] b, [Out] double[] x, [In,Out] double[] diag, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11dkc( Nag_SparseNsym_Store store, Nag_TransType trans, Nag_InitializeA init, int niter, int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, Nag_SparseNsym_CheckData check, [In] double[] b, [Out] double[] x, [In,Out] double[] diag, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11dnc")] public static extern void nag_sparse_nherm_fac( int n, int nnz, [In,Out] Complex[] a, int la, [In,Out] int[] irow, [In,Out] int[] icol, int lfill, double dtol, Nag_SparseNsym_Piv pstrat, Nag_SparseNsym_Fact milu, [In,Out] int[] ipivp, [In,Out] int[] ipivq, [Out] int[] istr, [Out] int[] idiag, ref int nnzc, ref int npivm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11dnc( int n, int nnz, [In,Out] Complex[] a, int la, [In,Out] int[] irow, [In,Out] int[] icol, int lfill, double dtol, Nag_SparseNsym_Piv pstrat, Nag_SparseNsym_Fact milu, [In,Out] int[] ipivp, [In,Out] int[] ipivq, [Out] int[] istr, [Out] int[] idiag, ref int nnzc, ref int npivm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11dpc")] public static extern void nag_sparse_nherm_precon_ilu_solve( Nag_TransType trans, int n, [In] Complex[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipivp, [In,Out] int[] ipivq, [In] int[] istr, [In] int[] idiag, Nag_SparseNsym_CheckData check, [In] Complex[] y, [Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11dpc( Nag_TransType trans, int n, [In] Complex[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipivp, [In,Out] int[] ipivq, [In] int[] istr, [In] int[] idiag, Nag_SparseNsym_CheckData check, [In] Complex[] y, [Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11dqc")] public static extern void nag_sparse_nherm_fac_sol( Nag_SparseNsym_Method method, int n, int nnz, [In] Complex[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipivp, [In,Out] int[] ipivq, [In] int[] istr, [In] int[] idiag, [In] Complex[] b, int m, double tol, int maxitn, [In,Out] Complex[] x, ref double rnorm, ref int itn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11dqc( Nag_SparseNsym_Method method, int n, int nnz, [In] Complex[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipivp, [In,Out] int[] ipivq, [In] int[] istr, [In] int[] idiag, [In] Complex[] b, int m, double tol, int maxitn, [In,Out] Complex[] x, ref double rnorm, ref int itn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11drc")] public static extern void nag_sparse_nherm_precon_ssor_solve( Nag_TransType trans, int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, [In] Complex[] rdiag, double omega, Nag_SparseNsym_CheckData check, [In] Complex[] y, [Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11drc( Nag_TransType trans, int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, [In] Complex[] rdiag, double omega, Nag_SparseNsym_CheckData check, [In] Complex[] y, [Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11dsc")] public static extern void nag_sparse_nherm_sol( Nag_SparseNsym_Method method, Nag_SparseNsym_PrecType precon, int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, double omega, [In] Complex[] b, int m, double tol, int maxitn, [In,Out] Complex[] x, ref double rnorm, ref int itn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11dsc( Nag_SparseNsym_Method method, Nag_SparseNsym_PrecType precon, int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, double omega, [In] Complex[] b, int m, double tol, int maxitn, [In,Out] Complex[] x, ref double rnorm, ref int itn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11dxc")] public static extern void nag_sparse_nherm_jacobi( Nag_SparseNsym_Store store, Nag_TransType trans, Nag_InitializeA init, int niter, int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, Nag_SparseNsym_CheckData check, [In] Complex[] b, [Out] Complex[] x, [In,Out] Complex[] diag, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11dxc( Nag_SparseNsym_Store store, Nag_TransType trans, Nag_InitializeA init, int niter, int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, Nag_SparseNsym_CheckData check, [In] Complex[] b, [Out] Complex[] x, [In,Out] Complex[] diag, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11gdc")] public static extern void nag_sparse_sym_basic_setup( Nag_SparseSym_Method method, Nag_SparseSym_PrecType precon, Nag_SparseSym_Bisection sigcmp, Nag_NormType norm, Nag_SparseSym_Weight weight, int iterm, int n, double tol, int maxitn, double anorm, double sigmax, double sigtol, int maxits, int monit, ref int lwreq, [Out] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11gdc( Nag_SparseSym_Method method, Nag_SparseSym_PrecType precon, Nag_SparseSym_Bisection sigcmp, Nag_NormType norm, Nag_SparseSym_Weight weight, int iterm, int n, double tol, int maxitn, double anorm, double sigmax, double sigtol, int maxits, int monit, ref int lwreq, [Out] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11gec")] public static extern void nag_sparse_sym_basic_solver( ref int irevcm, [In,Out] double[] u, [In,Out] double[] v, [In] double[] wgt, [In,Out] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11gec( ref int irevcm, [In,Out] double[] u, [In,Out] double[] v, [In] double[] wgt, [In,Out] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11gfc")] public static extern void nag_sparse_sym_basic_diagnostic( ref int itn, ref double stplhs, ref double stprhs, ref double anorm, ref double sigmax, ref int its, ref double sigerr, [In] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11gfc( ref int itn, ref double stplhs, ref double stprhs, ref double anorm, ref double sigmax, ref int its, ref double sigerr, [In] double[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11grc")] public static extern void nag_sparse_herm_basic_setup( Nag_SparseSym_Method method, Nag_SparseSym_PrecType precon, Nag_SparseSym_Bisection sigcmp, Nag_NormType norm, Nag_SparseSym_Weight weight, int iterm, int n, double tol, int maxitn, double anorm, double sigmax, double sigtol, int maxits, int monit, ref int lwreq, [Out] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11grc( Nag_SparseSym_Method method, Nag_SparseSym_PrecType precon, Nag_SparseSym_Bisection sigcmp, Nag_NormType norm, Nag_SparseSym_Weight weight, int iterm, int n, double tol, int maxitn, double anorm, double sigmax, double sigtol, int maxits, int monit, ref int lwreq, [Out] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11gsc")] public static extern void nag_sparse_herm_basic_solver( ref int irevcm, [In,Out] Complex[] u, [In,Out] Complex[] v, [In] double[] wgt, [In,Out] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11gsc( ref int irevcm, [In,Out] Complex[] u, [In,Out] Complex[] v, [In] double[] wgt, [In,Out] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11gtc")] public static extern void nag_sparse_herm_basic_diagnostic( ref int itn, ref double stplhs, ref double stprhs, ref double anorm, ref double sigmax, ref int its, ref double sigerr, [In] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11gtc( ref int itn, ref double stplhs, ref double stprhs, ref double anorm, ref double sigmax, ref int its, ref double sigerr, [In] Complex[] work, int lwork, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11jac")] public static extern void nag_sparse_sym_chol_fac( int n, int nnz, [In,Out] double[] a, ref int la, [In,Out] int[] irow, [In,Out] int[] icol, int lfill, double dtol, Nag_SparseSym_Fact mic, double dscale, Nag_SparseSym_Piv pstrat, [In,Out] int[] ipiv, [Out] int[] istr, ref int nnzc, ref int npivm, ref Nag_Sparse_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11jac( int n, int nnz, [In,Out] double[] a, ref int la, [In,Out] int[] irow, [In,Out] int[] icol, int lfill, double dtol, Nag_SparseSym_Fact mic, double dscale, Nag_SparseSym_Piv pstrat, [In,Out] int[] ipiv, [Out] int[] istr, ref int nnzc, ref int npivm, ref Nag_Sparse_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11jbc")] public static extern void nag_sparse_sym_precon_ichol_solve( int n, [In] double[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipiv, [In] int[] istr, Nag_SparseSym_CheckData check, [In] double[] y, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11jbc( int n, [In] double[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipiv, [In] int[] istr, Nag_SparseSym_CheckData check, [In] double[] y, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11jcc")] public static extern void nag_sparse_sym_chol_sol( Nag_SparseSym_Method method, int n, int nnz, [In] double[] a, int la, [In] int[] irow, [In] int[] icol, [In] int[] ipiv, [In] int[] istr, [In] double[] b, double tol, int maxitn, [In,Out] double[] x, ref double rnorm, ref int itn, ref Nag_Sparse_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11jcc( Nag_SparseSym_Method method, int n, int nnz, [In] double[] a, int la, [In] int[] irow, [In] int[] icol, [In] int[] ipiv, [In] int[] istr, [In] double[] b, double tol, int maxitn, [In,Out] double[] x, ref double rnorm, ref int itn, ref Nag_Sparse_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11jdc")] public static extern void nag_sparse_sym_precon_ssor_solve( int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, [In] double[] rdiag, double omega, Nag_SparseSym_CheckData check, [In] double[] y, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11jdc( int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, [In] double[] rdiag, double omega, Nag_SparseSym_CheckData check, [In] double[] y, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11jec")] public static extern void nag_sparse_sym_sol( Nag_SparseSym_Method method, Nag_SparseSym_PrecType precon, int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, double omega, [In] double[] b, double tol, int maxitn, [In,Out] double[] x, ref double rnorm, ref int itn, ref Nag_Sparse_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11jec( Nag_SparseSym_Method method, Nag_SparseSym_PrecType precon, int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, double omega, [In] double[] b, double tol, int maxitn, [In,Out] double[] x, ref double rnorm, ref int itn, ref Nag_Sparse_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11jnc")] public static extern void nag_sparse_herm_chol_fac( int n, int nnz, [In,Out] Complex[] a, int la, [In,Out] int[] irow, [In,Out] int[] icol, int lfill, double dtol, Nag_SparseSym_Fact mic, double dscale, Nag_SparseSym_Piv pstrat, [In,Out] int[] ipiv, [Out] int[] istr, ref int nnzc, ref int npivm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11jnc( int n, int nnz, [In,Out] Complex[] a, int la, [In,Out] int[] irow, [In,Out] int[] icol, int lfill, double dtol, Nag_SparseSym_Fact mic, double dscale, Nag_SparseSym_Piv pstrat, [In,Out] int[] ipiv, [Out] int[] istr, ref int nnzc, ref int npivm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11jpc")] public static extern void nag_sparse_herm_precon_ichol_solve( int n, [In] Complex[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipiv, [In] int[] istr, Nag_SparseSym_CheckData check, [In] Complex[] y, [Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11jpc( int n, [In] Complex[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipiv, [In] int[] istr, Nag_SparseSym_CheckData check, [In] Complex[] y, [Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11jqc")] public static extern void nag_sparse_herm_chol_sol( Nag_SparseSym_Method method, int n, int nnz, [In] Complex[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipiv, [In] int[] istr, [In] Complex[] b, double tol, int maxitn, [In,Out] Complex[] x, ref double rnorm, ref int itn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11jqc( Nag_SparseSym_Method method, int n, int nnz, [In] Complex[] a, int la, [In] int[] irow, [In] int[] icol, [In,Out] int[] ipiv, [In] int[] istr, [In] Complex[] b, double tol, int maxitn, [In,Out] Complex[] x, ref double rnorm, ref int itn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11jrc")] public static extern void nag_sparse_herm_precon_ssor_solve( int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, [In] double[] rdiag, double omega, Nag_SparseSym_CheckData check, [In] Complex[] y, [Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11jrc( int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, [In] double[] rdiag, double omega, Nag_SparseSym_CheckData check, [In] Complex[] y, [Out] Complex[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11jsc")] public static extern void nag_sparse_herm_sol( Nag_SparseSym_Method method, Nag_SparseSym_PrecType precon, int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, double omega, [In] Complex[] b, double tol, int maxitn, [In,Out] Complex[] x, ref double rnorm, ref int itn, [Out] double[] rdiag, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11jsc( Nag_SparseSym_Method method, Nag_SparseSym_PrecType precon, int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, double omega, [In] Complex[] b, double tol, int maxitn, [In,Out] Complex[] x, ref double rnorm, ref int itn, [Out] double[] rdiag, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11mdc")] public static extern void nag_superlu_column_permutation( Nag_ColumnPermutationType spec, int n, [In] int[] icolzp, [In] int[] irowix, [In,Out] int[] iprm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11mdc( Nag_ColumnPermutationType spec, int n, [In] int[] icolzp, [In] int[] irowix, [In,Out] int[] iprm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11mec")] public static extern void nag_superlu_lu_factorize( int n, [In] int[] irowix, [In] double[] a, [In,Out] int[] iprm, double thresh, int nzlmx, ref int nzlumx, int nzumx, [Out] int[] il, [Out] double[] lval, [Out] int[] iu, [Out] double[] uval, ref int nnzl, ref int nnzu, ref double flop, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11mec( int n, [In] int[] irowix, [In] double[] a, [In,Out] int[] iprm, double thresh, int nzlmx, ref int nzlumx, int nzumx, [Out] int[] il, [Out] double[] lval, [Out] int[] iu, [Out] double[] uval, ref int nnzl, ref int nnzu, ref double flop, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11mfc")] public static extern void nag_superlu_solve_lu( Nag_OrderType order, Nag_TransType trans, int n, [In] int[] iprm, [In] int[] il, [In] double[] lval, [In] int[] iu, [In] double[] uval, int nrhs, [In,Out] double[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11mfc( Nag_OrderType order, Nag_TransType trans, int n, [In] int[] iprm, [In] int[] il, [In] double[] lval, [In] int[] iu, [In] double[] uval, int nrhs, [In,Out] double[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11mgc")] public static extern void nag_superlu_condition_number_lu( Nag_NormType norm, int n, [In] int[] il, [In] double[] lval, [In] int[] iu, [In] double[] uval, double anorm, ref double rcond, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11mgc( Nag_NormType norm, int n, [In] int[] il, [In] double[] lval, [In] int[] iu, [In] double[] uval, double anorm, ref double rcond, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11mhc")] public static extern void nag_superlu_refine_lu( Nag_OrderType order, Nag_TransType trans, int n, [In] int[] icolzp, [In] int[] irowix, [In] double[] a, [In] int[] iprm, [In] int[] il, [In] double[] lval, [In] int[] iu, [In] double[] uval, int nrhs, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11mhc( Nag_OrderType order, Nag_TransType trans, int n, [In] int[] icolzp, [In] int[] irowix, [In] double[] a, [In] int[] iprm, [In] int[] il, [In] double[] lval, [In] int[] iu, [In] double[] uval, int nrhs, [In] double[] b, int pdb, [In,Out] double[] x, int pdx, [Out] double[] ferr, [Out] double[] berr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11mkc")] public static extern void nag_superlu_matrix_product( Nag_OrderType order, Nag_TransType trans, int n, int m, double alpha, [In] int[] icolzp, [In] int[] irowix, [In] double[] a, [In] double[] b, int pdb, double beta, [In,Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11mkc( Nag_OrderType order, Nag_TransType trans, int n, int m, double alpha, [In] int[] icolzp, [In] int[] irowix, [In] double[] a, [In] double[] b, int pdb, double beta, [In,Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11mlc")] public static extern void nag_superlu_matrix_norm( Nag_NormType norm, ref double anorm, int n, [In] int[] icolzp, [In] int[] irowix, [In] double[] a, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11mlc( Nag_NormType norm, ref double anorm, int n, [In] int[] icolzp, [In] int[] irowix, [In] double[] a, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11mmc")] public static extern void nag_superlu_diagnostic_lu( int n, [In] int[] icolzp, [In] double[] a, [In] int[] iprm, [In] int[] il, [In] double[] lval, [In] int[] iu, [In] double[] uval, ref double rpg, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11mmc( int n, [In] int[] icolzp, [In] double[] a, [In] int[] iprm, [In] int[] il, [In] double[] lval, [In] int[] iu, [In] double[] uval, ref double rpg, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11xac")] public static extern void nag_sparse_nsym_matvec( Nag_TransType trans, int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, Nag_SparseNsym_CheckData check, [In] double[] x, [Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11xac( Nag_TransType trans, int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, Nag_SparseNsym_CheckData check, [In] double[] x, [Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11xec")] public static extern void nag_sparse_sym_matvec( int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, Nag_SparseSym_CheckData check, [In] double[] x, [Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11xec( int n, int nnz, [In] double[] a, [In] int[] irow, [In] int[] icol, Nag_SparseSym_CheckData check, [In] double[] x, [Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11xnc")] public static extern void nag_sparse_nherm_matvec( Nag_TransType trans, int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, Nag_SparseNsym_CheckData check, [In] Complex[] x, [Out] Complex[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11xnc( Nag_TransType trans, int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, Nag_SparseNsym_CheckData check, [In] Complex[] x, [Out] Complex[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11xsc")] public static extern void nag_sparse_herm_matvec( int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, Nag_SparseSym_CheckData check, [In] Complex[] x, [Out] Complex[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11xsc( int n, int nnz, [In] Complex[] a, [In] int[] irow, [In] int[] icol, Nag_SparseSym_CheckData check, [In] Complex[] x, [Out] Complex[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11zac")] public static extern void nag_sparse_nsym_sort( int n, ref int nnz, [In,Out] double[] a, [In,Out] int[] irow, [In,Out] int[] icol, Nag_SparseNsym_Dups dup, Nag_SparseNsym_Zeros zero, [Out] int[] istr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11zac( int n, ref int nnz, [In,Out] double[] a, [In,Out] int[] irow, [In,Out] int[] icol, Nag_SparseNsym_Dups dup, Nag_SparseNsym_Zeros zero, [Out] int[] istr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11zbc")] public static extern void nag_sparse_sym_sort( int n, ref int nnz, [In,Out] double[] a, [In,Out] int[] irow, [In,Out] int[] icol, Nag_SparseSym_Dups dup, Nag_SparseSym_Zeros zero, [Out] int[] istr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11zbc( int n, ref int nnz, [In,Out] double[] a, [In,Out] int[] irow, [In,Out] int[] icol, Nag_SparseSym_Dups dup, Nag_SparseSym_Zeros zero, [Out] int[] istr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11znc")] public static extern void nag_sparse_nherm_sort( int n, ref int nnz, [In,Out] Complex[] a, [In,Out] int[] irow, [In,Out] int[] icol, Nag_SparseNsym_Dups dup, Nag_SparseNsym_Zeros zero, [Out] int[] istr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11znc( int n, ref int nnz, [In,Out] Complex[] a, [In,Out] int[] irow, [In,Out] int[] icol, Nag_SparseNsym_Dups dup, Nag_SparseNsym_Zeros zero, [Out] int[] istr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f11zpc")] public static extern void nag_sparse_herm_sort( int n, ref int nnz, [In,Out] Complex[] a, [In,Out] int[] irow, [In,Out] int[] icol, Nag_SparseSym_Dups dup, Nag_SparseSym_Zeros zero, [Out] int[] istr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f11zpc( int n, ref int nnz, [In,Out] Complex[] a, [In,Out] int[] irow, [In,Out] int[] icol, Nag_SparseSym_Dups dup, Nag_SparseSym_Zeros zero, [Out] int[] istr, ref NagError fail ); // chapter f12 [DllImport("CLW3223DA_nag.dll", EntryPoint="f12aac")] public static extern void nag_real_sparse_eigensystem_init( int n, int nev, int ncv, [Out] int[] icomm, int licomm, [Out] double[] comm, int lcomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12aac( int n, int nev, int ncv, [Out] int[] icomm, int licomm, [Out] double[] comm, int lcomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12abc")] public static extern void nag_real_sparse_eigensystem_iter( ref int irevcm, [In,Out] double[] resid, [In,Out] double[] v, ref IntPtr xPTR, ref IntPtr yPTR, ref IntPtr mxPTR, ref int nshift, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12abc( ref int irevcm, [In,Out] double[] resid, [In,Out] double[] v, ref IntPtr xPTR, ref IntPtr yPTR, ref IntPtr mxPTR, ref int nshift, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12acc")] public static extern void nag_real_sparse_eigensystem_sol( ref int nconv, [Out] double[] dr, [Out] double[] di, [Out] double[] z, double sigmar, double sigmai, [In] double[] resid, [In,Out] double[] v, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12acc( ref int nconv, [Out] double[] dr, [Out] double[] di, [Out] double[] z, double sigmar, double sigmai, [In] double[] resid, [In,Out] double[] v, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12adc")] public static extern void nag_real_sparse_eigensystem_option( String str, [In,Out] int[] icomm, [In,Out] double[] comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12adc( String str, [In,Out] int[] icomm, [In,Out] double[] comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12aec")] public static extern void nag_real_sparse_eigensystem_monit( ref int niter, ref int nconv, [Out] double[] ritzr, [Out] double[] ritzi, [Out] double[] rzest, [In] int[] icomm, [In] double[] comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12aec( ref int niter, ref int nconv, [Out] double[] ritzr, [Out] double[] ritzi, [Out] double[] rzest, [In] int[] icomm, [In] double[] comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12afc")] public static extern void nag_real_banded_sparse_eigensystem_init( int n, int nev, int ncv, [Out] int[] icomm, int licomm, [Out] double[] comm, int lcomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12afc( int n, int nev, int ncv, [Out] int[] icomm, int licomm, [Out] double[] comm, int lcomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12agc")] public static extern void nag_real_banded_sparse_eigensystem_sol( int kl, int ku, [In] double[] ab, [In] double[] mb, double sigmar, double sigmai, ref int nconv, [Out] double[] dr, [Out] double[] di, [Out] double[] z, [In,Out] double[] resid, [Out] double[] v, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12agc( int kl, int ku, [In] double[] ab, [In] double[] mb, double sigmar, double sigmai, ref int nconv, [Out] double[] dr, [Out] double[] di, [Out] double[] z, [In,Out] double[] resid, [Out] double[] v, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12anc")] public static extern void nag_complex_sparse_eigensystem_init( int n, int nev, int ncv, [Out] int[] icomm, int licomm, [Out] Complex[] comm, int lcomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12anc( int n, int nev, int ncv, [Out] int[] icomm, int licomm, [Out] Complex[] comm, int lcomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12apc")] public static extern void nag_complex_sparse_eigensystem_iter( ref int irevcm, [In,Out] Complex[] resid, [In,Out] Complex[] v, ref IntPtr xPTR, ref IntPtr yPTR, ref IntPtr mxPTR, ref int nshift, [In,Out] Complex[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12apc( ref int irevcm, [In,Out] Complex[] resid, [In,Out] Complex[] v, ref IntPtr xPTR, ref IntPtr yPTR, ref IntPtr mxPTR, ref int nshift, [In,Out] Complex[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12aqc")] public static extern void nag_complex_sparse_eigensystem_sol( ref int nconv, [Out] Complex[] d, [Out] Complex[] z, Complex sigma, [In] Complex[] resid, [In,Out] Complex[] v, [In,Out] Complex[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12aqc( ref int nconv, [Out] Complex[] d, [Out] Complex[] z, Complex sigma, [In] Complex[] resid, [In,Out] Complex[] v, [In,Out] Complex[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12arc")] public static extern void nag_complex_sparse_eigensystem_option( String str, [In,Out] int[] icomm, [In,Out] Complex[] comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12arc( String str, [In,Out] int[] icomm, [In,Out] Complex[] comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12asc")] public static extern void nag_complex_sparse_eigensystem_monit( ref int niter, ref int nconv, [Out] Complex[] ritz, [Out] Complex[] rzest, [In] int[] icomm, [In] Complex[] comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12asc( ref int niter, ref int nconv, [Out] Complex[] ritz, [Out] Complex[] rzest, [In] int[] icomm, [In] Complex[] comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12fac")] public static extern void nag_real_symm_sparse_eigensystem_init( int n, int nev, int ncv, [Out] int[] icomm, int licomm, [Out] double[] comm, int lcomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12fac( int n, int nev, int ncv, [Out] int[] icomm, int licomm, [Out] double[] comm, int lcomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12fbc")] public static extern void nag_real_symm_sparse_eigensystem_iter( ref int irevcm, [In,Out] double[] resid, [In,Out] double[] v, ref IntPtr xPTR, ref IntPtr yPTR, ref IntPtr mxPTR, ref int nshift, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12fbc( ref int irevcm, [In,Out] double[] resid, [In,Out] double[] v, ref IntPtr xPTR, ref IntPtr yPTR, ref IntPtr mxPTR, ref int nshift, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12fcc")] public static extern void nag_real_symm_sparse_eigensystem_sol( ref int nconv, [Out] double[] d, [Out] double[] z, double sigma, [In] double[] resid, [In,Out] double[] v, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12fcc( ref int nconv, [Out] double[] d, [Out] double[] z, double sigma, [In] double[] resid, [In,Out] double[] v, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12fdc")] public static extern void nag_real_symm_sparse_eigensystem_option( String str, [In,Out] int[] icomm, [In,Out] double[] comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12fdc( String str, [In,Out] int[] icomm, [In,Out] double[] comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12fec")] public static extern void nag_real_symm_sparse_eigensystem_monit( ref int niter, ref int nconv, [Out] double[] ritz, [Out] double[] rzest, [In] int[] icomm, [In] double[] comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12fec( ref int niter, ref int nconv, [Out] double[] ritz, [Out] double[] rzest, [In] int[] icomm, [In] double[] comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12ffc")] public static extern void nag_real_symm_banded_sparse_eigensystem_init( int n, int nev, int ncv, [Out] int[] icomm, int licomm, [Out] double[] comm, int lcomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12ffc( int n, int nev, int ncv, [Out] int[] icomm, int licomm, [Out] double[] comm, int lcomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f12fgc")] public static extern void nag_real_symm_banded_sparse_eigensystem_sol( int kl, int ku, [In] double[] ab, [In] double[] mb, double sigma, ref int nconv, [Out] double[] d, [Out] double[] z, [In,Out] double[] resid, [Out] double[] v, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f12fgc( int kl, int ku, [In] double[] ab, [In] double[] mb, double sigma, ref int nconv, [Out] double[] d, [Out] double[] z, [In,Out] double[] resid, [Out] double[] v, [In,Out] double[] comm, [In,Out] int[] icomm, ref NagError fail ); // chapter f16 [DllImport("CLW3223DA_nag.dll", EntryPoint="f16dbc")] public static extern void nag_iload( int n, int alpha, [Out] int[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16dbc( int n, int alpha, [Out] int[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16dlc")] public static extern int nag_isum( int n, [In] int[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern int f16dlc( int n, [In] int[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16dnc")] public static extern void nag_imax_val( int n, [In] int[] x, int incx, ref int k, ref int i, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16dnc( int n, [In] int[] x, int incx, ref int k, ref int i, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16dpc")] public static extern void nag_imin_val( int n, [In] int[] x, int incx, ref int k, ref int i, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16dpc( int n, [In] int[] x, int incx, ref int k, ref int i, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16dqc")] public static extern void nag_iamax_val( int n, [In] int[] x, int incx, ref int k, ref int i, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16dqc( int n, [In] int[] x, int incx, ref int k, ref int i, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16drc")] public static extern void nag_iamin_val( int n, [In] int[] x, int incx, ref int k, ref int i, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16drc( int n, [In] int[] x, int incx, ref int k, ref int i, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ecc")] public static extern void nag_daxpby( int n, double alpha, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ecc( int n, double alpha, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ehc")] public static extern void nag_dwaxpby( int n, double alpha, [In] double[] x, int incx, double beta, [In] double[] y, int incy, [Out] double[] w, int incw, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ehc( int n, double alpha, [In] double[] x, int incx, double beta, [In] double[] y, int incy, [Out] double[] w, int incw, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16elc")] public static extern double nag_dsum( int n, [In] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double f16elc( int n, [In] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16fbc")] public static extern void nag_dload( int n, double alpha, [Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16fbc( int n, double alpha, [Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ghc")] public static extern void nag_zwaxpby( int n, Complex alpha, [In] Complex[] x, int incx, Complex beta, [In] Complex[] y, int incy, [Out] Complex[] w, int incw, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ghc( int n, Complex alpha, [In] Complex[] x, int incx, Complex beta, [In] Complex[] y, int incy, [Out] Complex[] w, int incw, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16glc")] public static extern Complex nag_zsum( int n, [In] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex f16glc( int n, [In] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16hbc")] public static extern void nag_zload( int n, Complex alpha, [Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16hbc( int n, Complex alpha, [Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16jnc")] public static extern void nag_dmax_val( int n, [In] double[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16jnc( int n, [In] double[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16jpc")] public static extern void nag_dmin_val( int n, [In] double[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16jpc( int n, [In] double[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16jqc")] public static extern void nag_damax_val( int n, [In] double[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16jqc( int n, [In] double[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16jrc")] public static extern void nag_damin_val( int n, [In] double[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16jrc( int n, [In] double[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16jsc")] public static extern void nag_zamax_val( int n, [In] Complex[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16jsc( int n, [In] Complex[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16jtc")] public static extern void nag_zamin_val( int n, [In] Complex[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16jtc( int n, [In] Complex[] x, int incx, ref int k, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pac")] public static extern void nag_dgemv( Nag_OrderType order, Nag_TransType trans, int m, int n, double alpha, [In] double[] a, int pda, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pac( Nag_OrderType order, Nag_TransType trans, int m, int n, double alpha, [In] double[] a, int pda, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pbc")] public static extern void nag_dgbmv( Nag_OrderType order, Nag_TransType trans, int m, int n, int kl, int ku, double alpha, [In] double[] ab, int pdab, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pbc( Nag_OrderType order, Nag_TransType trans, int m, int n, int kl, int ku, double alpha, [In] double[] ab, int pdab, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pcc")] public static extern void nag_dsymv( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] a, int pda, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pcc( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] a, int pda, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pdc")] public static extern void nag_dsbmv( Nag_OrderType order, Nag_UploType uplo, int n, int k, double alpha, [In] double[] ab, int pdab, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pdc( Nag_OrderType order, Nag_UploType uplo, int n, int k, double alpha, [In] double[] ab, int pdab, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pec")] public static extern void nag_dspmv( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] ap, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pec( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] ap, [In] double[] x, int incx, double beta, [In,Out] double[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pfc")] public static extern void nag_dtrmv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, double alpha, [In] double[] a, int pda, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pfc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, double alpha, [In] double[] a, int pda, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pgc")] public static extern void nag_dtbmv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int k, double alpha, [In] double[] ab, int pdab, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pgc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int k, double alpha, [In] double[] ab, int pdab, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16phc")] public static extern void nag_dtpmv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, double alpha, [In] double[] ap, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16phc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, double alpha, [In] double[] ap, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pjc")] public static extern void nag_dtrsv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, double alpha, [In] double[] a, int pda, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pjc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, double alpha, [In] double[] a, int pda, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pkc")] public static extern void nag_dtbsv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int k, double alpha, [In] double[] ab, int pdab, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pkc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int k, double alpha, [In] double[] ab, int pdab, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16plc")] public static extern void nag_dtpsv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, double alpha, [In] double[] ap, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16plc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, double alpha, [In] double[] ap, [In,Out] double[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pmc")] public static extern void nag_dger( Nag_OrderType order, Nag_ConjType conj, int m, int n, double alpha, [In] double[] x, int incx, [In] double[] y, int incy, double beta, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pmc( Nag_OrderType order, Nag_ConjType conj, int m, int n, double alpha, [In] double[] x, int incx, [In] double[] y, int incy, double beta, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ppc")] public static extern void nag_dsyr( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] x, int incx, double beta, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ppc( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] x, int incx, double beta, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16pqc")] public static extern void nag_dspr( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] x, int incx, double beta, [In,Out] double[] ap, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16pqc( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] x, int incx, double beta, [In,Out] double[] ap, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16prc")] public static extern void nag_dsyr2( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] x, int incx, [In] double[] y, int incy, double beta, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16prc( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] x, int incx, [In] double[] y, int incy, double beta, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16psc")] public static extern void nag_dspr2( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] x, int incx, [In] double[] y, int incy, double beta, [In,Out] double[] ap, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16psc( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] double[] x, int incx, [In] double[] y, int incy, double beta, [In,Out] double[] ap, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16qec")] public static extern void nag_dtr_copy( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, [In] double[] a, int pda, [Out] double[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16qec( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, [In] double[] a, int pda, [Out] double[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16qfc")] public static extern void nag_dge_copy( Nag_OrderType order, Nag_TransType trans, int m, int n, [In] double[] a, int pda, [Out] double[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16qfc( Nag_OrderType order, Nag_TransType trans, int m, int n, [In] double[] a, int pda, [Out] double[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16qgc")] public static extern void nag_dtr_load( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, double diag, [Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16qgc( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, double diag, [Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16qhc")] public static extern void nag_dge_load( Nag_OrderType order, int m, int n, double alpha, double diag, [Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16qhc( Nag_OrderType order, int m, int n, double alpha, double diag, [Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16rac")] public static extern void nag_dge_norm( Nag_OrderType order, Nag_NormType norm, int m, int n, [In] double[] a, int pda, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16rac( Nag_OrderType order, Nag_NormType norm, int m, int n, [In] double[] a, int pda, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16rbc")] public static extern void nag_dgb_norm( Nag_OrderType order, Nag_NormType norm, int m, int n, int kl, int ku, [In] double[] ab, int pdab, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16rbc( Nag_OrderType order, Nag_NormType norm, int m, int n, int kl, int ku, [In] double[] ab, int pdab, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16rcc")] public static extern void nag_dsy_norm( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] double[] a, int pda, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16rcc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] double[] a, int pda, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16rdc")] public static extern void nag_dsp_norm( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] double[] ap, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16rdc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] double[] ap, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16rec")] public static extern void nag_dsb_norm( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, int k, [In] double[] ab, int pdab, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16rec( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, int k, [In] double[] ab, int pdab, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16sac")] public static extern void nag_zgemv( Nag_OrderType order, Nag_TransType trans, int m, int n, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16sac( Nag_OrderType order, Nag_TransType trans, int m, int n, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16sbc")] public static extern void nag_zgbmv( Nag_OrderType order, Nag_TransType trans, int m, int n, int kl, int ku, Complex alpha, [In] Complex[] ab, int pdab, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16sbc( Nag_OrderType order, Nag_TransType trans, int m, int n, int kl, int ku, Complex alpha, [In] Complex[] ab, int pdab, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16scc")] public static extern void nag_zhemv( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16scc( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16sdc")] public static extern void nag_zhbmv( Nag_OrderType order, Nag_UploType uplo, int n, int k, Complex alpha, [In] Complex[] ab, int pdab, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16sdc( Nag_OrderType order, Nag_UploType uplo, int n, int k, Complex alpha, [In] Complex[] ab, int pdab, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16sec")] public static extern void nag_zhpmv( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] ap, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16sec( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] ap, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16sfc")] public static extern void nag_ztrmv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, Complex alpha, [In] Complex[] a, int pda, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16sfc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, Complex alpha, [In] Complex[] a, int pda, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16sgc")] public static extern void nag_ztbmv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int k, Complex alpha, [In] Complex[] ab, int pdab, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16sgc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int k, Complex alpha, [In] Complex[] ab, int pdab, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16shc")] public static extern void nag_ztpmv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, Complex alpha, [In] Complex[] ap, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16shc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, Complex alpha, [In] Complex[] ap, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16sjc")] public static extern void nag_ztrsv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, Complex alpha, [In] Complex[] a, int pda, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16sjc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, Complex alpha, [In] Complex[] a, int pda, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16skc")] public static extern void nag_ztbsv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int k, Complex alpha, [In] Complex[] ab, int pdab, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16skc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, int k, Complex alpha, [In] Complex[] ab, int pdab, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16slc")] public static extern void nag_ztpsv( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, Complex alpha, [In] Complex[] ap, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16slc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, Complex alpha, [In] Complex[] ap, [In,Out] Complex[] x, int incx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16smc")] public static extern void nag_zger( Nag_OrderType order, Nag_ConjType conj, int m, int n, Complex alpha, [In] Complex[] x, int incx, [In] Complex[] y, int incy, Complex beta, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16smc( Nag_OrderType order, Nag_ConjType conj, int m, int n, Complex alpha, [In] Complex[] x, int incx, [In] Complex[] y, int incy, Complex beta, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16spc")] public static extern void nag_zher( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] Complex[] x, int incx, double beta, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16spc( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] Complex[] x, int incx, double beta, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16sqc")] public static extern void nag_zhpr( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] Complex[] x, int incx, double beta, [In,Out] Complex[] ap, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16sqc( Nag_OrderType order, Nag_UploType uplo, int n, double alpha, [In] Complex[] x, int incx, double beta, [In,Out] Complex[] ap, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16src")] public static extern void nag_zher2( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] x, int incx, [In] Complex[] y, int incy, double beta, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16src( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] x, int incx, [In] Complex[] y, int incy, double beta, [In,Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ssc")] public static extern void nag_zhpr2( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] x, int incx, [In] Complex[] y, int incy, double beta, [In,Out] Complex[] ap, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ssc( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] x, int incx, [In] Complex[] y, int incy, double beta, [In,Out] Complex[] ap, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16tac")] public static extern void nag_zsymv( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16tac( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16tcc")] public static extern void nag_zspmv( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] ap, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16tcc( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, [In] Complex[] ap, [In] Complex[] x, int incx, Complex beta, [In,Out] Complex[] y, int incy, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16tec")] public static extern void nag_ztr_copy( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, [In] Complex[] a, int pda, [Out] Complex[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16tec( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int n, [In] Complex[] a, int pda, [Out] Complex[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16tfc")] public static extern void nag_zge_copy( Nag_OrderType order, Nag_TransType trans, int m, int n, [In] Complex[] a, int pda, [Out] Complex[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16tfc( Nag_OrderType order, Nag_TransType trans, int m, int n, [In] Complex[] a, int pda, [Out] Complex[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16tgc")] public static extern void nag_ztr_load( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, Complex diag, [Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16tgc( Nag_OrderType order, Nag_UploType uplo, int n, Complex alpha, Complex diag, [Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16thc")] public static extern void nag_zge_load( Nag_OrderType order, int m, int n, Complex alpha, Complex diag, [Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16thc( Nag_OrderType order, int m, int n, Complex alpha, Complex diag, [Out] Complex[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16uac")] public static extern void nag_zge_norm( Nag_OrderType order, Nag_NormType norm, int m, int n, [In] Complex[] a, int pda, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16uac( Nag_OrderType order, Nag_NormType norm, int m, int n, [In] Complex[] a, int pda, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ubc")] public static extern void nag_zgb_norm( Nag_OrderType order, Nag_NormType norm, int m, int n, int kl, int ku, [In] Complex[] ab, int pdab, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ubc( Nag_OrderType order, Nag_NormType norm, int m, int n, int kl, int ku, [In] Complex[] ab, int pdab, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ucc")] public static extern void nag_zhe_norm( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] Complex[] a, int pda, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ucc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] Complex[] a, int pda, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16udc")] public static extern void nag_zhp_norm( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] Complex[] ap, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16udc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] Complex[] ap, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16uec")] public static extern void nag_zhb_norm( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, int k, [In] Complex[] ab, int pdab, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16uec( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, int k, [In] Complex[] ab, int pdab, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ufc")] public static extern void nag_zsy_norm( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] Complex[] a, int pda, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ufc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] Complex[] a, int pda, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ugc")] public static extern void nag_zsp_norm( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] Complex[] ap, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ugc( Nag_OrderType order, Nag_NormType norm, Nag_UploType uplo, int n, [In] Complex[] ap, ref double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16yac")] public static extern void nag_dgemm( Nag_OrderType order, Nag_TransType transa, Nag_TransType transb, int m, int n, int k, double alpha, [In] double[] a, int pda, [In] double[] b, int pdb, double beta, [In,Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16yac( Nag_OrderType order, Nag_TransType transa, Nag_TransType transb, int m, int n, int k, double alpha, [In] double[] a, int pda, [In] double[] b, int pdb, double beta, [In,Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ycc")] public static extern void nag_dsymm( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, int m, int n, double alpha, [In] double[] a, int pda, [In] double[] b, int pdb, double beta, [In,Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ycc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, int m, int n, double alpha, [In] double[] a, int pda, [In] double[] b, int pdb, double beta, [In,Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16yfc")] public static extern void nag_dtrmm( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int m, int n, double alpha, [In] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16yfc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int m, int n, double alpha, [In] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16yjc")] public static extern void nag_dtrsm( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int m, int n, double alpha, [In] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16yjc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int m, int n, double alpha, [In] double[] a, int pda, [In,Out] double[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ypc")] public static extern void nag_dsyrk( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, double alpha, [In] double[] a, int pda, double beta, [In,Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ypc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, double alpha, [In] double[] a, int pda, double beta, [In,Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16yrc")] public static extern void nag_dsyr2k( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, double alpha, [In] double[] a, int pda, [In] double[] b, int pdb, double beta, [In,Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16yrc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, double alpha, [In] double[] a, int pda, [In] double[] b, int pdb, double beta, [In,Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16zac")] public static extern void nag_zgemm( Nag_OrderType order, Nag_TransType transa, Nag_TransType transb, int m, int n, int k, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, Complex beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16zac( Nag_OrderType order, Nag_TransType transa, Nag_TransType transb, int m, int n, int k, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, Complex beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16zcc")] public static extern void nag_zhemm( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, int m, int n, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, Complex beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16zcc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, int m, int n, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, Complex beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16zfc")] public static extern void nag_ztrmm( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int m, int n, Complex alpha, [In] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16zfc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int m, int n, Complex alpha, [In] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16zjc")] public static extern void nag_ztrsm( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int m, int n, Complex alpha, [In] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16zjc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, Nag_TransType trans, Nag_DiagType diag, int m, int n, Complex alpha, [In] Complex[] a, int pda, [In,Out] Complex[] b, int pdb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16zpc")] public static extern void nag_zherk( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, double alpha, [In] Complex[] a, int pda, double beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16zpc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, double alpha, [In] Complex[] a, int pda, double beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16zrc")] public static extern void nag_zher2k( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, double beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16zrc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, double beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16ztc")] public static extern void nag_zsymm( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, int m, int n, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, Complex beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16ztc( Nag_OrderType order, Nag_SideType side, Nag_UploType uplo, int m, int n, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, Complex beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16zuc")] public static extern void nag_zsyrk( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, Complex alpha, [In] Complex[] a, int pda, Complex beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16zuc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, Complex alpha, [In] Complex[] a, int pda, Complex beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="f16zwc")] public static extern void nag_zsyr2k( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, Complex beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void f16zwc( Nag_OrderType order, Nag_UploType uplo, Nag_TransType trans, int n, int k, Complex alpha, [In] Complex[] a, int pda, [In] Complex[] b, int pdb, Complex beta, [In,Out] Complex[] c, int pdc, ref NagError fail ); // chapter g01 [DllImport("CLW3223DA_nag.dll", EntryPoint="g01aac")] public static extern void nag_summary_stats_1var( int n, [In] double[] x, [In] double[] wt, ref int nvalid, ref double xmean, ref double xsd, ref double xskew, ref double xkurt, ref double xmin, ref double xmax, ref double wsum, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01aac( int n, [In] double[] x, [In] double[] wt, ref int nvalid, ref double xmean, ref double xsd, ref double xskew, ref double xkurt, ref double xmin, ref double xmax, ref double wsum, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01adc")] public static extern void nag_summary_stats_freq( int k, [In] double[] x, [In] int[] ifreq, ref double xmean, ref double xsd, ref double xskew, ref double xkurt, ref int n, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01adc( int k, [In] double[] x, [In] int[] ifreq, ref double xmean, ref double xsd, ref double xskew, ref double xkurt, ref int n, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01aec")] public static extern void nag_frequency_table( int n, [In] double[] x, int num_class, Nag_ClassBoundary classb, [In,Out] double[] dnint, [Out] int[] ifreq, ref double xmin, ref double xmax, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01aec( int n, [In] double[] x, int num_class, Nag_ClassBoundary classb, [In,Out] double[] dnint, [Out] int[] ifreq, ref double xmin, ref double xmax, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01alc")] public static extern void nag_5pt_summary_stats( int n, [In] double[] x, [Out] double[] res, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01alc( int n, [In] double[] x, [Out] double[] res, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01amc")] public static extern void nag_double_quantiles( int n, [In,Out] double[] rv, int nq, [In] double[] q, [Out] double[] qv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01amc( int n, [In,Out] double[] rv, int nq, [In] double[] q, [Out] double[] qv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01anc")] public static extern void nag_approx_quantiles_fixed( ref int ind, int n, [In] double[] rv, int nb, double eps, ref int np, [In] double[] q, [Out] double[] qv, int nq, [In,Out] double[] rcomm, int lrcomm, [In,Out] int[] icomm, int licomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01anc( ref int ind, int n, [In] double[] rv, int nb, double eps, ref int np, [In] double[] q, [Out] double[] qv, int nq, [In,Out] double[] rcomm, int lrcomm, [In,Out] int[] icomm, int licomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01apc")] public static extern void nag_approx_quantiles_arbitrary( ref int ind, [In] double[] rv, int nb, double eps, ref int np, [In] double[] q, [Out] double[] qv, int nq, [In,Out] double[] rcomm, int lrcomm, [In,Out] int[] icomm, int licomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01apc( ref int ind, [In] double[] rv, int nb, double eps, ref int np, [In] double[] q, [Out] double[] qv, int nq, [In,Out] double[] rcomm, int lrcomm, [In,Out] int[] icomm, int licomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01bjc")] public static extern void nag_binomial_dist( int n, double p, int k, ref double plek, ref double pgtk, ref double peqk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01bjc( int n, double p, int k, ref double plek, ref double pgtk, ref double peqk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01bkc")] public static extern void nag_poisson_dist( double rlamda, int k, ref double plek, ref double pgtk, ref double peqk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01bkc( double rlamda, int k, ref double plek, ref double pgtk, ref double peqk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01blc")] public static extern void nag_hypergeom_dist( int n, int l, int m, int k, ref double plek, ref double pgtk, ref double peqk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01blc( int n, int l, int m, int k, ref double plek, ref double pgtk, ref double peqk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01cec")] public static extern double nag_deviates_normal_dist( double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01cec( double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01dac")] public static extern void nag_normal_scores_exact( int n, [Out] double[] pp, double etol, ref double errest, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01dac( int n, [Out] double[] pp, double etol, ref double errest, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01dcc")] public static extern void nag_normal_scores_var( int n, double exp1, double exp2, double sumssq, [Out] double[] vec, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01dcc( int n, double exp1, double exp2, double sumssq, [Out] double[] vec, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01ddc")] public static extern void nag_shapiro_wilk_test( int n, [In] double[] x, Nag_Boolean calc_wts, [In,Out] double[] a, ref double w, ref double pw, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01ddc( int n, [In] double[] x, Nag_Boolean calc_wts, [In,Out] double[] a, ref double w, ref double pw, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01dhc")] public static extern void nag_ranks_and_scores( Nag_Scores scores, Nag_Ties ties, int n, [In] double[] x, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01dhc( Nag_Scores scores, Nag_Ties ties, int n, [In] double[] x, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01eac")] public static extern double nag_prob_normal( Nag_TailProbability tail, double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01eac( Nag_TailProbability tail, double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01ebc")] public static extern double nag_prob_students_t( Nag_TailProbability tail, double t, double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01ebc( Nag_TailProbability tail, double t, double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01ecc")] public static extern double nag_prob_chi_sq( Nag_TailProbability tail, double x, double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01ecc( Nag_TailProbability tail, double x, double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01edc")] public static extern double nag_prob_f_dist( Nag_TailProbability tail, double f, double df1, double df2, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01edc( Nag_TailProbability tail, double f, double df1, double df2, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01eec")] public static extern void nag_prob_beta_dist( double x, double a, double b, double tol, ref double p, ref double q, ref double pdf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01eec( double x, double a, double b, double tol, ref double p, ref double q, ref double pdf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01efc")] public static extern double nag_gamma_dist( Nag_TailProbability tail, double g, double a, double b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01efc( Nag_TailProbability tail, double g, double a, double b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01emc")] public static extern double nag_prob_studentized_range( double q, double v, int ir, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01emc( double q, double v, int ir, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01epc")] public static extern void nag_prob_durbin_watson( int n, int ip, double d, ref double pdl, ref double pdu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01epc( int n, int ip, double d, ref double pdl, ref double pdu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01erc")] public static extern double nag_prob_von_mises( double t, double vk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01erc( double t, double vk, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01etc")] public static extern double nag_prob_landau( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01etc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01euc")] public static extern double nag_prob_vavilov( double x, [In] double[] comm_arr ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01euc( double x, [In] double[] comm_arr ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01eyc")] public static extern double nag_prob_1_sample_ks( int n, double d, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01eyc( int n, double d, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01ezc")] public static extern double nag_prob_2_sample_ks( int n1, int n2, double d, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01ezc( int n1, int n2, double d, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01fac")] public static extern double nag_deviates_normal( Nag_TailProbability tail, double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01fac( Nag_TailProbability tail, double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01fbc")] public static extern double nag_deviates_students_t( Nag_TailProbability tail, double p, double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01fbc( Nag_TailProbability tail, double p, double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01fcc")] public static extern double nag_deviates_chi_sq( double p, double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01fcc( double p, double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01fdc")] public static extern double nag_deviates_f_dist( double p, double df1, double df2, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01fdc( double p, double df1, double df2, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01fec")] public static extern double nag_deviates_beta( double p, double a, double b, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01fec( double p, double a, double b, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01ffc")] public static extern double nag_deviates_gamma_dist( double p, double a, double b, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01ffc( double p, double a, double b, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01fmc")] public static extern double nag_deviates_studentized_range( double p, double v, int ir, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01fmc( double p, double v, int ir, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01ftc")] public static extern double nag_deviates_landau( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01ftc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01gbc")] public static extern double nag_prob_non_central_students_t( double t, double df, double delta, double tol, int max_iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01gbc( double t, double df, double delta, double tol, int max_iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01gcc")] public static extern double nag_prob_non_central_chi_sq( double x, double df, double lambda, double tol, int max_iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01gcc( double x, double df, double lambda, double tol, int max_iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01gdc")] public static extern double nag_prob_non_central_f_dist( double f, double df1, double df2, double lambda, double tol, int max_iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01gdc( double f, double df1, double df2, double lambda, double tol, int max_iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01gec")] public static extern double nag_prob_non_central_beta_dist( double x, double a, double b, double lambda, double tol, int max_iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01gec( double x, double a, double b, double lambda, double tol, int max_iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01hac")] public static extern double nag_bivariate_normal_dist( double x, double y, double rho, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01hac( double x, double y, double rho, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01hbc")] public static extern double nag_multi_normal( Nag_TailProbability tail, int n, [In] double[] a, [In] double[] b, [In] double[] mean, [In] double[] sigma, int tdsig, double tol, int maxpts, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01hbc( Nag_TailProbability tail, int n, [In] double[] a, [In] double[] b, [In] double[] mean, [In] double[] sigma, int tdsig, double tol, int maxpts, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01hcc")] public static extern double nag_bivariate_students_t( Nag_TailProbability tail, [In] double[] a, [In] double[] b, int df, double rho, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01hcc( Nag_TailProbability tail, [In] double[] a, [In] double[] b, int df, double rho, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01jcc")] public static extern void nag_prob_lin_non_central_chi_sq( [In] double[] a, [In] int[] mult, [In] double[] rlamda, int n, double c, ref double p, ref double pdf, double tol, int maxit, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01jcc( [In] double[] a, [In] int[] mult, [In] double[] rlamda, int n, double c, ref double p, ref double pdf, double tol, int maxit, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01jdc")] public static extern void nag_prob_lin_chi_sq( Nag_LCCMethod method, int n, [In] double[] rlam, double d, double c, ref double prob, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01jdc( Nag_LCCMethod method, int n, [In] double[] rlam, double d, double c, ref double prob, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01kac")] public static extern double nag_normal_pdf( double x, double xmean, double xstd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01kac( double x, double xmean, double xstd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01kfc")] public static extern double nag_gamma_pdf( double x, double a, double b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01kfc( double x, double a, double b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01kkc")] public static extern void nag_gamma_pdf_vector( Nag_Boolean ilog, int lx, [In] double[] x, int la, [In] double[] a, int lb, [In] double[] b, [Out] double[] pdf, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01kkc( Nag_Boolean ilog, int lx, [In] double[] x, int la, [In] double[] a, int lb, [In] double[] b, [Out] double[] pdf, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01kqc")] public static extern void nag_normal_pdf_vector( Nag_Boolean ilog, int lx, [In] double[] x, int lxmu, [In] double[] xmu, int lxstd, [In] double[] xstd, [Out] double[] pdf, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01kqc( Nag_Boolean ilog, int lx, [In] double[] x, int lxmu, [In] double[] xmu, int lxstd, [In] double[] xstd, [Out] double[] pdf, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01mbc")] public static extern double nag_mills_ratio( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01mbc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01mtc")] public static extern double nag_prob_density_landau( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01mtc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01muc")] public static extern double nag_prob_density_vavilov( double x, [In] double[] comm_arr ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01muc( double x, [In] double[] comm_arr ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01nac")] public static extern void nag_moments_quad_form( Nag_OrderType order, Nag_SelectMoments mom, Nag_IncludeMean mean, int n, [In] double[] a, int pda, [In] double[] emu, [In] double[] sigma, int pdsig, int l, [Out] double[] rkum, [Out] double[] rmom, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01nac( Nag_OrderType order, Nag_SelectMoments mom, Nag_IncludeMean mean, int n, [In] double[] a, int pda, [In] double[] emu, [In] double[] sigma, int pdsig, int l, [Out] double[] rkum, [Out] double[] rmom, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01nbc")] public static extern void nag_moments_ratio_quad_forms( Nag_OrderType order, Nag_MomentType ratio_type, Nag_IncludeMean mean, int n, [In] double[] a, int pda, [In] double[] b, int pdb, [In] double[] c, int pdc, [In] double[] ela, [In] double[] emu, [In] double[] sigma, int pdsig, int l1, int l2, ref int lmax, [Out] double[] rmom, ref double abserr, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01nbc( Nag_OrderType order, Nag_MomentType ratio_type, Nag_IncludeMean mean, int n, [In] double[] a, int pda, [In] double[] b, int pdb, [In] double[] c, int pdc, [In] double[] ela, [In] double[] emu, [In] double[] sigma, int pdsig, int l1, int l2, ref int lmax, [Out] double[] rmom, ref double abserr, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01ptc")] public static extern double nag_moment_1_landau( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01ptc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01qtc")] public static extern double nag_moment_2_landau( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01qtc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01rtc")] public static extern double nag_prob_der_landau( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double g01rtc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01sac")] public static extern void nag_prob_normal_vector( int ltail, Nag_TailProbability tail, int lx, [In] double[] x, int lxmu, [In] double[] xmu, int lxstd, [In] double[] xstd, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01sac( int ltail, Nag_TailProbability tail, int lx, [In] double[] x, int lxmu, [In] double[] xmu, int lxstd, [In] double[] xstd, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01sbc")] public static extern void nag_prob_students_t_vector( int ltail, Nag_TailProbability tail, int lt, [In] double[] t, int ldf, [In] double[] df, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01sbc( int ltail, Nag_TailProbability tail, int lt, [In] double[] t, int ldf, [In] double[] df, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01scc")] public static extern void nag_prob_chi_sq_vector( int ltail, Nag_TailProbability tail, int lx, [In] double[] x, int ldf, [In] double[] df, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01scc( int ltail, Nag_TailProbability tail, int lx, [In] double[] x, int ldf, [In] double[] df, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01sdc")] public static extern void nag_prob_f_vector( int ltail, Nag_TailProbability tail, int lf, [In] double[] f, int ldf1, [In] double[] df1, int ldf2, [In] double[] df2, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01sdc( int ltail, Nag_TailProbability tail, int lf, [In] double[] f, int ldf1, [In] double[] df1, int ldf2, [In] double[] df2, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01sec")] public static extern void nag_prob_beta_vector( int ltail, Nag_TailProbability tail, int lbeta, [In] double[] beta, int la, [In] double[] a, int lb, [In] double[] b, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01sec( int ltail, Nag_TailProbability tail, int lbeta, [In] double[] beta, int la, [In] double[] a, int lb, [In] double[] b, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01sfc")] public static extern void nag_prob_gamma_vector( int ltail, Nag_TailProbability tail, int lg, [In] double[] g, int la, [In] double[] a, int lb, [In] double[] b, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01sfc( int ltail, Nag_TailProbability tail, int lg, [In] double[] g, int la, [In] double[] a, int lb, [In] double[] b, [Out] double[] p, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01sjc")] public static extern void nag_prob_binomial_vector( int ln, [In] int[] n, int lp, [In] double[] p, int lk, [In] int[] k, [Out] double[] plek, [Out] double[] pgtk, [Out] double[] peqk, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01sjc( int ln, [In] int[] n, int lp, [In] double[] p, int lk, [In] int[] k, [Out] double[] plek, [Out] double[] pgtk, [Out] double[] peqk, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01skc")] public static extern void nag_prob_poisson_vector( int ll, [In] double[] l, int lk, [In] int[] k, [Out] double[] plek, [Out] double[] pgtk, [Out] double[] peqk, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01skc( int ll, [In] double[] l, int lk, [In] int[] k, [Out] double[] plek, [Out] double[] pgtk, [Out] double[] peqk, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01slc")] public static extern void nag_prob_hypergeom_vector( int ln, [In] int[] n, int ll, [In] int[] l, int lm, [In] int[] m, int lk, [In] int[] k, [Out] double[] plek, [Out] double[] pgtk, [Out] double[] peqk, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01slc( int ln, [In] int[] n, int ll, [In] int[] l, int lm, [In] int[] m, int lk, [In] int[] k, [Out] double[] plek, [Out] double[] pgtk, [Out] double[] peqk, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01tac")] public static extern void nag_deviates_normal_vector( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int lxmu, [In] double[] xmu, int lxstd, [In] double[] xstd, [Out] double[] x, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01tac( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int lxmu, [In] double[] xmu, int lxstd, [In] double[] xstd, [Out] double[] x, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01tbc")] public static extern void nag_deviates_students_t_vector( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int ldf, [In] double[] df, [Out] double[] t, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01tbc( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int ldf, [In] double[] df, [Out] double[] t, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01tcc")] public static extern void nag_deviates_chi_sq_vector( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int ldf, [In] double[] df, [Out] double[] x, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01tcc( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int ldf, [In] double[] df, [Out] double[] x, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01tdc")] public static extern void nag_deviates_f_vector( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int ldf1, [In] double[] df1, int ldf2, [In] double[] df2, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01tdc( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int ldf1, [In] double[] df1, int ldf2, [In] double[] df2, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01tec")] public static extern void nag_deviates_beta_vector( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int la, [In] double[] a, int lb, [In] double[] b, double tol, [Out] double[] beta, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01tec( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int la, [In] double[] a, int lb, [In] double[] b, double tol, [Out] double[] beta, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01tfc")] public static extern void nag_deviates_gamma_vector( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int la, [In] double[] a, int lb, [In] double[] b, double tol, [Out] double[] g, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01tfc( int ltail, Nag_TailProbability tail, int lp, [In] double[] p, int la, [In] double[] a, int lb, [In] double[] b, double tol, [Out] double[] g, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g01zuc")] public static extern void nag_init_vavilov( double rkappa, double beta2, int mode, ref double xl, ref double xu, [Out] double[] comm_arr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g01zuc( double rkappa, double beta2, int mode, ref double xl, ref double xu, [Out] double[] comm_arr, ref NagError fail ); // chapter g02 [DllImport("CLW3223DA_nag.dll", EntryPoint="g02aac")] public static extern void nag_nearest_correlation( Nag_OrderType order, [In,Out] double[] g, int pdg, int n, double errtol, int maxits, int maxit, [Out] double[] x, int pdx, ref int iter, ref int feval, ref double nrmgrd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02aac( Nag_OrderType order, [In,Out] double[] g, int pdg, int n, double errtol, int maxits, int maxit, [Out] double[] x, int pdx, ref int iter, ref int feval, ref double nrmgrd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02abc")] public static extern void nag_nearest_correlation_bounded( [In,Out] double[] g, int pdg, int n, Nag_NearCorr_ProbType opt, double alpha, [In,Out] double[] w, double errtol, int maxits, int maxit, [Out] double[] x, int pdx, ref int iter, ref int feval, ref double nrmgrd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02abc( [In,Out] double[] g, int pdg, int n, Nag_NearCorr_ProbType opt, double alpha, [In,Out] double[] w, double errtol, int maxits, int maxit, [Out] double[] x, int pdx, ref int iter, ref int feval, ref double nrmgrd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02aec")] public static extern void nag_nearest_correlation_k_factor( Nag_OrderType order, [In,Out] double[] g, int pdg, int n, int k, double errtol, int maxit, [Out] double[] x, int pdx, ref int iter, ref int feval, ref double nrmpgd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02aec( Nag_OrderType order, [In,Out] double[] g, int pdg, int n, int k, double errtol, int maxit, [Out] double[] x, int pdx, ref int iter, ref int feval, ref double nrmpgd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02brc")] public static extern void nag_ken_spe_corr_coeff( int n, int m, [In] double[] x, int tdx, [In] int[] svar, [In] int[] sobs, [Out] double[] corr, int tdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02brc( int n, int m, [In] double[] x, int tdx, [In] int[] svar, [In] int[] sobs, [Out] double[] corr, int tdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02btc")] public static extern void nag_sum_sqs_update( Nag_SumSquare mean, int m, double wt, [In] double[] x, int incx, ref double sw, [In,Out] double[] xbar, [In,Out] double[] c, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02btc( Nag_SumSquare mean, int m, double wt, [In] double[] x, int incx, ref double sw, [In,Out] double[] xbar, [In,Out] double[] c, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02buc")] public static extern void nag_sum_sqs( Nag_OrderType order, Nag_SumSquare mean, int n, int m, [In] double[] x, int pdx, [In] double[] wt, ref double sw, [Out] double[] wmean, [Out] double[] c, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02buc( Nag_OrderType order, Nag_SumSquare mean, int n, int m, [In] double[] x, int pdx, [In] double[] wt, ref double sw, [Out] double[] wmean, [Out] double[] c, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02bwc")] public static extern void nag_cov_to_corr( int m, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02bwc( int m, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02bxc")] public static extern void nag_corr_cov( int n, int m, [In] double[] x, int tdx, [In] int[] sx, [In] double[] wt, ref double sw, [Out] double[] wmean, [Out] double[] std, [Out] double[] r, int tdr, [Out] double[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02bxc( int n, int m, [In] double[] x, int tdx, [In] int[] sx, [In] double[] wt, ref double sw, [Out] double[] wmean, [Out] double[] std, [Out] double[] r, int tdr, [Out] double[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02byc")] public static extern void nag_partial_corr( int m, int ny, int nx, [In] int[] sz, [In] double[] r, int tdr, [Out] double[] p, int tdp, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02byc( int m, int ny, int nx, [In] int[] sz, [In] double[] r, int tdr, [Out] double[] p, int tdp, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02cac")] public static extern void nag_simple_linear_regression( Nag_SumSquare mean, int n, [In] double[] x, [In] double[] y, [In] double[] wt, ref double a, ref double b, ref double a_serr, ref double b_serr, ref double rsq, ref double rss, ref double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02cac( Nag_SumSquare mean, int n, [In] double[] x, [In] double[] y, [In] double[] wt, ref double a, ref double b, ref double a_serr, ref double b_serr, ref double rsq, ref double rss, ref double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02cbc")] public static extern void nag_regress_confid_interval( Nag_SumSquare mean, int n, [In] double[] x, [In] double[] y, [In] double[] wt, double clm, double clp, [Out] double[] yhat, [Out] double[] yml, [Out] double[] ymu, [Out] double[] yl, [Out] double[] yu, [Out] double[] h, [Out] double[] res, ref double rms, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02cbc( Nag_SumSquare mean, int n, [In] double[] x, [In] double[] y, [In] double[] wt, double clm, double clp, [Out] double[] yhat, [Out] double[] yml, [Out] double[] ymu, [Out] double[] yl, [Out] double[] yu, [Out] double[] h, [Out] double[] res, ref double rms, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02dac")] public static extern void nag_regsn_mult_linear( Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] y, [In] double[] wt, ref double rss, ref double df, [Out] double[] b, [Out] double[] se, [Out] double[] cov, [Out] double[] res, [Out] double[] h, [Out] double[] q, int tdq, ref Nag_Boolean svd, ref int rank, [Out] double[] p, double tol, [Out] double[] com_ar, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02dac( Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] y, [In] double[] wt, ref double rss, ref double df, [Out] double[] b, [Out] double[] se, [Out] double[] cov, [Out] double[] res, [Out] double[] h, [Out] double[] q, int tdq, ref Nag_Boolean svd, ref int rank, [Out] double[] p, double tol, [Out] double[] com_ar, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02dcc")] public static extern void nag_regsn_mult_linear_addrem_obs( Nag_UpdateObserv update, Nag_IncludeMean mean, int m, [In] int[] sx, [In,Out] double[] q, int tdq, int ip, [In] double[] x, int nr, int tdx, int ix, double y, [In] double[] wt, ref double rss, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02dcc( Nag_UpdateObserv update, Nag_IncludeMean mean, int m, [In] int[] sx, [In,Out] double[] q, int tdq, int ip, [In] double[] x, int nr, int tdx, int ix, double y, [In] double[] wt, ref double rss, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02ddc")] public static extern void nag_regsn_mult_linear_upd_model( int n, int ip, [In] double[] q, int tdq, ref double rss, ref double df, [Out] double[] b, [Out] double[] se, [Out] double[] cov, ref Nag_Boolean svd, ref int rank, [Out] double[] p, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02ddc( int n, int ip, [In] double[] q, int tdq, ref double rss, ref double df, [Out] double[] b, [Out] double[] se, [Out] double[] cov, ref Nag_Boolean svd, ref int rank, [Out] double[] p, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02dec")] public static extern void nag_regsn_mult_linear_add_var( int n, int ip, [In,Out] double[] q, int tdq, [In,Out] double[] p, [In] double[] wt, [In] double[] x, ref double rss, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02dec( int n, int ip, [In,Out] double[] q, int tdq, [In,Out] double[] p, [In] double[] wt, [In] double[] x, ref double rss, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02dfc")] public static extern void nag_regsn_mult_linear_delete_var( int ip, [In,Out] double[] q, int tdq, int indx, ref double rss, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02dfc( int ip, [In,Out] double[] q, int tdq, int indx, ref double rss, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02dgc")] public static extern void nag_regsn_mult_linear_newyvar( int n, [In] double[] wt, ref double rss, int ip, int rank, [In,Out] double[] cov, [In,Out] double[] q, int tdq, Nag_Boolean svd, [In] double[] p, [In] double[] y, [Out] double[] b, [Out] double[] se, [Out] double[] res, [In] double[] com_ar, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02dgc( int n, [In] double[] wt, ref double rss, int ip, int rank, [In,Out] double[] cov, [In,Out] double[] q, int tdq, Nag_Boolean svd, [In] double[] p, [In] double[] y, [Out] double[] b, [Out] double[] se, [Out] double[] res, [In] double[] com_ar, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02dkc")] public static extern void nag_regsn_mult_linear_tran_model( int ip, int iconst, [In] double[] p, [In] double[] c, int tdc, [In,Out] double[] b, double rss, double df, [Out] double[] se, [Out] double[] cov, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02dkc( int ip, int iconst, [In] double[] p, [In] double[] c, int tdc, [In,Out] double[] b, double rss, double df, [Out] double[] se, [Out] double[] cov, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02dnc")] public static extern void nag_regsn_mult_linear_est_func( int ip, int rank, [In] double[] b, [In] double[] cov, [In] double[] p, [In] double[] f, ref Nag_Boolean est, ref double stat, ref double sestat, ref double t, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02dnc( int ip, int rank, [In] double[] b, [In] double[] cov, [In] double[] p, [In] double[] f, ref Nag_Boolean est, ref double stat, ref double sestat, ref double t, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02eac")] public static extern void nag_all_regsn( Nag_OrderType order, Nag_IncludeMean mean, int n, int m, [In] double[] x, int pdx, [In] IntPtr[] var_names, [In] int[] sx, [In] double[] y, [In] double[] wt, ref int nmod, [Out] IntPtr[] model, [Out] double[] rss, [Out] int[] nterms, [Out] int[] mrank, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02eac( Nag_OrderType order, Nag_IncludeMean mean, int n, int m, [In] double[] x, int pdx, [In] IntPtr[] var_names, [In] int[] sx, [In] double[] y, [In] double[] wt, ref int nmod, [Out] IntPtr[] model, [Out] double[] rss, [Out] int[] nterms, [Out] int[] mrank, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02ecc")] public static extern void nag_cp_stat( Nag_IncludeMean mean, int n, double sigsq, double tss, int nmod, [In] int[] nterms, [In] double[] rss, [Out] double[] rsq, [Out] double[] cp, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02ecc( Nag_IncludeMean mean, int n, double sigsq, double tss, int nmod, [In] int[] nterms, [In] double[] rss, [Out] double[] rsq, [Out] double[] cp, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02eec")] public static extern void nag_step_regsn( Nag_OrderType order, ref int istep, Nag_IncludeMean mean, int n, int m, [In] double[] x, int pdx, [In] IntPtr[] var_names, [In] int[] sx, int maxip, [In] double[] y, [In] double[] wt, double fin, ref Nag_Boolean addvar, [Out] IntPtr[] newvar, ref double chrss, ref double f, [In,Out] IntPtr[] model, ref int nterm, ref double rss, ref int idf, ref int ifr, [In,Out] IntPtr[] free_vars, [Out] double[] exss, [In,Out] double[] q, int pdq, [In,Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02eec( Nag_OrderType order, ref int istep, Nag_IncludeMean mean, int n, int m, [In] double[] x, int pdx, [In] IntPtr[] var_names, [In] int[] sx, int maxip, [In] double[] y, [In] double[] wt, double fin, ref Nag_Boolean addvar, [Out] IntPtr[] newvar, ref double chrss, ref double f, [In,Out] IntPtr[] model, ref int nterm, ref double rss, ref int idf, ref int ifr, [In,Out] IntPtr[] free_vars, [Out] double[] exss, [In,Out] double[] q, int pdq, [In,Out] double[] p, ref NagError fail ); public delegate void nag_full_step_regsn_monfun_DELEGATE( Nag_FullStepwise flag, int var, double val, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void G02EFH( Nag_FullStepwise flag, int var, double val, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02efc")] public static extern void nag_full_step_regsn( int m, int n, [In] double[] wmean, [In] double[] c, double sw, [In,Out] int[] isx, double fin, double fout, double tau, [Out] double[] b, [Out] double[] se, ref double rsq, ref double rms, ref int df, nag_full_step_regsn_monfun_DELEGATE monfun, ref Nag_Comm COMM, ref NagError fail ); public delegate void g02efc_monfun_DELEGATE( Nag_FullStepwise flag, int var, double val, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02efc( int m, int n, [In] double[] wmean, [In] double[] c, double sw, [In,Out] int[] isx, double fin, double fout, double tau, [Out] double[] b, [Out] double[] se, ref double rsq, ref double rms, ref int df, g02efc_monfun_DELEGATE monfun, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02fac")] public static extern void nag_regsn_std_resid_influence( int n, int ip, int nres, [In] double[] res, [In] double[] h, double rms, [Out] double[] sres, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02fac( int n, int ip, int nres, [In] double[] res, [In] double[] h, double rms, [Out] double[] sres, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02fcc")] public static extern void nag_durbin_watson_stat( int n, int p, [In] double[] res, ref double d, ref double pdl, ref double pdu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02fcc( int n, int p, [In] double[] res, ref double d, ref double pdl, ref double pdu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02gac")] public static extern void nag_glm_normal( Nag_Link link, Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] y, [In] double[] wt, [In] double[] offset, ref double dnscale, double ex_power, ref double rss, ref double df, [Out] double[] b, ref int rank, [Out] double[] se, [Out] double[] cov, [Out] double[] v, int tdv, double tol, int max_iter, int print_iter, String outfile, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02gac( Nag_Link link, Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] y, [In] double[] wt, [In] double[] offset, ref double dnscale, double ex_power, ref double rss, ref double df, [Out] double[] b, ref int rank, [Out] double[] se, [Out] double[] cov, [Out] double[] v, int tdv, double tol, int max_iter, int print_iter, String outfile, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02gbc")] public static extern void nag_glm_binomial( Nag_Link link, Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] y, [In] double[] binom_t, [In] double[] wt, [In] double[] offset, ref double dev, ref double df, [Out] double[] b, ref int rank, [Out] double[] se, [Out] double[] cov, [Out] double[] v, int tdv, double tol, int max_iter, int print_iter, String outfile, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02gbc( Nag_Link link, Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] y, [In] double[] binom_t, [In] double[] wt, [In] double[] offset, ref double dev, ref double df, [Out] double[] b, ref int rank, [Out] double[] se, [Out] double[] cov, [Out] double[] v, int tdv, double tol, int max_iter, int print_iter, String outfile, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02gcc")] public static extern void nag_glm_poisson( Nag_Link link, Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] y, [In] double[] wt, [In] double[] offset, double ex_power, ref double dev, ref double df, [Out] double[] b, ref int rank, [Out] double[] se, [Out] double[] cov, [Out] double[] v, int tdv, double tol, int max_iter, int print_iter, String outfile, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02gcc( Nag_Link link, Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] y, [In] double[] wt, [In] double[] offset, double ex_power, ref double dev, ref double df, [Out] double[] b, ref int rank, [Out] double[] se, [Out] double[] cov, [Out] double[] v, int tdv, double tol, int max_iter, int print_iter, String outfile, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02gdc")] public static extern void nag_glm_gamma( Nag_Link link, Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] y, [In] double[] wt, [In] double[] offset, ref double dnscale, double ex_power, ref double dev, ref double df, [Out] double[] b, ref int rank, [Out] double[] se, [Out] double[] cov, [Out] double[] v, int tdv, double tol, int max_iter, int print_iter, String outfile, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02gdc( Nag_Link link, Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] y, [In] double[] wt, [In] double[] offset, ref double dnscale, double ex_power, ref double dev, ref double df, [Out] double[] b, ref int rank, [Out] double[] se, [Out] double[] cov, [Out] double[] v, int tdv, double tol, int max_iter, int print_iter, String outfile, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02gkc")] public static extern void nag_glm_tran_model( int ip, int nclin, [In] double[] v, int tdv, [In] double[] c, int tdc, [In,Out] double[] b, double dnscale, [Out] double[] se, [Out] double[] cov, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02gkc( int ip, int nclin, [In] double[] v, int tdv, [In] double[] c, int tdc, [In,Out] double[] b, double dnscale, [Out] double[] se, [Out] double[] cov, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02gnc")] public static extern void nag_glm_est_func( int ip, int rank, [In] double[] b, [In] double[] cov, [In] double[] v, int tdv, [In] double[] f, ref Nag_Boolean est, ref double stat, ref double sestat, ref double z, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02gnc( int ip, int rank, [In] double[] b, [In] double[] cov, [In] double[] v, int tdv, [In] double[] f, ref Nag_Boolean est, ref double stat, ref double sestat, ref double z, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02gpc")] public static extern void nag_glm_predict( Nag_Distributions errfn, Nag_Link link, Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] binom_t, [In] double[] offset, [In] double[] wt, double dnscale, double ex_power, [In] double[] b, [In] double[] cov, Nag_Boolean vfobs, [Out] double[] eta, [Out] double[] seeta, [Out] double[] pred, [Out] double[] sepred, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02gpc( Nag_Distributions errfn, Nag_Link link, Nag_IncludeMean mean, int n, [In] double[] x, int tdx, int m, [In] int[] sx, int ip, [In] double[] binom_t, [In] double[] offset, [In] double[] wt, double dnscale, double ex_power, [In] double[] b, [In] double[] cov, Nag_Boolean vfobs, [Out] double[] eta, [Out] double[] seeta, [Out] double[] pred, [Out] double[] sepred, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02hac")] public static extern void nag_robust_m_regsn_estim( Nag_RegType regtype, Nag_PsiFun psifun, Nag_SigmaEst sigma_est, Nag_CovMatrixEst covmat_est, int n, int m, [In,Out] double[] x, int tdx, [In,Out] double[] y, double cpsi, [In] double[] hpsi, double cucv, double dchi, [In,Out] double[] theta, ref double sigma, [Out] double[] c, int tdc, [Out] double[] rs, [Out] double[] wt, double tol, int max_iter, int print_iter, String outfile, [Out] double[] info, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02hac( Nag_RegType regtype, Nag_PsiFun psifun, Nag_SigmaEst sigma_est, Nag_CovMatrixEst covmat_est, int n, int m, [In,Out] double[] x, int tdx, [In,Out] double[] y, double cpsi, [In] double[] hpsi, double cucv, double dchi, [In,Out] double[] theta, ref double sigma, [Out] double[] c, int tdc, [Out] double[] rs, [Out] double[] wt, double tol, int max_iter, int print_iter, String outfile, [Out] double[] info, ref NagError fail ); public delegate double nag_robust_m_regsn_wts_ucv_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02hbc")] public static extern void nag_robust_m_regsn_wts( Nag_OrderType order, nag_robust_m_regsn_wts_ucv_DELEGATE ucv, int n, int m, [In] double[] x, int pdx, [In,Out] double[] a, [Out] double[] z, double bl, double bd, double tol, int maxit, int nitmon, String outfile, ref int nit, ref Nag_Comm COMM, ref NagError fail ); public delegate double g02hbc_ucv_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02hbc( Nag_OrderType order, g02hbc_ucv_DELEGATE ucv, int n, int m, [In] double[] x, int pdx, [In,Out] double[] a, [Out] double[] z, double bl, double bd, double tol, int maxit, int nitmon, String outfile, ref int nit, ref Nag_Comm COMM, ref NagError fail ); public delegate double nag_robust_m_regsn_user_fn_chi_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern double G02HDZ( double t, ref Nag_Comm COMM ); public delegate double nag_robust_m_regsn_user_fn_psi_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02hdc")] public static extern void nag_robust_m_regsn_user_fn( Nag_OrderType order, nag_robust_m_regsn_user_fn_chi_DELEGATE chi, nag_robust_m_regsn_user_fn_psi_DELEGATE psi, double psip0, double beta, Nag_RegType regtype, Nag_SigmaEst sigma_est, int n, int m, [In,Out] double[] x, int pdx, [In,Out] double[] y, [In,Out] double[] wgt, [In,Out] double[] theta, ref int k, ref double sigma, [Out] double[] rs, double tol, double eps, int maxit, int nitmon, String outfile, ref int nit, ref Nag_Comm COMM, ref NagError fail ); public delegate double g02hdc_chi_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double g02hdc_psi_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02hdc( Nag_OrderType order, g02hdc_chi_DELEGATE chi, g02hdc_psi_DELEGATE psi, double psip0, double beta, Nag_RegType regtype, Nag_SigmaEst sigma_est, int n, int m, [In,Out] double[] x, int pdx, [In,Out] double[] y, [In,Out] double[] wgt, [In,Out] double[] theta, ref int k, ref double sigma, [Out] double[] rs, double tol, double eps, int maxit, int nitmon, String outfile, ref int nit, ref Nag_Comm COMM, ref NagError fail ); public delegate double nag_robust_m_regsn_param_var_psi_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double nag_robust_m_regsn_param_var_psp_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02hfc")] public static extern void nag_robust_m_regsn_param_var( Nag_OrderType order, nag_robust_m_regsn_param_var_psi_DELEGATE psi, nag_robust_m_regsn_param_var_psp_DELEGATE psp, Nag_RegType regtype, Nag_CovMatrixEst covmat_est, double sigma, int n, int m, [In] double[] x, int pdx, [In] double[] rs, [In] double[] wgt, [Out] double[] cov, int pdc, [Out] double[] comm_arr, ref Nag_Comm COMM, ref NagError fail ); public delegate double g02hfc_psi_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double g02hfc_psp_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02hfc( Nag_OrderType order, g02hfc_psi_DELEGATE psi, g02hfc_psp_DELEGATE psp, Nag_RegType regtype, Nag_CovMatrixEst covmat_est, double sigma, int n, int m, [In] double[] x, int pdx, [In] double[] rs, [In] double[] wgt, [Out] double[] cov, int pdc, [Out] double[] comm_arr, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02hkc")] public static extern void nag_robust_corr_estim( int n, int m, [In] double[] x, int tdx, double eps, [Out] double[] cov, [Out] double[] theta, int max_iter, int print_iter, String outfile, double tol, ref int iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02hkc( int n, int m, [In] double[] x, int tdx, double eps, [Out] double[] cov, [Out] double[] theta, int max_iter, int print_iter, String outfile, double tol, ref int iter, ref NagError fail ); public delegate void nag_robust_m_corr_user_fn_ucv_DELEGATE( double t, ref double u, ref double ud, ref double w, ref double wd, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02hlc")] public static extern void nag_robust_m_corr_user_fn( Nag_OrderType order, nag_robust_m_corr_user_fn_ucv_DELEGATE ucv, int indm, int n, int m, [In] double[] x, int pdx, [Out] double[] cov, [In,Out] double[] a, [Out] double[] wt, [In,Out] double[] theta, double bl, double bd, int maxit, int nitmon, String outfile, double tol, ref int nit, ref Nag_Comm COMM, ref NagError fail ); public delegate void g02hlc_ucv_DELEGATE( double t, ref double u, ref double ud, ref double w, ref double wd, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02hlc( Nag_OrderType order, g02hlc_ucv_DELEGATE ucv, int indm, int n, int m, [In] double[] x, int pdx, [Out] double[] cov, [In,Out] double[] a, [Out] double[] wt, [In,Out] double[] theta, double bl, double bd, int maxit, int nitmon, String outfile, double tol, ref int nit, ref Nag_Comm COMM, ref NagError fail ); public delegate void nag_robust_m_corr_user_fn_no_derr_ucv_DELEGATE( double t, ref double u, ref double w, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02hmc")] public static extern void nag_robust_m_corr_user_fn_no_derr( Nag_OrderType order, nag_robust_m_corr_user_fn_no_derr_ucv_DELEGATE ucv, int indm, int n, int m, [In] double[] x, int pdx, [Out] double[] cov, [In,Out] double[] a, [Out] double[] wt, [In,Out] double[] theta, double bl, double bd, int maxit, int nitmon, String outfile, double tol, ref int nit, ref Nag_Comm COMM, ref NagError fail ); public delegate void g02hmc_ucv_DELEGATE( double t, ref double u, ref double w, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02hmc( Nag_OrderType order, g02hmc_ucv_DELEGATE ucv, int indm, int n, int m, [In] double[] x, int pdx, [Out] double[] cov, [In,Out] double[] a, [Out] double[] wt, [In,Out] double[] theta, double bl, double bd, int maxit, int nitmon, String outfile, double tol, ref int nit, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02jac")] public static extern void nag_reml_mixed_regsn( int n, int ncol, [In] double[] dat, int tddat, [In] int[] levels, int yvid, int cwid, int nfv, [In] int[] fvid, int fint, int nrv, [In] int[] rvid, int nvpr, [In] int[] vpr, int rint, int svid, [In,Out] double[] gamma, ref int nff, ref int nrf, ref int df, ref double reml, int lb, [Out] double[] b, [Out] double[] se, int maxit, double tol, ref int warn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02jac( int n, int ncol, [In] double[] dat, int tddat, [In] int[] levels, int yvid, int cwid, int nfv, [In] int[] fvid, int fint, int nrv, [In] int[] rvid, int nvpr, [In] int[] vpr, int rint, int svid, [In,Out] double[] gamma, ref int nff, ref int nrf, ref int df, ref double reml, int lb, [Out] double[] b, [Out] double[] se, int maxit, double tol, ref int warn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02jbc")] public static extern void nag_ml_mixed_regsn( int n, int ncol, [In] double[] dat, int tddat, [In] int[] levels, int yvid, int cwid, int nfv, [In] int[] fvid, int fint, int nrv, [In] int[] rvid, int nvpr, [In] int[] vpr, int rint, int svid, [In,Out] double[] gamma, ref int nff, ref int nrf, ref int df, ref double ml, int lb, [Out] double[] b, [Out] double[] se, int maxit, double tol, ref int warn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02jbc( int n, int ncol, [In] double[] dat, int tddat, [In] int[] levels, int yvid, int cwid, int nfv, [In] int[] fvid, int fint, int nrv, [In] int[] rvid, int nvpr, [In] int[] vpr, int rint, int svid, [In,Out] double[] gamma, ref int nff, ref int nrf, ref int df, ref double ml, int lb, [Out] double[] b, [Out] double[] se, int maxit, double tol, ref int warn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02jcc")] public static extern void nag_hier_mixed_init( Nag_OrderType order, int n, int ncol, [In] double[] dat, int pddat, [In] int[] levels, [In] double[] y, [In] double[] wt, [In] int[] dnfixed, int lfixed, int nrndm, [In] int[] rndm, int lrndm, ref int nff, ref int nlsv, ref int nrf, [Out] double[] rcomm, int lrcomm, [Out] int[] icomm, int licomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02jcc( Nag_OrderType order, int n, int ncol, [In] double[] dat, int pddat, [In] int[] levels, [In] double[] y, [In] double[] wt, [In] int[] dnfixed, int lfixed, int nrndm, [In] int[] rndm, int lrndm, ref int nff, ref int nlsv, ref int nrf, [Out] double[] rcomm, int lrcomm, [Out] int[] icomm, int licomm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02jdc")] public static extern void nag_reml_hier_mixed_regsn( int lvpr, [In] int[] vpr, int nvpr, [In,Out] double[] gamma, ref int effn, ref int rnkx, ref int ncov, ref double lnlike, int lb, [Out] int[] id, int pdid, [Out] double[] b, [Out] double[] se, [Out] double[] czz, int pdczz, [Out] double[] cxx, int pdcxx, [Out] double[] cxz, int pdcxz, [In] double[] rcomm, [In] int[] icomm, [In] int[] iopt, int liopt, [In] double[] ropt, int lropt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02jdc( int lvpr, [In] int[] vpr, int nvpr, [In,Out] double[] gamma, ref int effn, ref int rnkx, ref int ncov, ref double lnlike, int lb, [Out] int[] id, int pdid, [Out] double[] b, [Out] double[] se, [Out] double[] czz, int pdczz, [Out] double[] cxx, int pdcxx, [Out] double[] cxz, int pdcxz, [In] double[] rcomm, [In] int[] icomm, [In] int[] iopt, int liopt, [In] double[] ropt, int lropt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02jec")] public static extern void nag_ml_hier_mixed_regsn( int lvpr, [In] int[] vpr, int nvpr, [In,Out] double[] gamma, ref int effn, ref int rnkx, ref int ncov, ref double lnlike, int lb, [Out] int[] id, int pdid, [Out] double[] b, [Out] double[] se, [Out] double[] czz, int pdczz, [Out] double[] cxx, int pdcxx, [Out] double[] cxz, int pdcxz, [In] double[] rcomm, [In] int[] icomm, [In] int[] iopt, int liopt, [In] double[] ropt, int lropt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02jec( int lvpr, [In] int[] vpr, int nvpr, [In,Out] double[] gamma, ref int effn, ref int rnkx, ref int ncov, ref double lnlike, int lb, [Out] int[] id, int pdid, [Out] double[] b, [Out] double[] se, [Out] double[] czz, int pdczz, [Out] double[] cxx, int pdcxx, [Out] double[] cxz, int pdcxz, [In] double[] rcomm, [In] int[] icomm, [In] int[] iopt, int liopt, [In] double[] ropt, int lropt, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02kac")] public static extern void nag_regsn_ridge_opt( Nag_OrderType order, int n, int m, [In] double[] x, int pdx, [In] int[] isx, int ip, double tau, [In] double[] y, ref double h, Nag_PredictError opt, ref int niter, double tol, ref double nep, Nag_EstimatesOption orig, [Out] double[] b, [Out] double[] vif, [Out] double[] res, ref double rss, ref int df, Nag_OptionLOO optloo, [Out] double[] perr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02kac( Nag_OrderType order, int n, int m, [In] double[] x, int pdx, [In] int[] isx, int ip, double tau, [In] double[] y, ref double h, Nag_PredictError opt, ref int niter, double tol, ref double nep, Nag_EstimatesOption orig, [Out] double[] b, [Out] double[] vif, [Out] double[] res, ref double rss, ref int df, Nag_OptionLOO optloo, [Out] double[] perr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02kbc")] public static extern void nag_regsn_ridge( Nag_OrderType order, int n, int m, [In] double[] x, int pdx, [In] int[] isx, int ip, [In] double[] y, int lh, [In] double[] h, [Out] double[] nep, Nag_ParaOption wantb, [Out] double[] b, int pdb, Nag_VIFOption wantvf, [Out] double[] vf, int pdvf, int lpec, Nag_PredictError pec, [Out] double[] pe, int pdpe, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02kbc( Nag_OrderType order, int n, int m, [In] double[] x, int pdx, [In] int[] isx, int ip, [In] double[] y, int lh, [In] double[] h, [Out] double[] nep, Nag_ParaOption wantb, [Out] double[] b, int pdb, Nag_VIFOption wantvf, [Out] double[] vf, int pdvf, int lpec, Nag_PredictError pec, [Out] double[] pe, int pdpe, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02lac")] public static extern void nag_pls_orth_scores_svd( Nag_OrderType order, int n, int mx, [In] double[] x, int pdx, [In] int[] isx, int ip, int my, [In] double[] y, int pdy, [Out] double[] xbar, [Out] double[] ybar, Nag_ScalePredictor iscale, [In,Out] double[] xstd, [In,Out] double[] ystd, int maxfac, [Out] double[] xres, int pdxres, [Out] double[] yres, int pdyres, [Out] double[] w, int pdw, [Out] double[] p, int pdp, [Out] double[] t, int pdt, [Out] double[] c, int pdc, [Out] double[] u, int pdu, [Out] double[] xcv, [Out] double[] ycv, int pdycv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02lac( Nag_OrderType order, int n, int mx, [In] double[] x, int pdx, [In] int[] isx, int ip, int my, [In] double[] y, int pdy, [Out] double[] xbar, [Out] double[] ybar, Nag_ScalePredictor iscale, [In,Out] double[] xstd, [In,Out] double[] ystd, int maxfac, [Out] double[] xres, int pdxres, [Out] double[] yres, int pdyres, [Out] double[] w, int pdw, [Out] double[] p, int pdp, [Out] double[] t, int pdt, [Out] double[] c, int pdc, [Out] double[] u, int pdu, [Out] double[] xcv, [Out] double[] ycv, int pdycv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02lbc")] public static extern void nag_pls_orth_scores_wold( Nag_OrderType order, int n, int mx, [In] double[] x, int pdx, [In] int[] isx, int ip, int my, [In] double[] y, int pdy, [Out] double[] xbar, [Out] double[] ybar, Nag_ScalePredictor iscale, [In,Out] double[] xstd, [In,Out] double[] ystd, int maxfac, int maxit, double tau, [Out] double[] xres, int pdxres, [Out] double[] yres, int pdyres, [Out] double[] w, int pdw, [Out] double[] p, int pdp, [Out] double[] t, int pdt, [Out] double[] c, int pdc, [Out] double[] u, int pdu, [Out] double[] xcv, [Out] double[] ycv, int pdycv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02lbc( Nag_OrderType order, int n, int mx, [In] double[] x, int pdx, [In] int[] isx, int ip, int my, [In] double[] y, int pdy, [Out] double[] xbar, [Out] double[] ybar, Nag_ScalePredictor iscale, [In,Out] double[] xstd, [In,Out] double[] ystd, int maxfac, int maxit, double tau, [Out] double[] xres, int pdxres, [Out] double[] yres, int pdyres, [Out] double[] w, int pdw, [Out] double[] p, int pdp, [Out] double[] t, int pdt, [Out] double[] c, int pdc, [Out] double[] u, int pdu, [Out] double[] xcv, [Out] double[] ycv, int pdycv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02lcc")] public static extern void nag_pls_orth_scores_fit( Nag_OrderType order, int ip, int my, int maxfac, int nfact, [In] double[] p, int pdp, [In] double[] c, int pdc, [In] double[] w, int pdw, double rcond, [Out] double[] b, int pdb, Nag_EstimatesOption orig, [In] double[] xbar, [In] double[] ybar, Nag_ScalePredictor iscale, [In] double[] xstd, [In] double[] ystd, [Out] double[] ob, int pdob, int vipopt, [In] double[] ycv, int pdycv, [Out] double[] vip, int pdvip, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02lcc( Nag_OrderType order, int ip, int my, int maxfac, int nfact, [In] double[] p, int pdp, [In] double[] c, int pdc, [In] double[] w, int pdw, double rcond, [Out] double[] b, int pdb, Nag_EstimatesOption orig, [In] double[] xbar, [In] double[] ybar, Nag_ScalePredictor iscale, [In] double[] xstd, [In] double[] ystd, [Out] double[] ob, int pdob, int vipopt, [In] double[] ycv, int pdycv, [Out] double[] vip, int pdvip, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02ldc")] public static extern void nag_pls_orth_scores_pred( Nag_OrderType order, int ip, int my, Nag_EstimatesOption orig, [In] double[] xbar, [In] double[] ybar, Nag_ScalePredictor iscale, [In] double[] xstd, [In] double[] ystd, [In] double[] b, int pdb, int n, int mz, [In] int[] isz, [In] double[] z, int pdz, [Out] double[] yhat, int pdyhat, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02ldc( Nag_OrderType order, int ip, int my, Nag_EstimatesOption orig, [In] double[] xbar, [In] double[] ybar, Nag_ScalePredictor iscale, [In] double[] xstd, [In] double[] ystd, [In] double[] b, int pdb, int n, int mz, [In] int[] isz, [In] double[] z, int pdz, [Out] double[] yhat, int pdyhat, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02qfc")] public static extern void nag_regsn_quant_linear_iid( int n, int m, [In] double[] x, [In] double[] y, int ntau, [In] double[] tau, ref double df, [Out] double[] b, [Out] double[] bl, [Out] double[] bu, [Out] int[] info, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02qfc( int n, int m, [In] double[] x, [In] double[] y, int ntau, [In] double[] tau, ref double df, [Out] double[] b, [Out] double[] bl, [Out] double[] bu, [Out] int[] info, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02qgc")] public static extern void nag_regsn_quant_linear( Nag_OrderType order, Nag_IncludeIntercept intcpt, int n, int m, [In] double[] dat, int pddat, [In] int[] isx, int ip, [In] double[] y, [In] double[] wt, int ntau, [In] double[] tau, ref double df, [In,Out] double[] b, [Out] double[] bl, [Out] double[] bu, [Out] double[] ch, [Out] double[] res, [In] int[] iopts, [In] double[] opts, [In,Out] int[] state, [Out] int[] info, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02qgc( Nag_OrderType order, Nag_IncludeIntercept intcpt, int n, int m, [In] double[] dat, int pddat, [In] int[] isx, int ip, [In] double[] y, [In] double[] wt, int ntau, [In] double[] tau, ref double df, [In,Out] double[] b, [Out] double[] bl, [Out] double[] bu, [Out] double[] ch, [Out] double[] res, [In] int[] iopts, [In] double[] opts, [In,Out] int[] state, [Out] int[] info, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02zkc")] public static extern void nag_g02_opt_set( String optstr, [In,Out] int[] iopts, int liopts, [In,Out] double[] opts, int lopts, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02zkc( String optstr, [In,Out] int[] iopts, int liopts, [In,Out] double[] opts, int lopts, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g02zlc")] public static extern void nag_g02_opt_get( String optstr, ref int ivalue, ref double rvalue, String cvalue, int lcvalue, ref Nag_VariableType optype, [In] int[] iopts, [In] double[] opts, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g02zlc( String optstr, ref int ivalue, ref double rvalue, String cvalue, int lcvalue, ref Nag_VariableType optype, [In] int[] iopts, [In] double[] opts, ref NagError fail ); // chapter g03 [DllImport("CLW3223DA_nag.dll", EntryPoint="g03aac")] public static extern void nag_mv_prin_comp( Nag_PrinCompMat pcmatrix, Nag_PrinCompScores scores, int n, int m, [In] double[] x, int tdx, [In] int[] isx, [In,Out] double[] s, [In] double[] wt, int nvar, [Out] double[] e, int tde, [Out] double[] p, int tdp, [Out] double[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03aac( Nag_PrinCompMat pcmatrix, Nag_PrinCompScores scores, int n, int m, [In] double[] x, int tdx, [In] int[] isx, [In,Out] double[] s, [In] double[] wt, int nvar, [Out] double[] e, int tde, [Out] double[] p, int tdp, [Out] double[] v, int tdv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03acc")] public static extern void nag_mv_canon_var( Nag_Weightstype weight, int n, int m, [In] double[] x, int tdx, [In] int[] isx, int nx, [In] int[] ing, int ng, [In] double[] wt, [Out] int[] nig, [Out] double[] cvm, int tdcvm, [Out] double[] e, int tde, ref int ncv, [Out] double[] cvx, int tdcvx, double tol, ref int irankx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03acc( Nag_Weightstype weight, int n, int m, [In] double[] x, int tdx, [In] int[] isx, int nx, [In] int[] ing, int ng, [In] double[] wt, [Out] int[] nig, [Out] double[] cvm, int tdcvm, [Out] double[] e, int tde, ref int ncv, [Out] double[] cvx, int tdcvx, double tol, ref int irankx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03adc")] public static extern void nag_mv_canon_corr( int n, int m, [In] double[] z, int tdz, [In] int[] isz, int nx, int ny, [In] double[] wt, [Out] double[] e, int tde, ref int ncv, [Out] double[] cvx, int tdcvx, [Out] double[] cvy, int tdcvy, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03adc( int n, int m, [In] double[] z, int tdz, [In] int[] isz, int nx, int ny, [In] double[] wt, [Out] double[] e, int tde, ref int ncv, [Out] double[] cvx, int tdcvx, [Out] double[] cvy, int tdcvy, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03bac")] public static extern void nag_mv_orthomax( Nag_RotationLoading stand, double g, int nvar, int k, [In,Out] double[] fl, int tdf, [Out] double[] flr, [Out] double[] r, int tdr, double acc, int maxit, ref int iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03bac( Nag_RotationLoading stand, double g, int nvar, int k, [In,Out] double[] fl, int tdf, [Out] double[] flr, [Out] double[] r, int tdr, double acc, int maxit, ref int iter, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03bcc")] public static extern void nag_mv_procustes( Nag_TransNorm stand, Nag_RotationScale pscale, int n, int m, [In,Out] double[] x, int tdx, [In,Out] double[] y, int tdy, [Out] double[] yhat, [Out] double[] r, int tdr, ref double alpha, ref double rss, [Out] double[] res, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03bcc( Nag_TransNorm stand, Nag_RotationScale pscale, int n, int m, [In,Out] double[] x, int tdx, [In,Out] double[] y, int tdy, [Out] double[] yhat, [Out] double[] r, int tdr, ref double alpha, ref double rss, [Out] double[] res, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03bdc")] public static extern void nag_mv_promax( Nag_RotationLoading stand, int n, int m, [In] double[] x, int pdx, [In] double[] ro, int pdro, double power, [Out] double[] fp, int pdfp, [Out] double[] r, int pdr, [Out] double[] phi, int pdphi, [Out] double[] fs, int pdfs, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03bdc( Nag_RotationLoading stand, int n, int m, [In] double[] x, int pdx, [In] double[] ro, int pdro, double power, [Out] double[] fp, int pdfp, [Out] double[] r, int pdr, [Out] double[] phi, int pdphi, [Out] double[] fs, int pdfs, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03cac")] public static extern void nag_mv_factor( Nag_FacMat matrix, int n, int m, [In] double[] x, int tdx, int nvar, [In] int[] isx, int nfac, [In] double[] wt, [Out] double[] e, [Out] double[] stat, [Out] double[] com, [Out] double[] psi, [Out] double[] res, [Out] double[] fl, int tdfl, ref Nag_E04_Opt ops, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03cac( Nag_FacMat matrix, int n, int m, [In] double[] x, int tdx, int nvar, [In] int[] isx, int nfac, [In] double[] wt, [Out] double[] e, [Out] double[] stat, [Out] double[] com, [Out] double[] psi, [Out] double[] res, [Out] double[] fl, int tdfl, ref Nag_E04_Opt ops, double eps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03ccc")] public static extern void nag_mv_fac_score( Nag_FacScoreMethod method, Nag_FacRotation rotate, int nvar, int nfac, [In] double[] fl, int tdfl, [In] double[] psi, [In] double[] e, [In] double[] r, int tdr, [Out] double[] fs, int tdfs, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03ccc( Nag_FacScoreMethod method, Nag_FacRotation rotate, int nvar, int nfac, [In] double[] fl, int tdfl, [In] double[] psi, [In] double[] e, [In] double[] r, int tdr, [Out] double[] fs, int tdfs, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03dac")] public static extern void nag_mv_discrim( int n, int m, [In] double[] x, int tdx, [In] int[] isx, int nvar, [In] int[] ing, int ng, [In] double[] wt, [Out] int[] nig, [Out] double[] gmean, int tdg, [Out] double[] det, [Out] double[] gc, ref double stat, ref double df, ref double sig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03dac( int n, int m, [In] double[] x, int tdx, [In] int[] isx, int nvar, [In] int[] ing, int ng, [In] double[] wt, [Out] int[] nig, [Out] double[] gmean, int tdg, [Out] double[] det, [Out] double[] gc, ref double stat, ref double df, ref double sig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03dbc")] public static extern void nag_mv_discrim_mahaldist( Nag_GroupCovars equal, Nag_MahalDist mode, int nvar, int ng, [In] double[] gmean, int tdg, [In] double[] gc, int nobs, int m, [In] int[] isx, [In] double[] x, int tdx, [Out] double[] d, int tdd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03dbc( Nag_GroupCovars equal, Nag_MahalDist mode, int nvar, int ng, [In] double[] gmean, int tdg, [In] double[] gc, int nobs, int m, [In] int[] isx, [In] double[] x, int tdx, [Out] double[] d, int tdd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03dcc")] public static extern void nag_mv_discrim_group( Nag_DiscrimMethod typ, Nag_GroupCovars equal, Nag_PriorProbability priors, int nvar, int ng, [In] int[] nig, [In] double[] gmean, int tdg, [In] double[] gc, [In] double[] det, int nobs, int m, [In] int[] isx, [In] double[] x, int tdx, [In,Out] double[] prior, [Out] double[] p, int tdp, [Out] int[] iag, Nag_Boolean atiq, [Out] double[] ati, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03dcc( Nag_DiscrimMethod typ, Nag_GroupCovars equal, Nag_PriorProbability priors, int nvar, int ng, [In] int[] nig, [In] double[] gmean, int tdg, [In] double[] gc, [In] double[] det, int nobs, int m, [In] int[] isx, [In] double[] x, int tdx, [In,Out] double[] prior, [Out] double[] p, int tdp, [Out] int[] iag, Nag_Boolean atiq, [Out] double[] ati, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03eac")] public static extern void nag_mv_distance_mat( Nag_MatUpdate update, Nag_DistanceType dist, Nag_VarScaleType dnscale, int n, int m, [In] double[] x, int tdx, [In] int[] isx, [In,Out] double[] s, [In,Out] double[] d, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03eac( Nag_MatUpdate update, Nag_DistanceType dist, Nag_VarScaleType dnscale, int n, int m, [In] double[] x, int tdx, [In] int[] isx, [In,Out] double[] s, [In,Out] double[] d, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03ecc")] public static extern void nag_mv_hierar_cluster_analysis( Nag_ClusterMethod method, int n, [In] double[] d, [Out] int[] ilc, [Out] int[] iuc, [Out] double[] cd, [Out] int[] iord, [Out] double[] dord, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03ecc( Nag_ClusterMethod method, int n, [In] double[] d, [Out] int[] ilc, [Out] int[] iuc, [Out] double[] cd, [Out] int[] iord, [Out] double[] dord, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03efc")] public static extern void nag_mv_kmeans_cluster_analysis( int n, int m, [In] double[] x, int tdx, [In] int[] isx, int nvar, int k, [In,Out] double[] cmeans, int tdc, [In] double[] wt, [Out] int[] inc, [Out] int[] nic, [Out] double[] css, [Out] double[] csw, int maxit, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03efc( int n, int m, [In] double[] x, int tdx, [In] int[] isx, int nvar, int k, [In,Out] double[] cmeans, int tdc, [In] double[] wt, [Out] int[] inc, [Out] int[] nic, [Out] double[] css, [Out] double[] csw, int maxit, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03ehc")] public static extern void nag_mv_dendrogram( Nag_DendOrient orient, int n, [In] double[] dord, double dmin, double dstep, int nsym, String c, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03ehc( Nag_DendOrient orient, int n, [In] double[] dord, double dmin, double dstep, int nsym, String c, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03ejc")] public static extern void nag_mv_cluster_indicator( int n, [In] double[] cd, [In] int[] iord, [In] double[] dord, ref int k, ref double dlevel, [Out] int[] ic, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03ejc( int n, [In] double[] cd, [In] int[] iord, [In] double[] dord, ref int k, ref double dlevel, [Out] int[] ic, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03fac")] public static extern void nag_mv_prin_coord_analysis( Nag_Eigenvalues roots, int n, [In] double[] d, int ndim, [Out] double[] x, int tdx, [Out] double[] eval, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03fac( Nag_Eigenvalues roots, int n, [In] double[] d, int ndim, [Out] double[] x, int tdx, [Out] double[] eval, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03fcc")] public static extern void nag_mv_ordinal_multidimscale( Nag_ScaleCriterion typ, int n, int ndim, [In] double[] d, [In,Out] double[] x, int tdx, ref double stress, [Out] double[] dfit, ref Nag_E04_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03fcc( Nag_ScaleCriterion typ, int n, int ndim, [In] double[] d, [In,Out] double[] x, int tdx, ref double stress, [Out] double[] dfit, ref Nag_E04_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03xzc")] public static extern void nag_mv_dend_free( String c ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03xzc( String c ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g03zac")] public static extern void nag_mv_z_scores( int n, int m, [Out] double[] x, int tdx, int nvar, [In] int[] isx, [In] double[] s, [In] double[] e, [Out] double[] z, int tdz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g03zac( int n, int m, [Out] double[] x, int tdx, int nvar, [In] int[] isx, [In] double[] s, [In] double[] e, [Out] double[] z, int tdz, ref NagError fail ); // chapter g04 [DllImport("CLW3223DA_nag.dll", EntryPoint="g04bbc")] public static extern void nag_anova_random( int n, [In] double[] y, Nag_Blocks blocks, int iblock, int nt, [In] int[] it, ref double gmean, [Out] double[] bmean, [Out] double[] tmean, [Out] double[] table, [Out] double[] c, int tdc, [Out] int[] irep, [Out] double[] r, [Out] double[] ef, double tol, int irdf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g04bbc( int n, [In] double[] y, Nag_Blocks blocks, int iblock, int nt, [In] int[] it, ref double gmean, [Out] double[] bmean, [Out] double[] tmean, [Out] double[] table, [Out] double[] c, int tdc, [Out] int[] irep, [Out] double[] r, [Out] double[] ef, double tol, int irdf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g04bcc")] public static extern void nag_anova_row_col( int nrep, int nrow, int ncol, [In] double[] y, int nt, [In] int[] it, ref double gmean, [Out] double[] tmean, [Out] double[] table, [Out] double[] c, int tdc, [Out] int[] irep, [Out] double[] rpmean, [Out] double[] rmean, [Out] double[] cmean, [Out] double[] r, [Out] double[] ef, double tol, int irdf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g04bcc( int nrep, int nrow, int ncol, [In] double[] y, int nt, [In] int[] it, ref double gmean, [Out] double[] tmean, [Out] double[] table, [Out] double[] c, int tdc, [Out] int[] irep, [Out] double[] rpmean, [Out] double[] rmean, [Out] double[] cmean, [Out] double[] r, [Out] double[] ef, double tol, int irdf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g04cac")] public static extern void nag_anova_factorial( int n, [In] double[] y, int nfac, [In] int[] lfac, int nblock, int inter, int irdf, ref int mterm, ref IntPtr tablePTR, ref IntPtr tmeanPTR, ref int maxt, ref IntPtr ePTR, ref IntPtr imeanPTR, ref IntPtr semeanPTR, ref IntPtr bmeanPTR, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g04cac( int n, [In] double[] y, int nfac, [In] int[] lfac, int nblock, int inter, int irdf, ref int mterm, ref IntPtr tablePTR, ref IntPtr tmeanPTR, ref int maxt, ref IntPtr ePTR, ref IntPtr imeanPTR, ref IntPtr semeanPTR, ref IntPtr bmeanPTR, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g04czc")] public static extern void nag_anova_factorial_free( ref IntPtr tablePTR, ref IntPtr tmeanPTR, ref IntPtr ePTR, ref IntPtr imeanPTR, ref IntPtr semeanPTR, ref IntPtr bmeanPTR ); [DllImport("CLW3223DA_nag.dll")] public static extern void g04czc( ref IntPtr tablePTR, ref IntPtr tmeanPTR, ref IntPtr ePTR, ref IntPtr imeanPTR, ref IntPtr semeanPTR, ref IntPtr bmeanPTR ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g04dbc")] public static extern void nag_anova_confid_interval( Nag_IntervalType typ, int nt, [In] double[] tmean, double rdf, [In] double[] c, int tdc, double clevel, [Out] double[] cil, [Out] double[] ciu, [Out] int[] isig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g04dbc( Nag_IntervalType typ, int nt, [In] double[] tmean, double rdf, [In] double[] c, int tdc, double clevel, [Out] double[] cil, [Out] double[] ciu, [Out] int[] isig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g04eac")] public static extern void nag_dummy_vars( Nag_DummyType typ, int n, int levels, [In] int[] factor, [Out] double[] x, int tdx, [In] double[] v, [Out] double[] num_reps, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g04eac( Nag_DummyType typ, int n, int levels, [In] int[] factor, [Out] double[] x, int tdx, [In] double[] v, [Out] double[] num_reps, ref NagError fail ); // chapter g05 [DllImport("CLW3223DA_nag.dll", EntryPoint="g05cac")] public static extern double nag_random_continuous_uniform( ); [DllImport("CLW3223DA_nag.dll")] public static extern double g05cac( ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05cbc")] public static extern void nag_random_init_repeatable( int seed ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05cbc( int seed ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ccc")] public static extern void nag_random_init_nonrepeatable( ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ccc( ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05cfc")] public static extern void nag_save_random_state( [Out] int[] istate, [Out] double[] xstate ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05cfc( [Out] int[] istate, [Out] double[] xstate ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05cgc")] public static extern void nag_restore_random_state( [In] int[] istate, [In] double[] xstate, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05cgc( [In] int[] istate, [In] double[] xstate, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05dac")] public static extern double nag_random_continuous_uniform_ab( double a, double b ); [DllImport("CLW3223DA_nag.dll")] public static extern double g05dac( double a, double b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05dbc")] public static extern double nag_random_exp( double a ); [DllImport("CLW3223DA_nag.dll")] public static extern double g05dbc( double a ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ddc")] public static extern double nag_random_normal( double a, double b ); [DllImport("CLW3223DA_nag.dll")] public static extern double g05ddc( double a, double b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05dyc")] public static extern int nag_random_discrete_uniform( int m, int n ); [DllImport("CLW3223DA_nag.dll")] public static extern int g05dyc( int m, int n ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05eac")] public static extern void nag_ref_vec_multi_normal( [In] double[] a, int n, [In] double[] c, int tdc, double eps, ref IntPtr rPTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05eac( [In] double[] a, int n, [In] double[] c, int tdc, double eps, ref IntPtr rPTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ecc")] public static extern void nag_ref_vec_poisson( double t, ref IntPtr rPTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ecc( double t, ref IntPtr rPTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05edc")] public static extern void nag_ref_vec_binomial( int n, double p, ref IntPtr rPTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05edc( int n, double p, ref IntPtr rPTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ehc")] public static extern void nag_ran_permut_vec( [In,Out] int[] index, int n, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ehc( [In,Out] int[] index, int n, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ejc")] public static extern void nag_ran_sample_vec( [In] int[] ia, int n, [Out] int[] iz, int m, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ejc( [In] int[] ia, int n, [Out] int[] iz, int m, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05exc")] public static extern void nag_ref_vec_discrete_pdf_cdf( [In] double[] p, int np, int sizep, Nag_DiscreteDistrib distf, ref IntPtr rPTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05exc( [In] double[] p, int np, int sizep, Nag_DiscreteDistrib distf, ref IntPtr rPTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05eyc")] public static extern int nag_return_discrete( IntPtr rPTR ); [DllImport("CLW3223DA_nag.dll")] public static extern int g05eyc( IntPtr rPTR ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ezc")] public static extern void nag_return_multi_normal( [Out] double[] z, IntPtr rPTR ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ezc( [Out] double[] z, IntPtr rPTR ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05fec")] public static extern void nag_random_beta( double a, double b, int n, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05fec( double a, double b, int n, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ffc")] public static extern void nag_random_gamma( double a, double b, int n, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ffc( double a, double b, int n, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05hac")] public static extern void nag_arma_time_series( Nag_Boolean start, int p, int q, [In] double[] phi, [In] double[] theta, double mean, double vara, int n, [Out] double[] w, [Out] double[] dnref, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05hac( Nag_Boolean start, int p, int q, [In] double[] phi, [In] double[] theta, double mean, double vara, int n, [Out] double[] w, [Out] double[] dnref, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05hkc")] public static extern void nag_generate_agarchI( int num, int p, int q, [In] double[] theta, double gamma, [Out] double[] ht, [Out] double[] et, Nag_Garch_Fcall_Type fcall, [In,Out] double[] rvec, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05hkc( int num, int p, int q, [In] double[] theta, double gamma, [Out] double[] ht, [Out] double[] et, Nag_Garch_Fcall_Type fcall, [In,Out] double[] rvec, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05hlc")] public static extern void nag_generate_agarchII( int num, int p, int q, [In] double[] theta, double gamma, [Out] double[] ht, [Out] double[] et, Nag_Garch_Fcall_Type fcall, [In,Out] double[] rvec, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05hlc( int num, int p, int q, [In] double[] theta, double gamma, [Out] double[] ht, [Out] double[] et, Nag_Garch_Fcall_Type fcall, [In,Out] double[] rvec, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05hmc")] public static extern void nag_generate_garchGJR( int num, int p, int q, [In] double[] theta, double gamma, [Out] double[] ht, [Out] double[] et, Nag_Garch_Fcall_Type fcall, [In,Out] double[] rvec, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05hmc( int num, int p, int q, [In] double[] theta, double gamma, [Out] double[] ht, [Out] double[] et, Nag_Garch_Fcall_Type fcall, [In,Out] double[] rvec, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05kac")] public static extern double nag_rngs_basic( int igen, [In,Out] int[] iseed ); [DllImport("CLW3223DA_nag.dll")] public static extern double g05kac( int igen, [In,Out] int[] iseed ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05kbc")] public static extern void nag_rngs_init_repeatable( ref int igen, [In,Out] int[] iseed ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05kbc( ref int igen, [In,Out] int[] iseed ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05kcc")] public static extern void nag_rngs_init_nonrepeatable( ref int igen, [Out] int[] iseed ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05kcc( ref int igen, [Out] int[] iseed ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05kec")] public static extern bool nag_rngs_logical( double p, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern bool g05kec( double p, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05kfc")] public static extern void nag_rand_init_repeatable( Nag_BaseRNG genid, int subid, [In] int[] seed, int lseed, [Out] int[] state, ref int lstate, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05kfc( Nag_BaseRNG genid, int subid, [In] int[] seed, int lseed, [Out] int[] state, ref int lstate, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05kgc")] public static extern void nag_rand_init_nonrepeatable( Nag_BaseRNG genid, int subid, [Out] int[] state, ref int lstate, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05kgc( Nag_BaseRNG genid, int subid, [Out] int[] state, ref int lstate, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05khc")] public static extern void nag_rand_leap_frog( int n, int k, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05khc( int n, int k, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05kjc")] public static extern void nag_rand_skip_ahead( int n, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05kjc( int n, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05kkc")] public static extern void nag_rand_skip_ahead_power2( int n, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05kkc( int n, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lac")] public static extern void nag_rngs_normal( double xmu, double var, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lac( double xmu, double var, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lbc")] public static extern void nag_rngs_students_t( int df, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lbc( int df, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lcc")] public static extern void nag_rngs_chi_sq( int df, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lcc( int df, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ldc")] public static extern void nag_rngs_f( int df1, int df2, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ldc( int df1, int df2, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lec")] public static extern void nag_rngs_beta( double a, double b, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lec( double a, double b, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lfc")] public static extern void nag_rngs_gamma( double a, double b, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lfc( double a, double b, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lgc")] public static extern void nag_rngs_uniform( double a, double b, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lgc( double a, double b, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lhc")] public static extern void nag_rngs_triangular( double xmin, double xmax, double xmed, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lhc( double xmin, double xmax, double xmed, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ljc")] public static extern void nag_rngs_exp( double a, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ljc( double a, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lkc")] public static extern void nag_rngs_lognormal( double xmu, double var, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lkc( double xmu, double var, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05llc")] public static extern void nag_rngs_cauchy( double xmed, double semiqr, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05llc( double xmed, double semiqr, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lmc")] public static extern void nag_rngs_weibull( double a, double b, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lmc( double a, double b, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lnc")] public static extern void nag_rngs_logistic( double a, double b, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lnc( double a, double b, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lpc")] public static extern void nag_rngs_von_mises( double vk, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lpc( double vk, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lqc")] public static extern void nag_rngs_exp_mix( int nmix, [In] double[] a, [In,Out] double[] wgt, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lqc( int nmix, [In] double[] a, [In,Out] double[] wgt, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lxc")] public static extern void nag_rngs_matrix_multi_students_t( Nag_OrderType order, int mode, int df, int m, [In] double[] xmu, [In] double[] c, int pdc, int n, [Out] double[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, int lr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lxc( Nag_OrderType order, int mode, int df, int m, [In] double[] xmu, [In] double[] c, int pdc, int n, [Out] double[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, int lr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lyc")] public static extern void nag_rgsn_matrix_multi_normal( Nag_OrderType order, int mode, int m, [In] double[] xmu, [In] double[] c, int pdc, int n, [Out] double[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, int lr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lyc( Nag_OrderType order, int mode, int m, [In] double[] xmu, [In] double[] c, int pdc, int n, [Out] double[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, int lr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05lzc")] public static extern void nag_rngs_multi_normal( Nag_OrderType order, int mode, int n, [In] double[] xmu, [In] double[] c, int pdc, [Out] double[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05lzc( Nag_OrderType order, int mode, int n, [In] double[] xmu, [In] double[] c, int pdc, [Out] double[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05mac")] public static extern void nag_rngs_discrete_uniform( int a, int b, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05mac( int a, int b, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05mbc")] public static extern void nag_rngs_geom( int mode, double p, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05mbc( int mode, double p, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05mcc")] public static extern void nag_rngs_neg_bin( int mode, int m, double p, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05mcc( int mode, int m, double p, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05mdc")] public static extern void nag_rngs_logarithmic( int mode, double a, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05mdc( int mode, double a, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05mec")] public static extern void nag_rngs_compd_poisson( int m, [In] double[] vlamda, [Out] int[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05mec( int m, [In] double[] vlamda, [Out] int[] x, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05mjc")] public static extern void nag_rngs_binomial( int mode, int m, double p, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05mjc( int mode, int m, double p, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05mkc")] public static extern void nag_rngs_poisson( int mode, double lambda, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05mkc( int mode, double lambda, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05mlc")] public static extern void nag_rngs_hypergeometric( int mode, int ns, int np, int m, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05mlc( int mode, int ns, int np, int m, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05mrc")] public static extern void nag_rngs_gen_multinomial( Nag_OrderType order, int mode, int m, int k, [In] double[] p, int n, [Out] int[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05mrc( Nag_OrderType order, int mode, int m, int k, [In] double[] p, int n, [Out] int[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05mzc")] public static extern void nag_rngs_gen_discrete( int mode, [In] double[] p, int np, int ip1, Nag_ComputeType comp_type, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05mzc( int mode, [In] double[] p, int np, int ip1, Nag_ComputeType comp_type, int n, [Out] int[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05nac")] public static extern void nag_rngs_permute( [In,Out] int[] index, int n, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05nac( [In,Out] int[] index, int n, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05nbc")] public static extern void nag_rngs_sample( [In] int[] ipop, int n, [Out] int[] isampl, int m, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05nbc( [In] int[] ipop, int n, [Out] int[] isampl, int m, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ncc")] public static extern void nag_rand_permute( [In,Out] int[] indx, int n, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ncc( [In,Out] int[] indx, int n, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ndc")] public static extern void nag_rand_sample( [In] int[] ipop, int n, [Out] int[] isampl, int m, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ndc( [In] int[] ipop, int n, [Out] int[] isampl, int m, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05nec")] public static extern void nag_rand_sample_unequal( Nag_SortOrder sortorder, [In] double[] wt, [In] int[] ipop, int n, [Out] int[] isampl, int m, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05nec( Nag_SortOrder sortorder, [In] double[] wt, [In] int[] ipop, int n, [Out] int[] isampl, int m, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pac")] public static extern void nag_rngs_arma_time_series( int mode, double xmean, int p, [In] double[] phi, int q, [In] double[] theta, double avar, ref double var, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pac( int mode, double xmean, int p, [In] double[] phi, int q, [In] double[] theta, double avar, ref double var, int n, [Out] double[] x, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pcc")] public static extern void nag_rngs_varma_time_series( Nag_OrderType order, int mode, int k, [In] double[] xmean, int p, [In] double[] phi, int q, [In] double[] theta, [In,Out] double[] var, int pdv, int n, [Out] double[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pcc( Nag_OrderType order, int mode, int k, [In] double[] xmean, int p, [In] double[] phi, int q, [In] double[] theta, [In,Out] double[] var, int pdv, int n, [Out] double[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pdc")] public static extern void nag_rand_agarchI( Nag_ErrorDistn dist, int num, int ip, int iq, [In] double[] theta, double gamma, int df, [Out] double[] ht, [Out] double[] et, Nag_Boolean fcall, [In,Out] double[] r, int lr, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pdc( Nag_ErrorDistn dist, int num, int ip, int iq, [In] double[] theta, double gamma, int df, [Out] double[] ht, [Out] double[] et, Nag_Boolean fcall, [In,Out] double[] r, int lr, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pec")] public static extern void nag_rand_agarchII( Nag_ErrorDistn dist, int num, int ip, int iq, [In] double[] theta, double gamma, int df, [Out] double[] ht, [Out] double[] et, Nag_Boolean fcall, [In,Out] double[] r, int lr, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pec( Nag_ErrorDistn dist, int num, int ip, int iq, [In] double[] theta, double gamma, int df, [Out] double[] ht, [Out] double[] et, Nag_Boolean fcall, [In,Out] double[] r, int lr, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pfc")] public static extern void nag_rand_garchGJR( Nag_ErrorDistn dist, int num, int ip, int iq, [In] double[] theta, double gamma, int df, [Out] double[] ht, [Out] double[] et, Nag_Boolean fcall, [In,Out] double[] r, int lr, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pfc( Nag_ErrorDistn dist, int num, int ip, int iq, [In] double[] theta, double gamma, int df, [Out] double[] ht, [Out] double[] et, Nag_Boolean fcall, [In,Out] double[] r, int lr, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pgc")] public static extern void nag_rand_egarch( Nag_ErrorDistn dist, int num, int ip, int iq, [In] double[] theta, int df, [Out] double[] ht, [Out] double[] et, Nag_Boolean fcall, [In,Out] double[] r, int lr, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pgc( Nag_ErrorDistn dist, int num, int ip, int iq, [In] double[] theta, int df, [Out] double[] ht, [Out] double[] et, Nag_Boolean fcall, [In,Out] double[] r, int lr, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05phc")] public static extern void nag_rand_arma( Nag_ModeRNG mode, int n, double xmean, int ip, [In] double[] phi, int iq, [In] double[] theta, double avar, [In,Out] double[] r, int lr, [In,Out] int[] state, ref double var, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05phc( Nag_ModeRNG mode, int n, double xmean, int ip, [In] double[] phi, int iq, [In] double[] theta, double avar, [In,Out] double[] r, int lr, [In,Out] int[] state, ref double var, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pjc")] public static extern void nag_rand_varma( Nag_OrderType order, Nag_ModeRNG mode, int n, int k, [In] double[] xmean, int p, [In] double[] phi, int q, [In] double[] theta, [In] double[] var, int pdv, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pjc( Nag_OrderType order, Nag_ModeRNG mode, int n, int k, [In] double[] xmean, int p, [In] double[] phi, int q, [In] double[] theta, [In] double[] var, int pdv, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pmc")] public static extern void nag_rand_exp_smooth( Nag_InitialValues mode, int n, Nag_ExpSmoothType itype, int p, [In] double[] param, [In] double[] init, double var, [In,Out] double[] r, [In,Out] int[] state, [In] double[] e, int en, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pmc( Nag_InitialValues mode, int n, Nag_ExpSmoothType itype, int p, [In] double[] param, [In] double[] init, double var, [In,Out] double[] r, [In,Out] int[] state, [In] double[] e, int en, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pxc")] public static extern void nag_rand_orthog_matrix( Nag_SideType side, Nag_InitializeA init, int m, int n, [In,Out] int[] state, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pxc( Nag_SideType side, Nag_InitializeA init, int m, int n, [In,Out] int[] state, [In,Out] double[] a, int pda, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pyc")] public static extern void nag_rand_corr_matrix( int n, [In] double[] d, double eps, [In,Out] int[] state, [Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pyc( int n, [In] double[] d, double eps, [In,Out] int[] state, [Out] double[] c, int pdc, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05pzc")] public static extern void nag_rand_2_way_table( Nag_ModeRNG mode, int nrow, int ncol, [In] int[] totr, [In] int[] totc, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05pzc( Nag_ModeRNG mode, int nrow, int ncol, [In] int[] totr, [In] int[] totc, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05qac")] public static extern void nag_rngs_orthog_matrix( Nag_OrderType order, Nag_SideType side, Nag_InitializeA init, int m, int n, [In,Out] double[] a, int pda, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05qac( Nag_OrderType order, Nag_SideType side, Nag_InitializeA init, int m, int n, [In,Out] double[] a, int pda, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05qbc")] public static extern void nag_rngs_corr_matrix( Nag_OrderType order, int n, [In] double[] d, [Out] double[] c, int pdc, double eps, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05qbc( Nag_OrderType order, int n, [In] double[] d, [Out] double[] c, int pdc, double eps, int igen, [In,Out] int[] iseed, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05qdc")] public static extern void nag_rngs_2_way_table( Nag_OrderType order, int mode, int nrow, int ncol, [In] int[] totr, [In] int[] totc, [Out] int[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, int nr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05qdc( Nag_OrderType order, int mode, int nrow, int ncol, [In] int[] totr, [In] int[] totc, [Out] int[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, int nr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rac")] public static extern void nag_rngs_copula_normal( Nag_OrderType order, int mode, int m, [In] double[] c, int pdc, int n, [Out] double[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, int lr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rac( Nag_OrderType order, int mode, int m, [In] double[] c, int pdc, int n, [Out] double[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, int lr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rbc")] public static extern void nag_rngs_copula_students_t( Nag_OrderType order, int mode, int df, int m, [In] double[] c, int pdc, int n, [Out] double[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, int lr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rbc( Nag_OrderType order, int mode, int df, int m, [In] double[] c, int pdc, int n, [Out] double[] x, int pdx, int igen, [In,Out] int[] iseed, [In,Out] double[] r, int lr, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rcc")] public static extern void nag_rand_copula_students_t( Nag_OrderType order, Nag_ModeRNG mode, int n, int df, int m, [In] double[] c, int pdc, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rcc( Nag_OrderType order, Nag_ModeRNG mode, int n, int df, int m, [In] double[] c, int pdc, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rdc")] public static extern void nag_rand_copula_normal( Nag_OrderType order, Nag_ModeRNG mode, int n, int m, [In] double[] c, int pdc, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rdc( Nag_OrderType order, Nag_ModeRNG mode, int n, int m, [In] double[] c, int pdc, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rec")] public static extern void nag_rand_bivariate_copula_clayton( Nag_OrderType order, [In,Out] int[] state, double theta, int n, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rec( Nag_OrderType order, [In,Out] int[] state, double theta, int n, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rfc")] public static extern void nag_rand_bivariate_copula_frank( Nag_OrderType order, [In,Out] int[] state, double theta, int n, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rfc( Nag_OrderType order, [In,Out] int[] state, double theta, int n, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rgc")] public static extern void nag_rand_bivariate_copula_plackett( Nag_OrderType order, [In,Out] int[] state, double theta, int n, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rgc( Nag_OrderType order, [In,Out] int[] state, double theta, int n, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rhc")] public static extern void nag_rand_copula_clayton( Nag_OrderType order, [In,Out] int[] state, double theta, int n, int m, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rhc( Nag_OrderType order, [In,Out] int[] state, double theta, int n, int m, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rjc")] public static extern void nag_rand_copula_frank( Nag_OrderType order, [In,Out] int[] state, double theta, int n, int m, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rjc( Nag_OrderType order, [In,Out] int[] state, double theta, int n, int m, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rkc")] public static extern void nag_rand_copula_gumbel( Nag_OrderType order, [In,Out] int[] state, double theta, int n, int m, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rkc( Nag_OrderType order, [In,Out] int[] state, double theta, int n, int m, [Out] double[] x, int pdx, int sdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ryc")] public static extern void nag_rand_matrix_multi_students_t( Nag_OrderType order, Nag_ModeRNG mode, int n, int df, int m, [In] double[] xmu, [In] double[] c, int pdc, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ryc( Nag_OrderType order, Nag_ModeRNG mode, int n, int df, int m, [In] double[] xmu, [In] double[] c, int pdc, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05rzc")] public static extern void nag_rand_matrix_multi_normal( Nag_OrderType order, Nag_ModeRNG mode, int n, int m, [In] double[] xmu, [In] double[] c, int pdc, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05rzc( Nag_OrderType order, Nag_ModeRNG mode, int n, int m, [In] double[] xmu, [In] double[] c, int pdc, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05sac")] public static extern void nag_rand_basic( int n, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05sac( int n, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05sbc")] public static extern void nag_rand_beta( int n, double a, double b, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05sbc( int n, double a, double b, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05scc")] public static extern void nag_rand_cauchy( int n, double xmed, double semiqr, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05scc( int n, double xmed, double semiqr, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05sdc")] public static extern void nag_rand_chi_sq( int n, int df, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05sdc( int n, int df, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05sec")] public static extern void nag_rand_dirichlet( Nag_OrderType order, int n, int m, [In] double[] a, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05sec( Nag_OrderType order, int n, int m, [In] double[] a, [In,Out] int[] state, [Out] double[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05sfc")] public static extern void nag_rand_exp( int n, double a, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05sfc( int n, double a, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05sgc")] public static extern void nag_rand_exp_mix( int n, int nmix, [In] double[] a, [In] double[] wgt, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05sgc( int n, int nmix, [In] double[] a, [In] double[] wgt, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05shc")] public static extern void nag_rand_f( int n, int df1, int df2, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05shc( int n, int df1, int df2, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05sjc")] public static extern void nag_rand_gamma( int n, double a, double b, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05sjc( int n, double a, double b, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05skc")] public static extern void nag_rand_normal( int n, double xmu, double var, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05skc( int n, double xmu, double var, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05slc")] public static extern void nag_rand_logistic( int n, double a, double b, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05slc( int n, double a, double b, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05smc")] public static extern void nag_rand_lognormal( int n, double xmu, double var, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05smc( int n, double xmu, double var, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05snc")] public static extern void nag_rand_students_t( int n, int df, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05snc( int n, int df, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05spc")] public static extern void nag_rand_triangular( int n, double xmin, double xmed, double xmax, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05spc( int n, double xmin, double xmed, double xmax, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05sqc")] public static extern void nag_rand_uniform( int n, double a, double b, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05sqc( int n, double a, double b, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05src")] public static extern void nag_rand_von_mises( int n, double vk, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05src( int n, double vk, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ssc")] public static extern void nag_rand_weibull( int n, double a, double b, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ssc( int n, double a, double b, [In,Out] int[] state, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05tac")] public static extern void nag_rand_binomial( Nag_ModeRNG mode, int n, int m, double p, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05tac( Nag_ModeRNG mode, int n, int m, double p, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05tbc")] public static extern void nag_rand_logical( int n, double p, [In,Out] int[] state, [Out] Nag_Boolean[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05tbc( int n, double p, [In,Out] int[] state, [Out] Nag_Boolean[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05tcc")] public static extern void nag_rand_geom( Nag_ModeRNG mode, int n, double p, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05tcc( Nag_ModeRNG mode, int n, double p, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05tdc")] public static extern void nag_rand_gen_discrete( Nag_ModeRNG mode, int n, [In] double[] p, int np, int ip1, Nag_DiscreteDistrib itype, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05tdc( Nag_ModeRNG mode, int n, [In] double[] p, int np, int ip1, Nag_DiscreteDistrib itype, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05tec")] public static extern void nag_rand_hypergeometric( Nag_ModeRNG mode, int n, int ns, int np, int m, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05tec( Nag_ModeRNG mode, int n, int ns, int np, int m, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05tfc")] public static extern void nag_rand_logarithmic( Nag_ModeRNG mode, int n, double a, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05tfc( Nag_ModeRNG mode, int n, double a, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05tgc")] public static extern void nag_rand_gen_multinomial( Nag_OrderType order, Nag_ModeRNG mode, int n, int m, int k, [In] double[] p, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05tgc( Nag_OrderType order, Nag_ModeRNG mode, int n, int m, int k, [In] double[] p, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, int pdx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05thc")] public static extern void nag_rand_neg_bin( Nag_ModeRNG mode, int n, int m, double p, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05thc( Nag_ModeRNG mode, int n, int m, double p, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05tjc")] public static extern void nag_rand_poisson( Nag_ModeRNG mode, int n, double lambda, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05tjc( Nag_ModeRNG mode, int n, double lambda, [In,Out] double[] r, int lr, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05tkc")] public static extern void nag_rand_compd_poisson( int m, [In] double[] vlamda, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05tkc( int m, [In] double[] vlamda, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05tlc")] public static extern void nag_rand_discrete_uniform( int n, int a, int b, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05tlc( int n, int a, int b, [In,Out] int[] state, [Out] int[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05yac")] public static extern void nag_quasi_random_uniform( Nag_QuasiRandom_State state, Nag_QuasiRandom_Sequence seq, int iskip, int idim, [Out] double[] quasi, ref Nag_QuasiRandom gf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05yac( Nag_QuasiRandom_State state, Nag_QuasiRandom_Sequence seq, int iskip, int idim, [Out] double[] quasi, ref Nag_QuasiRandom gf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ybc")] public static extern void nag_quasi_random_normal( Nag_QuasiRandom_State state, Nag_QuasiRandom_Sequence seq, Nag_Distributions lnorm, [In] double[] mean, [In] double[] std, int iskip, int idim, [Out] double[] quasi, ref Nag_QuasiRandom gf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ybc( Nag_QuasiRandom_State state, Nag_QuasiRandom_Sequence seq, Nag_Distributions lnorm, [In] double[] mean, [In] double[] std, int iskip, int idim, [Out] double[] quasi, ref Nag_QuasiRandom gf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05yjc")] public static extern void nag_quasi_rand_normal( Nag_OrderType order, [In] double[] xmean, [In] double[] std, int n, [Out] double[] quas, int pdquas, [In,Out] int[] iref, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05yjc( Nag_OrderType order, [In] double[] xmean, [In] double[] std, int n, [Out] double[] quas, int pdquas, [In,Out] int[] iref, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ykc")] public static extern void nag_quasi_rand_lognormal( Nag_OrderType order, [In] double[] xmean, [In] double[] std, int n, [Out] double[] quas, int pdquas, [In,Out] int[] iref, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ykc( Nag_OrderType order, [In] double[] xmean, [In] double[] std, int n, [Out] double[] quas, int pdquas, [In,Out] int[] iref, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ylc")] public static extern void nag_quasi_init( Nag_QuasiRandom_Sequence genid, int idim, [Out] int[] iref, int liref, int iskip, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ylc( Nag_QuasiRandom_Sequence genid, int idim, [Out] int[] iref, int liref, int iskip, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ymc")] public static extern void nag_quasi_rand_uniform( Nag_OrderType order, int n, [Out] double[] quas, int pdquas, [In,Out] int[] iref, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ymc( Nag_OrderType order, int n, [Out] double[] quas, int pdquas, [In,Out] int[] iref, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g05ync")] public static extern void nag_quasi_init_scrambled( Nag_QuasiRandom_Sequence genid, Nag_QuasiRandom_Scrambling stype, int idim, [Out] int[] iref, int liref, int iskip, int nsdigi, [In,Out] int[] state, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g05ync( Nag_QuasiRandom_Sequence genid, Nag_QuasiRandom_Scrambling stype, int idim, [Out] int[] iref, int liref, int iskip, int nsdigi, [In,Out] int[] state, ref NagError fail ); // chapter g07 [DllImport("CLW3223DA_nag.dll", EntryPoint="g07aac")] public static extern void nag_binomial_ci( int n, int k, double clevel, ref double pl, ref double pu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07aac( int n, int k, double clevel, ref double pl, ref double pu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07abc")] public static extern void nag_poisson_ci( int n, double xmean, double clevel, ref double tl, ref double tu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07abc( int n, double xmean, double clevel, ref double tl, ref double tu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07bbc")] public static extern void nag_censored_normal( Nag_CEMethod method, int n, [In] double[] x, [In] double[] xc, [In] int[] ic, ref double xmu, ref double xsig, double tol, int maxit, ref double sexmu, ref double sexsig, ref double corr, ref double dev, [Out] int[] nobs, ref int nit, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07bbc( Nag_CEMethod method, int n, [In] double[] x, [In] double[] xc, [In] int[] ic, ref double xmu, ref double xsig, double tol, int maxit, ref double sexmu, ref double sexsig, ref double corr, ref double dev, [Out] int[] nobs, ref int nit, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07bec")] public static extern void nag_estim_weibull( Nag_CestMethod cens, int n, [In] double[] x, [In] int[] ic, ref double beta, ref double gamma, double tol, int maxit, ref double sebeta, ref double segam, ref double corr, ref double dev, ref int nit, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07bec( Nag_CestMethod cens, int n, [In] double[] x, [In] int[] ic, ref double beta, ref double gamma, double tol, int maxit, ref double sebeta, ref double segam, ref double corr, ref double dev, ref int nit, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07bfc")] public static extern void nag_estim_gen_pareto( int n, [In] double[] y, Nag_OptimOpt optopt, ref double xi, ref double beta, [Out] double[] asvc, [Out] double[] obsvc, ref double ll, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07bfc( int n, [In] double[] y, Nag_OptimOpt optopt, ref double xi, ref double beta, [Out] double[] asvc, [Out] double[] obsvc, ref double ll, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07cac")] public static extern void nag_2_sample_t_test( Nag_TailProbability tail, Nag_PopVar equal, int nx, int ny, double xmean, double ymean, double xstd, double ystd, double clevel, ref double t, ref double df, ref double prob, ref double dl, ref double du, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07cac( Nag_TailProbability tail, Nag_PopVar equal, int nx, int ny, double xmean, double ymean, double xstd, double ystd, double clevel, ref double t, ref double df, ref double prob, ref double dl, ref double du, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07dac")] public static extern void nag_median_1var( int n, [In] double[] x, [Out] double[] y, ref double xme, ref double xmd, ref double xsd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07dac( int n, [In] double[] x, [Out] double[] y, ref double xme, ref double xmd, ref double xsd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07dbc")] public static extern void nag_robust_m_estim_1var( Nag_SigmaSimulEst sigma_est, int n, [In] double[] x, Nag_PsiFun psifun, double c, double h1, double h2, double h3, double dchi, ref double theta, ref double sigma, int maxit, double tol, [Out] double[] rs, ref int nit, [Out] double[] sorted_x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07dbc( Nag_SigmaSimulEst sigma_est, int n, [In] double[] x, Nag_PsiFun psifun, double c, double h1, double h2, double h3, double dchi, ref double theta, ref double sigma, int maxit, double tol, [Out] double[] rs, ref int nit, [Out] double[] sorted_x, ref NagError fail ); public delegate double nag_robust_m_estim_1var_usr_chi_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double nag_robust_m_estim_1var_usr_psi_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07dcc")] public static extern void nag_robust_m_estim_1var_usr( nag_robust_m_estim_1var_usr_chi_DELEGATE chi, nag_robust_m_estim_1var_usr_psi_DELEGATE psi, int isigma, int n, [In] double[] x, double beta, ref double theta, ref double sigma, int maxit, double tol, [Out] double[] rs, ref int nit, ref Nag_Comm COMM, ref NagError fail ); public delegate double g07dcc_chi_DELEGATE( double t, ref Nag_Comm COMM ); public delegate double g07dcc_psi_DELEGATE( double t, ref Nag_Comm COMM ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07dcc( g07dcc_chi_DELEGATE chi, g07dcc_psi_DELEGATE psi, int isigma, int n, [In] double[] x, double beta, ref double theta, ref double sigma, int maxit, double tol, [Out] double[] rs, ref int nit, ref Nag_Comm COMM, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07ddc")] public static extern void nag_robust_trimmed_1var( int n, [In] double[] x, double alpha, ref double tmean, ref double wmean, ref double tvar, ref double wvar, ref int k, [Out] double[] sx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07ddc( int n, [In] double[] x, double alpha, ref double tmean, ref double wmean, ref double tvar, ref double wvar, ref int k, [Out] double[] sx, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07eac")] public static extern void nag_rank_ci_1var( Nag_RCIMethod method, int n, [In] double[] x, double clevel, ref double theta, ref double thetal, ref double thetau, ref double estcl, ref double wlower, ref double wupper, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07eac( Nag_RCIMethod method, int n, [In] double[] x, double clevel, ref double theta, ref double thetal, ref double thetau, ref double estcl, ref double wlower, ref double wupper, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07ebc")] public static extern void nag_rank_ci_2var( Nag_RCIMethod method, int n, [In] double[] x, int m, [In] double[] y, double clevel, ref double theta, ref double thetal, ref double thetau, ref double estcl, ref double ulower, ref double uupper, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07ebc( Nag_RCIMethod method, int n, [In] double[] x, int m, [In] double[] y, double clevel, ref double theta, ref double thetal, ref double thetau, ref double estcl, ref double ulower, ref double uupper, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07gac")] public static extern void nag_outlier_peirce( int n, int p, [In] double[] y, double mean, double var, [Out] int[] iout, ref int niout, int ldiff, [Out] double[] diff, [Out] double[] llamb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g07gac( int n, int p, [In] double[] y, double mean, double var, [Out] int[] iout, ref int niout, int ldiff, [Out] double[] diff, [Out] double[] llamb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g07gbc")] public static extern bool nag_outlier_peirce_two_var( int n, double e, double var1, double var2, ref double x, ref double lx, ref double ux, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern bool g07gbc( int n, double e, double var1, double var2, ref double x, ref double lx, ref double ux, ref NagError fail ); // chapter g08 [DllImport("CLW3223DA_nag.dll", EntryPoint="g08aac")] public static extern void nag_sign_test( int n, [In] double[] x, [In] double[] y, ref int s, ref double p, ref int non_tied, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08aac( int n, [In] double[] x, [In] double[] y, ref int s, ref double p, ref int non_tied, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08acc")] public static extern void nag_median_test( int n1, [In] double[] x, int n2, [In] double[] y, ref int below, ref int above, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08acc( int n1, [In] double[] x, int n2, [In] double[] y, ref int below, ref int above, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08aec")] public static extern void nag_friedman_test( int k, int n, [In] double[] x, int tdx, ref double fr, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08aec( int k, int n, [In] double[] x, int tdx, ref double fr, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08afc")] public static extern void nag_kruskal_wallis_test( int k, [In] int[] l, [In] double[] x, int lx, ref double h, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08afc( int k, [In] int[] l, [In] double[] x, int lx, ref double h, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08agc")] public static extern void nag_wilcoxon_test( int n, [In] double[] x, double median, Nag_TailProbability tail, Nag_IncSignZeros zeros, ref double w, ref double z, ref double p, ref int non_zero, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08agc( int n, [In] double[] x, double median, Nag_TailProbability tail, Nag_IncSignZeros zeros, ref double w, ref double z, ref double p, ref int non_zero, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08amc")] public static extern void nag_mann_whitney( int n1, [In] double[] x, int n2, [In] double[] y, Nag_TailProbability tail, Nag_CompProb exact, ref double u, ref double z, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08amc( int n1, [In] double[] x, int n2, [In] double[] y, Nag_TailProbability tail, Nag_CompProb exact, ref double u, ref double z, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08cbc")] public static extern void nag_1_sample_ks_test( int n, [In] double[] x, Nag_Distributions dist, [In,Out] double[] par, Nag_ParaEstimates estima, Nag_TestStatistics dtype, ref double d, ref double z, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08cbc( int n, [In] double[] x, Nag_Distributions dist, [In,Out] double[] par, Nag_ParaEstimates estima, Nag_TestStatistics dtype, ref double d, ref double z, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08cdc")] public static extern void nag_2_sample_ks_test( int n1, [In] double[] x, int n2, [In] double[] y, Nag_TestStatistics dtype, ref double d, ref double z, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08cdc( int n1, [In] double[] x, int n2, [In] double[] y, Nag_TestStatistics dtype, ref double d, ref double z, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08cgc")] public static extern void nag_chi_sq_goodness_of_fit_test( int nclass, [In] int[] ifreq, [In] double[] ci, Nag_Distributions dist, [In] double[] par, int npest, [In] double[] prob, ref double chisq, ref double p, ref int ndf, [Out] double[] eval, [Out] double[] chisqi, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08cgc( int nclass, [In] int[] ifreq, [In] double[] ci, Nag_Distributions dist, [In] double[] par, int npest, [In] double[] prob, ref double chisq, ref double p, ref int ndf, [Out] double[] eval, [Out] double[] chisqi, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08chc")] public static extern double nag_anderson_darling_stat( int n, Nag_Boolean issort, [In,Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double g08chc( int n, Nag_Boolean issort, [In,Out] double[] y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08cjc")] public static extern void nag_anderson_darling_uniform_prob( int n, Nag_Boolean issort, [In,Out] double[] y, ref double a2, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08cjc( int n, Nag_Boolean issort, [In,Out] double[] y, ref double a2, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08ckc")] public static extern void nag_anderson_darling_normal_prob( int n, Nag_Boolean issort, [In] double[] y, ref double ybar, ref double yvar, ref double a2, ref double aa2, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08ckc( int n, Nag_Boolean issort, [In] double[] y, ref double ybar, ref double yvar, ref double a2, ref double aa2, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08clc")] public static extern void nag_anderson_darling_exp_prob( int n, Nag_Boolean issort, [In] double[] y, ref double ybar, ref double a2, ref double aa2, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08clc( int n, Nag_Boolean issort, [In] double[] y, ref double ybar, ref double a2, ref double aa2, ref double p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08eac")] public static extern void nag_runs_test( int n, [In] double[] x, int max_run, ref int nruns, ref double chi, ref double df, ref double prob, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08eac( int n, [In] double[] x, int max_run, ref int nruns, ref double chi, ref double df, ref double prob, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08ebc")] public static extern void nag_pairs_test( int n, [In] double[] x, int max_count, int lag, ref double chi, ref double df, ref double prob, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08ebc( int n, [In] double[] x, int max_count, int lag, ref double chi, ref double df, ref double prob, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08ecc")] public static extern void nag_triplets_test( int n, [In] double[] x, int max_count, ref double chi, ref double df, ref double prob, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08ecc( int n, [In] double[] x, int max_count, ref double chi, ref double df, ref double prob, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08edc")] public static extern void nag_gaps_test( int n, [In] double[] x, int num_gaps, int max_gap, double lower, double upper, double length, ref double chi, ref double df, ref double prob, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08edc( int n, [In] double[] x, int num_gaps, int max_gap, double lower, double upper, double length, ref double chi, ref double df, ref double prob, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08rac")] public static extern void nag_rank_regsn( Nag_OrderType order, int ns, [In,Out] int[] nv, [In] double[] y, int p, [In] double[] x, int pdx, int idist, int nmax, double tol, [Out] double[] prvr, int pdparvar, [Out] int[] irank, [Out] double[] zin, [Out] double[] eta, [Out] double[] vapvec, [Out] double[] parest, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08rac( Nag_OrderType order, int ns, [In,Out] int[] nv, [In] double[] y, int p, [In] double[] x, int pdx, int idist, int nmax, double tol, [Out] double[] prvr, int pdparvar, [Out] int[] irank, [Out] double[] zin, [Out] double[] eta, [Out] double[] vapvec, [Out] double[] parest, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g08rbc")] public static extern void nag_rank_regsn_censored( Nag_OrderType order, int ns, [In] int[] nv, [In] double[] y, int p, [In] double[] x, int pdx, [In] int[] icen, double gamma, int nmax, double tol, [Out] double[] prvr, int pdprvr, [Out] int[] irank, [Out] double[] zin, [Out] double[] eta, [Out] double[] vapvec, [Out] double[] parest, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g08rbc( Nag_OrderType order, int ns, [In] int[] nv, [In] double[] y, int p, [In] double[] x, int pdx, [In] int[] icen, double gamma, int nmax, double tol, [Out] double[] prvr, int pdprvr, [Out] int[] irank, [Out] double[] zin, [Out] double[] eta, [Out] double[] vapvec, [Out] double[] parest, ref NagError fail ); // chapter g10 [DllImport("CLW3223DA_nag.dll", EntryPoint="g10abc")] public static extern void nag_smooth_spline_fit( Nag_SmoothFitType mode, int n, [In] double[] x, [In] double[] y, [In] double[] weights, double rho, [Out] double[] yhat, [In,Out] double[] coeff, ref double rss, ref double df, [Out] double[] res, [Out] double[] h, [In,Out] double[] comm_ar, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g10abc( Nag_SmoothFitType mode, int n, [In] double[] x, [In] double[] y, [In] double[] weights, double rho, [Out] double[] yhat, [In,Out] double[] coeff, ref double rss, ref double df, [Out] double[] res, [Out] double[] h, [In,Out] double[] comm_ar, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g10acc")] public static extern void nag_smooth_spline_estim( Nag_SmoothParamMethods method, int n, [In] double[] x, [In] double[] y, [In] double[] weights, [Out] double[] yhat, [Out] double[] coeff, ref double rss, ref double df, [Out] double[] res, [Out] double[] h, ref double crit, ref double rho, double u, double tol, int maxcal, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g10acc( Nag_SmoothParamMethods method, int n, [In] double[] x, [In] double[] y, [In] double[] weights, [Out] double[] yhat, [Out] double[] coeff, ref double rss, ref double df, [Out] double[] res, [Out] double[] h, ref double crit, ref double rho, double u, double tol, int maxcal, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g10bac")] public static extern void nag_kernel_density_estim( int n, [In] double[] x, double window, double low, double high, int ns, [Out] double[] smooth, [Out] double[] t, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g10bac( int n, [In] double[] x, double window, double low, double high, int ns, [Out] double[] smooth, [Out] double[] t, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g10cac")] public static extern void nag_running_median_smoother( Nag_Smooth_Type smoother, int n, [In] double[] y, [Out] double[] smooth, [Out] double[] rough, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g10cac( Nag_Smooth_Type smoother, int n, [In] double[] y, [Out] double[] smooth, [Out] double[] rough, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g10zac")] public static extern void nag_order_data( int n, [In] double[] x, [In] double[] y, [In] double[] weights, ref int nord, [Out] double[] xord, [Out] double[] yord, [Out] double[] wwt, ref double rss, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g10zac( int n, [In] double[] x, [In] double[] y, [In] double[] weights, ref int nord, [Out] double[] xord, [Out] double[] yord, [Out] double[] wwt, ref double rss, ref NagError fail ); // chapter g11 [DllImport("CLW3223DA_nag.dll", EntryPoint="g11aac")] public static extern void nag_chi_sq_2_way_table( int nrow, int ncol, [In] int[] nobst, int tdt, [Out] double[] expt, [Out] double[] chist, ref double prob, ref double chi, ref double g, ref double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g11aac( int nrow, int ncol, [In] int[] nobst, int tdt, [Out] double[] expt, [Out] double[] chist, ref double prob, ref double chi, ref double g, ref double df, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g11bac")] public static extern void nag_tabulate_stats( Nag_TableStats stat, Nag_TableUpdate update, Nag_Weightstype weight, int n, int nfac, [In] int[] sf, [In] int[] lfac, [In] int[] factor, int tdf, [In] double[] y, [In] double[] wt, [In,Out] double[] table, int maxt, ref int ncells, ref int ndim, [Out] int[] idim, [In,Out] int[] count, [In,Out] double[] comm_ar, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g11bac( Nag_TableStats stat, Nag_TableUpdate update, Nag_Weightstype weight, int n, int nfac, [In] int[] sf, [In] int[] lfac, [In] int[] factor, int tdf, [In] double[] y, [In] double[] wt, [In,Out] double[] table, int maxt, ref int ncells, ref int ndim, [Out] int[] idim, [In,Out] int[] count, [In,Out] double[] comm_ar, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g11bbc")] public static extern void nag_tabulate_percentile( Nag_TabulateVar typ, int n, int nfac, [In] int[] sf, [In] int[] lfac, [In] int[] factor, int tdf, double percnt, [In] double[] y, [In] double[] wt, [Out] double[] table, int maxt, ref int ncells, ref int ndim, [Out] int[] idim, [Out] int[] count, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g11bbc( Nag_TabulateVar typ, int n, int nfac, [In] int[] sf, [In] int[] lfac, [In] int[] factor, int tdf, double percnt, [In] double[] y, [In] double[] wt, [Out] double[] table, int maxt, ref int ncells, ref int ndim, [Out] int[] idim, [Out] int[] count, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g11bcc")] public static extern void nag_tabulate_margin( Nag_TableStats stat, [In] double[] table, int ncells, int ndim, [In] int[] idim, [In] int[] isdim, [Out] double[] sub_table, int maxst, ref int mcells, ref int mdim, [Out] int[] mlevel, [Out] double[] comm_ar, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g11bcc( Nag_TableStats stat, [In] double[] table, int ncells, int ndim, [In] int[] idim, [In] int[] isdim, [Out] double[] sub_table, int maxst, ref int mcells, ref int mdim, [Out] int[] mlevel, [Out] double[] comm_ar, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g11cac")] public static extern void nag_condl_logistic( Nag_OrderType order, int n, int m, int ns, [In] double[] z, int pdz, [In] int[] isz, int p, [In] int[] ic, [In] int[] isi, ref double dev, [In,Out] double[] b, [Out] double[] se, [Out] double[] sc, [Out] double[] cov, [Out] int[] nca, [Out] int[] nct, double tol, int maxit, int iprint, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g11cac( Nag_OrderType order, int n, int m, int ns, [In] double[] z, int pdz, [In] int[] isz, int p, [In] int[] ic, [In] int[] isi, ref double dev, [In,Out] double[] b, [Out] double[] se, [Out] double[] sc, [Out] double[] cov, [Out] int[] nca, [Out] int[] nct, double tol, int maxit, int iprint, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g11sac")] public static extern void nag_binary_factor( Nag_OrderType order, int p, int n, Nag_Boolean gprob, int ns, [In,Out] Nag_Boolean[] x, int pdx, [In,Out] int[] irl, [In,Out] double[] a, [In,Out] double[] c, int iprint, String outfile, double cgetol, int maxit, Nag_Boolean chisqr, ref int niter, [Out] double[] alpha, [Out] double[] pigam, [Out] double[] cm, int pdcm, [Out] double[] g, [Out] double[] expp, int pde, [Out] double[] obs, [Out] double[] exf, [Out] double[] y, [Out] int[] iob, ref double rlogl, ref double chi, ref int idf, ref double siglev, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g11sac( Nag_OrderType order, int p, int n, Nag_Boolean gprob, int ns, [In,Out] Nag_Boolean[] x, int pdx, [In,Out] int[] irl, [In,Out] double[] a, [In,Out] double[] c, int iprint, String outfile, double cgetol, int maxit, Nag_Boolean chisqr, ref int niter, [Out] double[] alpha, [Out] double[] pigam, [Out] double[] cm, int pdcm, [Out] double[] g, [Out] double[] expp, int pde, [Out] double[] obs, [Out] double[] exf, [Out] double[] y, [Out] int[] iob, ref double rlogl, ref double chi, ref int idf, ref double siglev, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g11sbc")] public static extern void nag_binary_factor_service( Nag_OrderType order, int p, int n, ref int ns, [In,Out] Nag_Boolean[] x, int pdx, [Out] int[] irl, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g11sbc( Nag_OrderType order, int p, int n, ref int ns, [In,Out] Nag_Boolean[] x, int pdx, [Out] int[] irl, ref NagError fail ); // chapter g12 [DllImport("CLW3223DA_nag.dll", EntryPoint="g12aac")] public static extern void nag_prod_limit_surviv_fn( int n, [In] double[] t, [In] int[] ic, [In] int[] freq, ref int nd, [Out] double[] tp, [Out] double[] p, [Out] double[] psig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g12aac( int n, [In] double[] t, [In] int[] ic, [In] int[] freq, ref int nd, [Out] double[] tp, [Out] double[] p, [Out] double[] psig, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g12abc")] public static extern void nag_surviv_logrank( int n, [In] double[] t, [In] int[] ic, [In] int[] grp, int ngrp, [In] int[] ifreq, [In] double[] wt, ref double ts, ref int df, ref double p, [Out] double[] obsd, [Out] double[] expt, ref int nd, [Out] int[] di, [Out] int[] ni, int ldn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g12abc( int n, [In] double[] t, [In] int[] ic, [In] int[] grp, int ngrp, [In] int[] ifreq, [In] double[] wt, ref double ts, ref int df, ref double p, [Out] double[] obsd, [Out] double[] expt, ref int nd, [Out] int[] di, [Out] int[] ni, int ldn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g12bac")] public static extern void nag_surviv_cox_model( int n, int m, int ns, [In] double[] z, int tdz, [In] int[] sz, int ip, [In] double[] t, [In] int[] ic, [In] double[] omega, [In] int[] isi, ref double dev, [In,Out] double[] b, [Out] double[] se, [Out] double[] sc, [Out] double[] cov, [Out] double[] res, ref int nd, [Out] double[] tp, [Out] double[] sur, int tdsur, int ndmax, double tol, int max_iter, int iprint, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g12bac( int n, int m, int ns, [In] double[] z, int tdz, [In] int[] sz, int ip, [In] double[] t, [In] int[] ic, [In] double[] omega, [In] int[] isi, ref double dev, [In,Out] double[] b, [Out] double[] se, [Out] double[] sc, [Out] double[] cov, [Out] double[] res, ref int nd, [Out] double[] tp, [Out] double[] sur, int tdsur, int ndmax, double tol, int max_iter, int iprint, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g12zac")] public static extern void nag_surviv_risk_sets( Nag_OrderType order, int n, int m, int ns, [In] double[] z, int pdz, [In] int[] isz, int ip, [In] double[] t, [In] int[] ic, [In] int[] isi, ref int num, [Out] int[] ixs, ref int nxs, [Out] double[] x, int mxn, [Out] int[] id, ref int nd, [Out] double[] tp, [Out] int[] irs, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g12zac( Nag_OrderType order, int n, int m, int ns, [In] double[] z, int pdz, [In] int[] isz, int ip, [In] double[] t, [In] int[] ic, [In] int[] isi, ref int num, [Out] int[] ixs, ref int nxs, [Out] double[] x, int mxn, [Out] int[] id, ref int nd, [Out] double[] tp, [Out] int[] irs, ref NagError fail ); // chapter g13 [DllImport("CLW3223DA_nag.dll", EntryPoint="g13aac")] public static extern void nag_tsa_diff( [In] double[] x, int nx, int d, int ds, int s, [Out] double[] xd, ref int nxd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13aac( [In] double[] x, int nx, int d, int ds, int s, [Out] double[] xd, ref int nxd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13abc")] public static extern void nag_tsa_auto_corr( [In] double[] x, int nx, int nk, ref double mean, ref double var, [Out] double[] r, ref double stat, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13abc( [In] double[] x, int nx, int nk, ref double mean, ref double var, [Out] double[] r, ref double stat, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13acc")] public static extern void nag_tsa_auto_corr_part( [In] double[] r, int nk, int nl, [Out] double[] p, [Out] double[] v, [Out] double[] ar, ref int nvl, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13acc( [In] double[] r, int nk, int nl, [Out] double[] p, [Out] double[] v, [Out] double[] ar, ref int nvl, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13amc")] public static extern void nag_tsa_exp_smooth( Nag_InitialValues mode, Nag_ExpSmoothType itype, int p, [In] double[] param, int n, [In] double[] y, int k, [In,Out] double[] init, int nf, [Out] double[] fv, [Out] double[] fse, [Out] double[] yhat, [Out] double[] res, ref double dv, ref double ad, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13amc( Nag_InitialValues mode, Nag_ExpSmoothType itype, int p, [In] double[] param, int n, [In] double[] y, int k, [In,Out] double[] init, int nf, [Out] double[] fv, [Out] double[] fse, [Out] double[] yhat, [Out] double[] res, ref double dv, ref double ad, [In,Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13asc")] public static extern void nag_tsa_resid_corr( ref Nag_ArimaOrder arimav, int n, [In] double[] v, int m, [In] double[] par, int narma, [Out] double[] r, [Out] double[] rc, int tdrc, ref double chi, ref int df, ref double siglev, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13asc( ref Nag_ArimaOrder arimav, int n, [In] double[] v, int m, [In] double[] par, int narma, [Out] double[] r, [Out] double[] rc, int tdrc, ref double chi, ref int df, ref double siglev, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13auc")] public static extern void nag_tsa_mean_range( int n, [In] double[] z, int m, Nag_RangeStat rs, [Out] double[] y, [Out] double[] mean, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13auc( int n, [In] double[] z, int m, Nag_RangeStat rs, [Out] double[] y, [Out] double[] mean, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13bac")] public static extern void nag_tsa_arma_filter( [In] double[] y, int ny, ref Nag_ArimaOrder arimaf, ref Nag_ArimaOrder arimav, [In] double[] par, int npar, double cy, [Out] double[] b, int nb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13bac( [In] double[] y, int ny, ref Nag_ArimaOrder arimaf, ref Nag_ArimaOrder arimav, [In] double[] par, int npar, double cy, [Out] double[] b, int nb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13bbc")] public static extern void nag_tsa_transf_filter( [In] double[] y, int ny, ref Nag_TransfOrder transfv, ref Nag_ArimaOrder arimas, [In] double[] par, int npar, double cy, [Out] double[] b, int nb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13bbc( [In] double[] y, int ny, ref Nag_TransfOrder transfv, ref Nag_ArimaOrder arimas, [In] double[] par, int npar, double cy, [Out] double[] b, int nb, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13bcc")] public static extern void nag_tsa_cross_corr( [In] double[] x, [In] double[] y, int nxy, int nl, ref double s, ref double r0, [Out] double[] r, ref double stat, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13bcc( [In] double[] x, [In] double[] y, int nxy, int nl, ref double s, ref double r0, [Out] double[] r, ref double stat, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13bdc")] public static extern void nag_tsa_transf_prelim_fit( double r0, [In] double[] r, int nl, ref Nag_TransfOrder transfv, double s, [Out] double[] wds, [Out] int[] isf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13bdc( double r0, [In] double[] r, int nl, ref Nag_TransfOrder transfv, double s, [Out] double[] wds, [Out] int[] isf, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13bec")] public static extern void nag_tsa_multi_inp_model_estim( ref Nag_ArimaOrder arimav, int nseries, ref Nag_TransfOrder transfv, [In,Out] double[] para, int npara, int nxxy, [In] double[] xxy, int tdxxy, [Out] double[] sd, ref double rss, ref double objf, ref double df, ref Nag_G13_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13bec( ref Nag_ArimaOrder arimav, int nseries, ref Nag_TransfOrder transfv, [In,Out] double[] para, int npara, int nxxy, [In] double[] xxy, int tdxxy, [Out] double[] sd, ref double rss, ref double objf, ref double df, ref Nag_G13_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13bgc")] public static extern void nag_tsa_multi_inp_update( ref Nag_ArimaOrder arimav, int nser, ref Nag_TransfOrder transfv, [In] double[] para, int npara, int nnv, [In,Out] double[] xxyn, int tdxxyn, int kzef, ref Nag_G13_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13bgc( ref Nag_ArimaOrder arimav, int nser, ref Nag_TransfOrder transfv, [In] double[] para, int npara, int nnv, [In,Out] double[] xxyn, int tdxxyn, int kzef, ref Nag_G13_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13bjc")] public static extern void nag_tsa_multi_inp_model_forecast( ref Nag_ArimaOrder arimav, int nseries, ref Nag_TransfOrder transfv, [In,Out] double[] para, int npara, int nev, int nfv, [In] double[] xxy, int tdxxy, [In,Out] double[] rmsxy, [In] int[] mrx, int tdmrx, [In] double[] parx, int ldparx, int tdparx, [Out] double[] fva, [Out] double[] fsd, ref Nag_G13_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13bjc( ref Nag_ArimaOrder arimav, int nseries, ref Nag_TransfOrder transfv, [In,Out] double[] para, int npara, int nev, int nfv, [In] double[] xxy, int tdxxy, [In,Out] double[] rmsxy, [In] int[] mrx, int tdmrx, [In] double[] parx, int ldparx, int tdparx, [Out] double[] fva, [Out] double[] fsd, ref Nag_G13_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13bxc")] public static extern void nag_tsa_options_init( ref Nag_G13_Opt ops ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13bxc( ref Nag_G13_Opt ops ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13byc")] public static extern void nag_tsa_transf_orders( int nseries, ref Nag_TransfOrder transfv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13byc( int nseries, ref Nag_TransfOrder transfv, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13bzc")] public static extern void nag_tsa_trans_free( ref Nag_TransfOrder transfv ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13bzc( ref Nag_TransfOrder transfv ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13cac")] public static extern void nag_tsa_spectrum_univar_cov( int nx, int mtx, double px, int iw, int mw, int ic, int nc, [In,Out] double[] c, int kc, int l, Nag_LoggedSpectra lg_spect, int nxg, [In,Out] double[] xg, ref int ng, [Out] double[] stats, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13cac( int nx, int mtx, double px, int iw, int mw, int ic, int nc, [In,Out] double[] c, int kc, int l, Nag_LoggedSpectra lg_spect, int nxg, [In,Out] double[] xg, ref int ng, [Out] double[] stats, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13cbc")] public static extern void nag_tsa_spectrum_univar( int nx, NagMeanOrTrend mt_correction, double px, int mw, double pw, int l, int kc, Nag_LoggedSpectra lg_spect, [In] double[] x, ref IntPtr gPTR, ref int ng, [Out] double[] stats, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13cbc( int nx, NagMeanOrTrend mt_correction, double px, int mw, double pw, int l, int kc, Nag_LoggedSpectra lg_spect, [In] double[] x, ref IntPtr gPTR, ref int ng, [Out] double[] stats, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13ccc")] public static extern void nag_tsa_spectrum_bivar_cov( int nxy, NagMeanOrTrend mtxy_correction, double pxy, int iw, int mw, int ish, int ic, int nc, [In,Out] double[] cxy, [In,Out] double[] cyx, int kc, int l, [In,Out] double[] xg, [In,Out] double[] yg, [Out] Complex[] g, ref int ng, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13ccc( int nxy, NagMeanOrTrend mtxy_correction, double pxy, int iw, int mw, int ish, int ic, int nc, [In,Out] double[] cxy, [In,Out] double[] cyx, int kc, int l, [In,Out] double[] xg, [In,Out] double[] yg, [Out] Complex[] g, ref int ng, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13cdc")] public static extern void nag_tsa_spectrum_bivar( int nxy, NagMeanOrTrend mt_correction, double pxy, int mw, int s, double pw, int l, int kc, [In] double[] x, [In] double[] y, ref Complex g, ref int ng, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13cdc( int nxy, NagMeanOrTrend mt_correction, double pxy, int mw, int s, double pw, int l, int kc, [In] double[] x, [In] double[] y, ref Complex g, ref int ng, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13cec")] public static extern void nag_tsa_cross_spectrum_bivar( [In] double[] xg, [In] double[] yg, [In] Complex[] xyg, int ng, [In] double[] stats, [Out] double[] ca, [Out] double[] calw, [Out] double[] caup, ref double t, [Out] double[] sc, [Out] double[] sclw, [Out] double[] scup, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13cec( [In] double[] xg, [In] double[] yg, [In] Complex[] xyg, int ng, [In] double[] stats, [Out] double[] ca, [Out] double[] calw, [Out] double[] caup, ref double t, [Out] double[] sc, [Out] double[] sclw, [Out] double[] scup, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13cfc")] public static extern void nag_tsa_gain_phase_bivar( [In] double[] xg, [In] double[] yg, [In] Complex[] xyg, int ng, [In] double[] stats, [Out] double[] gn, [Out] double[] gnlw, [Out] double[] gnup, [Out] double[] ph, [Out] double[] phlw, [Out] double[] phup, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13cfc( [In] double[] xg, [In] double[] yg, [In] Complex[] xyg, int ng, [In] double[] stats, [Out] double[] gn, [Out] double[] gnlw, [Out] double[] gnup, [Out] double[] ph, [Out] double[] phlw, [Out] double[] phup, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13cgc")] public static extern void nag_tsa_noise_spectrum_bivar( [In] double[] xg, [In] double[] yg, [In] Complex[] xyg, int ng, [In] double[] stats, int l, int n, [Out] double[] er, ref double erlw, ref double erup, [Out] double[] rf, ref double rfse, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13cgc( [In] double[] xg, [In] double[] yg, [In] Complex[] xyg, int ng, [In] double[] stats, int l, int n, [Out] double[] er, ref double erlw, ref double erup, [Out] double[] rf, ref double rfse, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13dbc")] public static extern void nag_tsa_multi_auto_corr_part( [In] double[] c0, [In] double[] c, int ns, int nl, int nk, [Out] double[] p, ref double v0, [Out] double[] v, [Out] double[] d, [Out] double[] db, [Out] double[] w, [Out] double[] wb, ref int nvp, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13dbc( [In] double[] c0, [In] double[] c, int ns, int nl, int nk, [Out] double[] p, ref double v0, [Out] double[] v, [Out] double[] d, [Out] double[] db, [Out] double[] w, [Out] double[] wb, ref int nvp, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13ddc")] public static extern void nag_tsa_varma_estimate( int k, int n, int ip, int iq, Nag_IncludeMean mean, [In,Out] double[] par, int npar, [In,Out] double[] qq, int kmax, [In] double[] w, [In] Nag_Boolean[] parhld, Nag_Boolean exact, int iprint, double cgetol, int maxcal, int ishow, String outfile, ref int niter, ref double rlogl, [Out] double[] v, [Out] double[] g, [Out] double[] cm, int pdcm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13ddc( int k, int n, int ip, int iq, Nag_IncludeMean mean, [In,Out] double[] par, int npar, [In,Out] double[] qq, int kmax, [In] double[] w, [In] Nag_Boolean[] parhld, Nag_Boolean exact, int iprint, double cgetol, int maxcal, int ishow, String outfile, ref int niter, ref double rlogl, [Out] double[] v, [Out] double[] g, [Out] double[] cm, int pdcm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13djc")] public static extern void nag_tsa_varma_forecast( int k, int n, [In] double[] z, int kmax, [In] int[] tr, [In] int[] id, [In] double[] delta, int ip, int iq, Nag_IncludeMean mean, [In] double[] par, int lpar, [In,Out] double[] qq, [In] double[] v, int lmax, [Out] double[] predz, [Out] double[] sefz, [Out] double[] dnref, int lref, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13djc( int k, int n, [In] double[] z, int kmax, [In] int[] tr, [In] int[] id, [In] double[] delta, int ip, int iq, Nag_IncludeMean mean, [In] double[] par, int lpar, [In,Out] double[] qq, [In] double[] v, int lmax, [Out] double[] predz, [Out] double[] sefz, [Out] double[] dnref, int lref, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13dkc")] public static extern void nag_tsa_varma_update( int k, int lmax, int m, ref IntPtr mlastPTR, [In] double[] z, int kmax, [In,Out] double[] dnref, int lref, [Out] double[] v, [In,Out] double[] predz, [In,Out] double[] sefz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13dkc( int k, int lmax, int m, ref IntPtr mlastPTR, [In] double[] z, int kmax, [In,Out] double[] dnref, int lref, [Out] double[] v, [In,Out] double[] predz, [In,Out] double[] sefz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13dlc")] public static extern void nag_tsa_multi_diff( int k, int n, [In] double[] z, [In] int[] tr, [In] int[] id, [In] double[] delta, [Out] double[] w, ref int nd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13dlc( int k, int n, [In] double[] z, [In] int[] tr, [In] int[] id, [In] double[] delta, [Out] double[] w, ref int nd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13dmc")] public static extern void nag_tsa_multi_cross_corr( Nag_CovOrCorr matrix, int k, int n, int m, [In] double[] w, [Out] double[] wmean, [Out] double[] r0, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13dmc( Nag_CovOrCorr matrix, int k, int n, int m, [In] double[] w, [Out] double[] wmean, [Out] double[] r0, [Out] double[] r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13dnc")] public static extern void nag_tsa_multi_part_lag_corr( int k, int n, int m, [In] double[] r0, [In] double[] r, ref int maxlag, [In,Out] double[] parlag, [Out] double[] x, [Out] double[] pvalue, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13dnc( int k, int n, int m, [In] double[] r0, [In] double[] r, ref int maxlag, [In,Out] double[] parlag, [Out] double[] x, [Out] double[] pvalue, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13dpc")] public static extern void nag_tsa_multi_part_regsn( int k, int n, [In] double[] z, int m, ref int maxlag, [Out] double[] parlag, [Out] double[] se, [Out] double[] qq, [Out] double[] x, [Out] double[] pvalue, [Out] double[] loglhd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13dpc( int k, int n, [In] double[] z, int m, ref int maxlag, [Out] double[] parlag, [Out] double[] se, [Out] double[] qq, [Out] double[] x, [Out] double[] pvalue, [Out] double[] loglhd, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13dsc")] public static extern void nag_tsa_varma_diagnostic( int k, int n, [In] double[] v, int kmax, int ip, int iq, int m, [In] double[] par, [In] Nag_Boolean[] parhld, [In,Out] double[] qq, int ishow, String outfile, [Out] double[] r0, [Out] double[] r, [Out] double[] rcm, int pdrcm, ref double chi, ref int idf, ref double siglev, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13dsc( int k, int n, [In] double[] v, int kmax, int ip, int iq, int m, [In] double[] par, [In] Nag_Boolean[] parhld, [In,Out] double[] qq, int ishow, String outfile, [Out] double[] r0, [Out] double[] r, [Out] double[] rcm, int pdrcm, ref double chi, ref int idf, ref double siglev, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13dxc")] public static extern void nag_tsa_arma_roots( int k, int ip, [In] double[] par, [Out] double[] rr, [Out] double[] ri, [Out] double[] rmod, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13dxc( int k, int ip, [In] double[] par, [Out] double[] rr, [Out] double[] ri, [Out] double[] rmod, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13eac")] public static extern void nag_kalman_sqrt_filt_cov_var( int n, int m, int p, [In,Out] double[] s, int tds, [In] double[] a, int tda, [In] double[] b, int tdb, [In] double[] q, int tdq, [In] double[] c, int tdc, [In] double[] r, int tdr, [Out] double[] k, int tdk, [Out] double[] h, int tdh, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13eac( int n, int m, int p, [In,Out] double[] s, int tds, [In] double[] a, int tda, [In] double[] b, int tdb, [In] double[] q, int tdq, [In] double[] c, int tdc, [In] double[] r, int tdr, [Out] double[] k, int tdk, [Out] double[] h, int tdh, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13ebc")] public static extern void nag_kalman_sqrt_filt_cov_invar( int n, int m, int p, [In,Out] double[] s, int tds, [In] double[] a, int tda, [In] double[] b, int tdb, [In] double[] q, int tdq, [In] double[] c, int tdc, [In] double[] r, int tdr, [Out] double[] k, int tdk, [Out] double[] h, int tdh, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13ebc( int n, int m, int p, [In,Out] double[] s, int tds, [In] double[] a, int tda, [In] double[] b, int tdb, [In] double[] q, int tdq, [In] double[] c, int tdc, [In] double[] r, int tdr, [Out] double[] k, int tdk, [Out] double[] h, int tdh, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13ecc")] public static extern void nag_kalman_sqrt_filt_info_var( int n, int m, int p, Nag_ab_input inp_ab, [In,Out] double[] t, int tdt, [In] double[] ainv, int tda, [In] double[] b, int tdb, [In] double[] rinv, int tdr, [In] double[] c, int tdc, [In] double[] qinv, int tdq, [In,Out] double[] x, [In] double[] rinvy, [In] double[] z, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13ecc( int n, int m, int p, Nag_ab_input inp_ab, [In,Out] double[] t, int tdt, [In] double[] ainv, int tda, [In] double[] b, int tdb, [In] double[] rinv, int tdr, [In] double[] c, int tdc, [In] double[] qinv, int tdq, [In,Out] double[] x, [In] double[] rinvy, [In] double[] z, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13edc")] public static extern void nag_kalman_sqrt_filt_info_invar( int n, int m, int p, [In,Out] double[] t, int tdt, [In] double[] ainv, int tda, [In] double[] ainvb, int tdai, [In] double[] rinv, int tdr, [In] double[] c, int tdc, [In] double[] qinv, int tdq, [In,Out] double[] x, [In] double[] rinvy, [In] double[] z, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13edc( int n, int m, int p, [In,Out] double[] t, int tdt, [In] double[] ainv, int tda, [In] double[] ainvb, int tdai, [In] double[] rinv, int tdr, [In] double[] c, int tdc, [In] double[] qinv, int tdq, [In,Out] double[] x, [In] double[] rinvy, [In] double[] z, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13ewc")] public static extern void nag_trans_hessenberg_observer( int n, int p, Nag_ObserverForm reduceto, [In,Out] double[] a, int tda, [In,Out] double[] c, int tdc, [In,Out] double[] u, int tdu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13ewc( int n, int p, Nag_ObserverForm reduceto, [In,Out] double[] a, int tda, [In,Out] double[] c, int tdc, [In,Out] double[] u, int tdu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13exc")] public static extern void nag_trans_hessenberg_controller( int n, int m, Nag_ControllerForm reduceto, [In,Out] double[] a, int tda, [In,Out] double[] b, int tdb, [In,Out] double[] u, int tdu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13exc( int n, int m, Nag_ControllerForm reduceto, [In,Out] double[] a, int tda, [In,Out] double[] b, int tdb, [In,Out] double[] u, int tdu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13fac")] public static extern void nag_estimate_agarchI( [In] double[] yt, [In] double[] x, int tdx, int num, int p, int q, int nreg, int mn, int isym, [In,Out] double[] theta, [Out] double[] se, [Out] double[] sc, [Out] double[] covar, int tdc, ref double hp, [Out] double[] et, [Out] double[] ht, ref double lgf, Nag_Garch_Stationary_Type stat_opt, Nag_Garch_Est_Initial_Type est_opt, int max_iter, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13fac( [In] double[] yt, [In] double[] x, int tdx, int num, int p, int q, int nreg, int mn, int isym, [In,Out] double[] theta, [Out] double[] se, [Out] double[] sc, [Out] double[] covar, int tdc, ref double hp, [Out] double[] et, [Out] double[] ht, ref double lgf, Nag_Garch_Stationary_Type stat_opt, Nag_Garch_Est_Initial_Type est_opt, int max_iter, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13fbc")] public static extern void nag_forecast_agarchI( int num, int nt, int p, int q, [In] double[] theta, double gamma, [Out] double[] fht, [In] double[] ht, [In] double[] et, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13fbc( int num, int nt, int p, int q, [In] double[] theta, double gamma, [Out] double[] fht, [In] double[] ht, [In] double[] et, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13fcc")] public static extern void nag_estimate_agarchII( [In] double[] yt, [In] double[] x, int tdx, int num, int p, int q, int nreg, int mn, [In,Out] double[] theta, [Out] double[] se, [Out] double[] sc, [Out] double[] covar, int tdc, ref double hp, [Out] double[] et, [Out] double[] ht, ref double lgf, Nag_Garch_Stationary_Type stat_opt, Nag_Garch_Est_Initial_Type est_opt, int max_iter, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13fcc( [In] double[] yt, [In] double[] x, int tdx, int num, int p, int q, int nreg, int mn, [In,Out] double[] theta, [Out] double[] se, [Out] double[] sc, [Out] double[] covar, int tdc, ref double hp, [Out] double[] et, [Out] double[] ht, ref double lgf, Nag_Garch_Stationary_Type stat_opt, Nag_Garch_Est_Initial_Type est_opt, int max_iter, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13fdc")] public static extern void nag_forecast_agarchII( int num, int nt, int p, int q, [In] double[] theta, double gamma, [Out] double[] fht, [In] double[] ht, [In] double[] et, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13fdc( int num, int nt, int p, int q, [In] double[] theta, double gamma, [Out] double[] fht, [In] double[] ht, [In] double[] et, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13fec")] public static extern void nag_estimate_garchGJR( [In] double[] yt, [In] double[] x, int tdx, int num, int p, int q, int nreg, int mn, [In,Out] double[] theta, [Out] double[] se, [Out] double[] sc, [Out] double[] covar, int tdc, ref double hp, [Out] double[] et, [Out] double[] ht, ref double lgf, Nag_Garch_Stationary_Type stat_opt, Nag_Garch_Est_Initial_Type est_opt, int max_iter, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13fec( [In] double[] yt, [In] double[] x, int tdx, int num, int p, int q, int nreg, int mn, [In,Out] double[] theta, [Out] double[] se, [Out] double[] sc, [Out] double[] covar, int tdc, ref double hp, [Out] double[] et, [Out] double[] ht, ref double lgf, Nag_Garch_Stationary_Type stat_opt, Nag_Garch_Est_Initial_Type est_opt, int max_iter, double tol, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13ffc")] public static extern void nag_forecast_garchGJR( int num, int nt, int p, int q, [In] double[] theta, double gamma, [Out] double[] fht, [In] double[] ht, [In] double[] et, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13ffc( int num, int nt, int p, int q, [In] double[] theta, double gamma, [Out] double[] fht, [In] double[] ht, [In] double[] et, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="g13xzc")] public static extern void nag_tsa_free( ref Nag_G13_Opt ops ); [DllImport("CLW3223DA_nag.dll")] public static extern void g13xzc( ref Nag_G13_Opt ops ); // chapter h public delegate void nag_ip_bb_qphess_DELEGATE( int n, int jthcol, IntPtr h_rptr, int tdh, IntPtr x_rptr, IntPtr hx_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll", EntryPoint="h02bbc")] public static extern void nag_ip_bb( int n, int m, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, [In] Nag_Boolean[] intvar, [In] double[] cvec, [In] double[] h, int tdh, nag_ip_bb_qphess_DELEGATE qphess, [In,Out] double[] x, ref double objf, ref Nag_H02_Opt ops, ref Nag_Comm comm, ref NagError fail ); public delegate void h02bbc_qphess_DELEGATE( int n, int jthcol, IntPtr h_rptr, int tdh, IntPtr x_rptr, IntPtr hx_rptr, ref Nag_Comm comm ); [DllImport("CLW3223DA_nag.dll")] public static extern void h02bbc( int n, int m, [In] double[] a, int tda, [In] double[] bl, [In] double[] bu, [In] Nag_Boolean[] intvar, [In] double[] cvec, [In] double[] h, int tdh, h02bbc_qphess_DELEGATE qphess, [In,Out] double[] x, ref double objf, ref Nag_H02_Opt ops, ref Nag_Comm comm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="h02buc")] public static extern void nag_ip_mps_read( String mps_file, Nag_Boolean minimize, ref int n, ref int m, ref IntPtr aPTR, ref IntPtr blPTR, ref IntPtr buPTR, ref IntPtr intvarPTR, ref IntPtr cvecPTR, ref IntPtr xPTR, ref Nag_H02_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void h02buc( String mps_file, Nag_Boolean minimize, ref int n, ref int m, ref IntPtr aPTR, ref IntPtr blPTR, ref IntPtr buPTR, ref IntPtr intvarPTR, ref IntPtr cvecPTR, ref IntPtr xPTR, ref Nag_H02_Opt ops, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="h02bvc")] public static extern void nag_ip_mps_free( ref IntPtr aPTR, ref IntPtr blPTR, ref IntPtr buPTR, ref IntPtr intvarPTR, ref IntPtr cvecPTR, ref IntPtr xPTR ); [DllImport("CLW3223DA_nag.dll")] public static extern void h02bvc( ref IntPtr aPTR, ref IntPtr blPTR, ref IntPtr buPTR, ref IntPtr intvarPTR, ref IntPtr cvecPTR, ref IntPtr xPTR ); [DllImport("CLW3223DA_nag.dll", EntryPoint="h02xxc")] public static extern void nag_ip_init( ref Nag_H02_Opt ops ); [DllImport("CLW3223DA_nag.dll")] public static extern void h02xxc( ref Nag_H02_Opt ops ); [DllImport("CLW3223DA_nag.dll", EntryPoint="h02xyc")] public static extern void nag_ip_read( String nm, String opt_file, ref Nag_H02_Opt ops, Nag_Boolean dnprint, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void h02xyc( String nm, String opt_file, ref Nag_H02_Opt ops, Nag_Boolean dnprint, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="h02xzc")] public static extern void nag_ip_free( ref Nag_H02_Opt ops, String p_name, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void h02xzc( ref Nag_H02_Opt ops, String p_name, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="h03abc")] public static extern void nag_transport( [In] double[] cost, int tdcost, [In] double[] avail, int navail, [In] double[] req, int nreq, int maxit, ref int numit, [Out] double[] optq, [Out] int[] source, [Out] int[] dest, ref double optcost, [Out] double[] unitcost, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void h03abc( [In] double[] cost, int tdcost, [In] double[] avail, int navail, [In] double[] req, int nreq, int maxit, ref int numit, [Out] double[] optq, [Out] int[] source, [Out] int[] dest, ref double optcost, [Out] double[] unitcost, ref NagError fail ); // chapter m01 [DllImport("CLW3223DA_nag.dll", EntryPoint="m01cac")] public static extern void nag_double_sort( [In,Out] double[] vec, int n, Nag_SortOrder order, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void m01cac( [In,Out] double[] vec, int n, Nag_SortOrder order, ref NagError fail ); public delegate int nag_quicksort_compare_DELEGATE( IntPtr a, IntPtr b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="m01csc")] public static extern void nag_quicksort( [In,Out] IntPtr[] vec, int n, int size, IntPtr stride, nag_quicksort_compare_DELEGATE compare, Nag_SortOrder order, ref NagError fail ); public delegate int m01csc_compare_DELEGATE( IntPtr a, IntPtr b ); [DllImport("CLW3223DA_nag.dll")] public static extern void m01csc( [In,Out] IntPtr[] vec, int n, int size, IntPtr stride, m01csc_compare_DELEGATE compare, Nag_SortOrder order, ref NagError fail ); public delegate int nag_stable_sort_compare_DELEGATE( IntPtr a, IntPtr b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="m01ctc")] public static extern void nag_stable_sort( [In,Out] IntPtr[] vec, int n, int size, IntPtr stride, nag_stable_sort_compare_DELEGATE compare, Nag_SortOrder order, ref NagError fail ); public delegate int m01ctc_compare_DELEGATE( IntPtr a, IntPtr b ); [DllImport("CLW3223DA_nag.dll")] public static extern void m01ctc( [In,Out] IntPtr[] vec, int n, int size, IntPtr stride, m01ctc_compare_DELEGATE compare, Nag_SortOrder order, ref NagError fail ); public delegate int nag_chain_sort_compare_DELEGATE( IntPtr a, IntPtr b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="m01cuc")] public static extern void nag_chain_sort( ref IntPtr basePTR, IntPtr offset, nag_chain_sort_compare_DELEGATE compare, Nag_SortOrder order, ref NagError fail ); public delegate int m01cuc_compare_DELEGATE( IntPtr a, IntPtr b ); [DllImport("CLW3223DA_nag.dll")] public static extern void m01cuc( ref IntPtr basePTR, IntPtr offset, m01cuc_compare_DELEGATE compare, Nag_SortOrder order, ref NagError fail ); public delegate int nag_rank_sort_compare_DELEGATE( IntPtr a, IntPtr b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="m01dsc")] public static extern void nag_rank_sort( [In] IntPtr[] vec, int n, IntPtr stride, nag_rank_sort_compare_DELEGATE compare, Nag_SortOrder order, ref int[] ranks, ref NagError fail ); public delegate int m01dsc_compare_DELEGATE( IntPtr a, IntPtr b ); [DllImport("CLW3223DA_nag.dll")] public static extern void m01dsc( [In] IntPtr[] vec, int n, IntPtr stride, m01dsc_compare_DELEGATE compare, Nag_SortOrder order, ref int[] ranks, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="m01esc")] public static extern void nag_reorder_vector( [In,Out] IntPtr[] vec, int n, int size, IntPtr stride, int[] indices, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void m01esc( [In,Out] IntPtr[] vec, int n, int size, IntPtr stride, int[] indices, ref NagError fail ); public delegate int nag_search_vector_compare_DELEGATE( IntPtr a, IntPtr b ); [DllImport("CLW3223DA_nag.dll", EntryPoint="m01fsc")] public static extern bool nag_search_vector( IntPtr keyPTR, [In] IntPtr[] vec, int n, IntPtr stride, nag_search_vector_compare_DELEGATE compare, Nag_SortOrder order, Nag_SearchMatch final, ref IntPtr matchPTR, ref NagError fail ); public delegate int m01fsc_compare_DELEGATE( IntPtr a, IntPtr b ); [DllImport("CLW3223DA_nag.dll")] public static extern bool m01fsc( IntPtr keyPTR, [In] IntPtr[] vec, int n, IntPtr stride, m01fsc_compare_DELEGATE compare, Nag_SortOrder order, Nag_SearchMatch final, ref IntPtr matchPTR, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="m01nac")] public static extern int nag_search_double( Nag_Boolean validate, [In] double[] rv, int m1, int m2, double item, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern int m01nac( Nag_Boolean validate, [In] double[] rv, int m1, int m2, double item, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="m01nbc")] public static extern int nag_search_int( Nag_Boolean validate, [In] int[] iv, int m1, int m2, int item, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern int m01nbc( Nag_Boolean validate, [In] int[] iv, int m1, int m2, int item, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="m01ncc")] public static extern int nag_search_char( Nag_Boolean validate, [In] IntPtr[] ch, int m1, int m2, String item, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern int m01ncc( Nag_Boolean validate, [In] IntPtr[] ch, int m1, int m2, String item, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="m01zac")] public static extern void nag_make_indices( ref int[] ranks, int n, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void m01zac( ref int[] ranks, int n, ref NagError fail ); // chapter s [DllImport("CLW3223DA_nag.dll", EntryPoint="s01bac")] public static extern double nag_shifted_log( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s01bac( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s10aac")] public static extern double nag_tanh( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s10aac( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s10abc")] public static extern double nag_sinh( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s10abc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s10acc")] public static extern double nag_cosh( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s10acc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s11aac")] public static extern double nag_arctanh( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s11aac( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s11abc")] public static extern double nag_arcsinh( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s11abc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s11acc")] public static extern double nag_arccosh( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s11acc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s13aac")] public static extern double nag_exp_integral( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s13aac( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s13acc")] public static extern double nag_cos_integral( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s13acc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s13adc")] public static extern double nag_sin_integral( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s13adc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14aac")] public static extern double nag_gamma( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s14aac( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14abc")] public static extern double nag_log_gamma( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s14abc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14acc")] public static extern double nag_polygamma_fun( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s14acc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14adc")] public static extern void nag_polygamma_deriv( double x, int n, int m, [Out] double[] ans, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s14adc( double x, int n, int m, [Out] double[] ans, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14aec")] public static extern double nag_real_polygamma( double x, int k, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s14aec( double x, int k, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14afc")] public static extern Complex nag_complex_polygamma( Complex z, int k, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex s14afc( Complex z, int k, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14agc")] public static extern Complex nag_complex_log_gamma( Complex z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex s14agc( Complex z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14ahc")] public static extern double nag_scaled_log_gamma( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s14ahc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14bac")] public static extern void nag_incomplete_gamma( double a, double x, double tol, ref double p, ref double q, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s14bac( double a, double x, double tol, ref double p, ref double q, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14cbc")] public static extern double nag_log_beta( double a, double b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s14cbc( double a, double b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s14ccc")] public static extern void nag_incomplete_beta( double a, double b, double x, ref double w, ref double w1, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s14ccc( double a, double b, double x, ref double w, ref double w1, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s15abc")] public static extern double nag_cumul_normal( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s15abc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s15acc")] public static extern double nag_cumul_normal_complem( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s15acc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s15adc")] public static extern double nag_erfc( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s15adc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s15aec")] public static extern double nag_erf( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s15aec( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s15afc")] public static extern double nag_dawson( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s15afc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s15agc")] public static extern double nag_erfcx( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s15agc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s15ddc")] public static extern Complex nag_complex_erfc( Complex z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex s15ddc( Complex z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17acc")] public static extern double nag_bessel_y0( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s17acc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17adc")] public static extern double nag_bessel_y1( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s17adc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17aec")] public static extern double nag_bessel_j0( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s17aec( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17afc")] public static extern double nag_bessel_j1( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s17afc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17agc")] public static extern double nag_airy_ai( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s17agc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17ahc")] public static extern double nag_airy_bi( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s17ahc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17ajc")] public static extern double nag_airy_ai_deriv( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s17ajc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17akc")] public static extern double nag_airy_bi_deriv( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s17akc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17alc")] public static extern void nag_bessel_zeros( double a, int n, int mode, double rel, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17alc( double a, int n, int mode, double rel, [Out] double[] x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17aqc")] public static extern void nag_bessel_y0_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17aqc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17arc")] public static extern void nag_bessel_y1_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17arc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17asc")] public static extern void nag_bessel_j0_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17asc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17atc")] public static extern void nag_bessel_j1_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17atc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17auc")] public static extern void nag_airy_ai_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17auc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17avc")] public static extern void nag_airy_bi_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17avc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17awc")] public static extern void nag_airy_ai_deriv_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17awc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17axc")] public static extern void nag_airy_bi_deriv_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17axc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17dcc")] public static extern void nag_complex_bessel_y( double fnu, Complex z, int n, Nag_ScaleResType scal, [Out] Complex[] cy, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17dcc( double fnu, Complex z, int n, Nag_ScaleResType scal, [Out] Complex[] cy, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17dec")] public static extern void nag_complex_bessel_j( double fnu, Complex z, int n, Nag_ScaleResType scal, [Out] Complex[] cy, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17dec( double fnu, Complex z, int n, Nag_ScaleResType scal, [Out] Complex[] cy, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17dgc")] public static extern void nag_complex_airy_ai( Nag_FunType deriv, Complex z, Nag_ScaleResType scal, ref Complex ai, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17dgc( Nag_FunType deriv, Complex z, Nag_ScaleResType scal, ref Complex ai, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17dhc")] public static extern void nag_complex_airy_bi( Nag_FunType deriv, Complex z, Nag_ScaleResType scal, ref Complex bi, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17dhc( Nag_FunType deriv, Complex z, Nag_ScaleResType scal, ref Complex bi, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s17dlc")] public static extern void nag_complex_hankel( int m, double fnu, Complex z, int n, Nag_ScaleResType scal, [Out] Complex[] cy, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s17dlc( int m, double fnu, Complex z, int n, Nag_ScaleResType scal, [Out] Complex[] cy, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18acc")] public static extern double nag_bessel_k0( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18acc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18adc")] public static extern double nag_bessel_k1( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18adc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18aec")] public static extern double nag_bessel_i0( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18aec( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18afc")] public static extern double nag_bessel_i1( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18afc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18aqc")] public static extern void nag_bessel_k0_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18aqc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18arc")] public static extern void nag_bessel_k1_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18arc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18asc")] public static extern void nag_bessel_i0_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18asc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18atc")] public static extern void nag_bessel_i1_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18atc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18ccc")] public static extern double nag_bessel_k0_scaled( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18ccc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18cdc")] public static extern double nag_bessel_k1_scaled( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18cdc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18cec")] public static extern double nag_bessel_i0_scaled( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18cec( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18cfc")] public static extern double nag_bessel_i1_scaled( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18cfc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18cqc")] public static extern void nag_bessel_k0_scaled_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18cqc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18crc")] public static extern void nag_bessel_k1_scaled_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18crc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18csc")] public static extern void nag_bessel_i0_scaled_vector( int n, [In] double[] x, [Out] double[] f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18csc( int n, [In] double[] x, [Out] double[] f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18ctc")] public static extern void nag_bessel_i1_scaled_vector( int n, [In] double[] x, [Out] double[] f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18ctc( int n, [In] double[] x, [Out] double[] f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18dcc")] public static extern void nag_complex_bessel_k( double fnu, Complex z, int n, Nag_ScaleResType scal, [Out] Complex[] cy, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18dcc( double fnu, Complex z, int n, Nag_ScaleResType scal, [Out] Complex[] cy, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18dec")] public static extern void nag_complex_bessel_i( double fnu, Complex z, int n, Nag_ScaleResType scal, [Out] Complex[] cy, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18dec( double fnu, Complex z, int n, Nag_ScaleResType scal, [Out] Complex[] cy, ref int nz, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18ecc")] public static extern double nag_bessel_i_nu_scaled( double x, int nu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18ecc( double x, int nu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18edc")] public static extern double nag_bessel_k_nu_scaled( double x, int nu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18edc( double x, int nu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18eec")] public static extern double nag_bessel_i_nu( double x, int nu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18eec( double x, int nu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18efc")] public static extern double nag_bessel_k_nu( double x, int nu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s18efc( double x, int nu, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18egc")] public static extern void nag_bessel_k_alpha( double x, int ia, int ja, int nl, [Out] double[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18egc( double x, int ia, int ja, int nl, [Out] double[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18ehc")] public static extern void nag_bessel_k_alpha_scaled( double x, int ia, int ja, int nl, [Out] double[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18ehc( double x, int ia, int ja, int nl, [Out] double[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18ejc")] public static extern void nag_bessel_i_alpha( double x, double a, int nl, [Out] Complex[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18ejc( double x, double a, int nl, [Out] Complex[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18ekc")] public static extern void nag_bessel_j_alpha( double x, double a, int nl, [Out] Complex[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18ekc( double x, double a, int nl, [Out] Complex[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s18gkc")] public static extern void nag_complex_bessel_j_seq( Complex z, double a, int nl, [Out] Complex[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s18gkc( Complex z, double a, int nl, [Out] Complex[] b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s19aac")] public static extern double nag_kelvin_ber( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s19aac( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s19abc")] public static extern double nag_kelvin_bei( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s19abc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s19acc")] public static extern double nag_kelvin_ker( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s19acc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s19adc")] public static extern double nag_kelvin_kei( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s19adc( double x, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s19anc")] public static extern void nag_kelvin_ber_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s19anc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s19apc")] public static extern void nag_kelvin_bei_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s19apc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s19aqc")] public static extern void nag_kelvin_ker_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s19aqc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s19arc")] public static extern void nag_kelvin_kei_vector( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s19arc( int n, [In] double[] x, [Out] double[] f, [Out] int[] ivalid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s20acc")] public static extern double nag_fresnel_s( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s20acc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s20adc")] public static extern double nag_fresnel_c( double x ); [DllImport("CLW3223DA_nag.dll")] public static extern double s20adc( double x ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s20aqc")] public static extern void nag_fresnel_s_vector( int n, [In] double[] x, [Out] double[] f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s20aqc( int n, [In] double[] x, [Out] double[] f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s20arc")] public static extern void nag_fresnel_c_vector( int n, [In] double[] x, [Out] double[] f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s20arc( int n, [In] double[] x, [Out] double[] f, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21bac")] public static extern double nag_elliptic_integral_rc( double x, double y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s21bac( double x, double y, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21bbc")] public static extern double nag_elliptic_integral_rf( double x, double y, double z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s21bbc( double x, double y, double z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21bcc")] public static extern double nag_elliptic_integral_rd( double x, double y, double z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s21bcc( double x, double y, double z, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21bdc")] public static extern double nag_elliptic_integral_rj( double x, double y, double z, double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s21bdc( double x, double y, double z, double r, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21bec")] public static extern double nag_elliptic_integral_F( double phi, double dm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s21bec( double phi, double dm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21bfc")] public static extern double nag_elliptic_integral_E( double phi, double dm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s21bfc( double phi, double dm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21bgc")] public static extern double nag_elliptic_integral_pi( double dn, double phi, double dm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s21bgc( double dn, double phi, double dm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21bhc")] public static extern double nag_elliptic_integral_complete_K( double dm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s21bhc( double dm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21bjc")] public static extern double nag_elliptic_integral_complete_E( double dm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s21bjc( double dm, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21cac")] public static extern void nag_real_jacobian_elliptic( double u, double m, ref double sn, ref double cn, ref double dn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s21cac( double u, double m, ref double sn, ref double cn, ref double dn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21cbc")] public static extern void nag_jacobian_elliptic( Complex z, double ak2, ref Complex sn, ref Complex cn, ref Complex dn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s21cbc( Complex z, double ak2, ref Complex sn, ref Complex cn, ref Complex dn, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21ccc")] public static extern double nag_jacobian_theta( int k, double x, double q, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern double s21ccc( int k, double x, double q, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s21dac")] public static extern Complex nag_general_elliptic_integral_f( Complex z, double akp, double a, double b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern Complex s21dac( Complex z, double akp, double a, double b, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s22aac")] public static extern void nag_legendre_p( int mode, double x, int m, int nl, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s22aac( int mode, double x, int m, int nl, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30aac")] public static extern void nag_bsm_price( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30aac( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30abc")] public static extern void nag_bsm_greeks( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] crho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30abc( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] crho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30bac")] public static extern void nag_lookback_fls_price( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] sm, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30bac( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] sm, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30bbc")] public static extern void nag_lookback_fls_greeks( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] sm, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] crho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30bbc( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] sm, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] crho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30cac")] public static extern void nag_binary_con_price( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, double k, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30cac( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, double k, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30cbc")] public static extern void nag_binary_con_greeks( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, double k, [In] double[] t, double sigma, double r, double q, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] crho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30cbc( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, double k, [In] double[] t, double sigma, double r, double q, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] crho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30ccc")] public static extern void nag_binary_aon_price( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30ccc( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30cdc")] public static extern void nag_binary_aon_greeks( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] crho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30cdc( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] crho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30fac")] public static extern void nag_barrier_std_price( Nag_OrderType order, Nag_CallPut opt, Nag_Barrier itype, int m, int n, [In] double[] x, double s, double h, double k, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30fac( Nag_OrderType order, Nag_CallPut opt, Nag_Barrier itype, int m, int n, [In] double[] x, double s, double h, double k, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30jac")] public static extern void nag_jumpdiff_merton_price( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double lambda, double jvol, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30jac( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double lambda, double jvol, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30jbc")] public static extern void nag_jumpdiff_merton_greeks( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double lambda, double jvol, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30jbc( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double lambda, double jvol, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30nac")] public static extern void nag_heston_price( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigmav, double kappa, double corr, double var0, double eta, double grisk, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30nac( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigmav, double kappa, double corr, double var0, double eta, double grisk, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30nbc")] public static extern void nag_heston_greeks( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigmav, double kappa, double corr, double var0, double eta, double grisk, double r, double q, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30nbc( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigmav, double kappa, double corr, double var0, double eta, double grisk, double r, double q, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30qcc")] public static extern void nag_amer_bs_price( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30qcc( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double q, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30sac")] public static extern void nag_asian_geom_price( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double b, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30sac( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double b, [Out] double[] p, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="s30sbc")] public static extern void nag_asian_geom_greeks( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double b, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] crho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void s30sbc( Nag_OrderType order, Nag_CallPut opt, int m, int n, [In] double[] x, double s, [In] double[] t, double sigma, double r, double b, [Out] double[] p, [Out] double[] delta, [Out] double[] gamma, [Out] double[] vega, [Out] double[] theta, [Out] double[] rho, [Out] double[] crho, [Out] double[] vanna, [Out] double[] charm, [Out] double[] speed, [Out] double[] colour, [Out] double[] zomma, [Out] double[] vomma, ref NagError fail ); // chapter x01 public static double nag_pi() { return 3.14159265358979323846264338328; } public static double x01aac() { return 3.14159265358979323846264338328; } public static double nag_euler_constant() { return 0.577215664901532860606512090082; } public static double x01abc() { return 0.577215664901532860606512090082; } // chapter x02 [DllImport("CLW3223DA_nag.dll", EntryPoint="x02ahc")] public static extern double nag_max_sine_argument( ); [DllImport("CLW3223DA_nag.dll")] public static extern double x02ahc( ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x02ajc")] public static extern double nag_machine_precision( ); [DllImport("CLW3223DA_nag.dll")] public static extern double x02ajc( ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x02akc")] public static extern double nag_real_smallest_number( ); [DllImport("CLW3223DA_nag.dll")] public static extern double x02akc( ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x02alc")] public static extern double nag_real_largest_number( ); [DllImport("CLW3223DA_nag.dll")] public static extern double x02alc( ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x02amc")] public static extern double nag_real_safe_small_number( ); [DllImport("CLW3223DA_nag.dll")] public static extern double x02amc( ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x02anc")] public static extern double nag_complex_safe_small_number( ); [DllImport("CLW3223DA_nag.dll")] public static extern double x02anc( ); public static int nag_max_integer() { return 2147483647; } public static int x02bbc() { return 2147483647; } public static int nag_decimal_digits() { return 15; } public static int x02bec() { return 15; } public static int nag_real_base() { return 2; } public static int x02bhc() { return 2; } public static int nag_real_base_digits() { return 53; } public static int x02bjc() { return 53; } public static int nag_real_min_exponent() { return (-1021); } public static int x02bkc() { return (-1021); } [DllImport("CLW3223DA_nag.dll", EntryPoint="x02blc")] public static extern int nag_real_max_exponent( ); [DllImport("CLW3223DA_nag.dll")] public static extern int x02blc( ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x02dac")] public static extern bool nag_underflow_flag( ); [DllImport("CLW3223DA_nag.dll")] public static extern bool x02dac( ); public static int nag_real_arithmetic_rounds() { return 1; } public static int x02djc() { return 1; } // chapter x03 [DllImport("CLW3223DA_nag.dll")] public static extern void x03aaw( ref int oldcw ); [DllImport("CLW3223DA_nag.dll")] public static extern void x03aax( ref int oldcw ); // chapter x04 [DllImport("CLW3223DA_nag.dll", EntryPoint="x04acc")] public static extern void nag_open_file( String filename, int mode, ref int fileid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04acc( String filename, int mode, ref int fileid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04adc")] public static extern void nag_close_file( int fileid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04adc( int fileid, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04aec")] public static extern IntPtr nag_example_file_io( int argc, String argv, String flag, String fname ); [DllImport("CLW3223DA_nag.dll")] public static extern IntPtr x04aec( int argc, String argv, String flag, String fname ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04bac")] public static extern void nag_write_line( int fileid, String line ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04bac( int fileid, String line ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04bbc")] public static extern void nag_read_line( int fileid, String ln, int linelen, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04bbc( int fileid, String ln, int linelen, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04cac")] public static extern void nag_gen_real_mat_print( Nag_OrderType order, Nag_MatrixType matrix, Nag_DiagType diag, int m, int n, [In] double[] a, int pda, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04cac( Nag_OrderType order, Nag_MatrixType matrix, Nag_DiagType diag, int m, int n, [In] double[] a, int pda, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04cbc")] public static extern void nag_gen_real_mat_print_comp( Nag_OrderType order, Nag_MatrixType matrix, Nag_DiagType diag, int m, int n, [In] double[] a, int pda, String form, String title, Nag_LabelType labrow, String rlabs, Nag_LabelType labcol, String clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04cbc( Nag_OrderType order, Nag_MatrixType matrix, Nag_DiagType diag, int m, int n, [In] double[] a, int pda, String form, String title, Nag_LabelType labrow, String rlabs, Nag_LabelType labcol, String clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04ccc")] public static extern void nag_pack_real_mat_print( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In] double[] a, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04ccc( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In] double[] a, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04cdc")] public static extern void nag_pack_real_mat_print_comp( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In] double[] a, String form, String title, Nag_LabelType labrow, String rlabs, Nag_LabelType labcol, String clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04cdc( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In] double[] a, String form, String title, Nag_LabelType labrow, String rlabs, Nag_LabelType labcol, String clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04cec")] public static extern void nag_band_real_mat_print( Nag_OrderType order, int m, int n, int kl, int ku, [In] double[] a, int pda, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04cec( Nag_OrderType order, int m, int n, int kl, int ku, [In] double[] a, int pda, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04cfc")] public static extern void nag_band_real_mat_print_comp( Nag_OrderType order, int m, int n, int kl, int ku, [In] double[] a, int pda, String form, String title, Nag_LabelType labrow, String rlabs, Nag_LabelType labcol, String clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04cfc( Nag_OrderType order, int m, int n, int kl, int ku, [In] double[] a, int pda, String form, String title, Nag_LabelType labrow, String rlabs, Nag_LabelType labcol, String clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04dac")] public static extern void nag_gen_complx_mat_print( Nag_OrderType order, Nag_MatrixType matrix, Nag_DiagType diag, int m, int n, [In] Complex[] a, int pda, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04dac( Nag_OrderType order, Nag_MatrixType matrix, Nag_DiagType diag, int m, int n, [In] Complex[] a, int pda, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04dbc")] public static extern void nag_gen_complx_mat_print_comp( Nag_OrderType order, Nag_MatrixType matrix, Nag_DiagType diag, int m, int n, [In] Complex[] a, int pda, Nag_ComplexFormType cmplxform, String form, String title, Nag_LabelType labrow, String rlabs, Nag_LabelType labcol, String clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04dbc( Nag_OrderType order, Nag_MatrixType matrix, Nag_DiagType diag, int m, int n, [In] Complex[] a, int pda, Nag_ComplexFormType cmplxform, String form, String title, Nag_LabelType labrow, String rlabs, Nag_LabelType labcol, String clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04dcc")] public static extern void nag_pack_complx_mat_print( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In] Complex[] a, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04dcc( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In] Complex[] a, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04ddc")] public static extern void nag_pack_complx_mat_print_comp( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In] Complex[] a, Nag_ComplexFormType cmplxform, String form, String title, Nag_LabelType labrow, [In] IntPtr[] rlabs, Nag_LabelType labcol, [In] IntPtr[] clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04ddc( Nag_OrderType order, Nag_UploType uplo, Nag_DiagType diag, int n, [In] Complex[] a, Nag_ComplexFormType cmplxform, String form, String title, Nag_LabelType labrow, [In] IntPtr[] rlabs, Nag_LabelType labcol, [In] IntPtr[] clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04dec")] public static extern void nag_band_complx_mat_print( Nag_OrderType order, int m, int n, int kl, int ku, [In] Complex[] a, int pda, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04dec( Nag_OrderType order, int m, int n, int kl, int ku, [In] Complex[] a, int pda, String title, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04dfc")] public static extern void nag_band_complx_mat_print_comp( Nag_OrderType order, int m, int n, int kl, int ku, [In] Complex[] a, int pda, Nag_ComplexFormType cmplxform, String form, String title, Nag_LabelType labrow, String rlabs, Nag_LabelType labcol, String clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04dfc( Nag_OrderType order, int m, int n, int kl, int ku, [In] Complex[] a, int pda, Nag_ComplexFormType cmplxform, String form, String title, Nag_LabelType labrow, String rlabs, Nag_LabelType labcol, String clabs, int ncols, int indent, String outfile, ref NagError fail ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04nac")] public static extern int nag_enum_name_to_value( String enum_string ); [DllImport("CLW3223DA_nag.dll")] public static extern int x04nac( String enum_string ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04nbc")] public static extern string nag_enum_value_to_name( int enum_value ); [DllImport("CLW3223DA_nag.dll")] public static extern string x04nbc( int enum_value ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04ncc")] public static extern int nag_error_name_to_code( String error_name ); [DllImport("CLW3223DA_nag.dll")] public static extern int x04ncc( String error_name ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04ndc")] public static extern string nag_code_to_error_name( int code ); [DllImport("CLW3223DA_nag.dll")] public static extern string x04ndc( int code ); [DllImport("CLW3223DA_nag.dll")] public static extern IntPtr x04bcc( IntPtr ptr, int newsize ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04bcc")] public static extern IntPtr NAG_REALLOC( IntPtr ptr, int newsize ); [DllImport("CLW3223DA_nag.dll")] public static extern void x04bdc( ref IntPtr ptr ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04bdc")] public static extern void NAG_FREE( ref IntPtr ptr ); [DllImport("CLW3223DA_nag.dll")] public static extern IntPtr x04bjc( int size ); [DllImport("CLW3223DA_nag.dll", EntryPoint="x04bjc")] public static extern IntPtr NAG_ALLOC( int size ); } }