|
|
发表于 2008-5-2 06:28:47
|
显示全部楼层
有说明书阿,具体的接口(C++)如下:
+ b' [, k: C4 G, S) |- |* b- h4 Bextern "C" _declspec(dllexport) int _stdcall LF_UP0(5 X& ^5 u) A' @& O0 j: E$ X
int &Markend,const int &NTime, const int *Npar,4 _* S" F7 K: q' T" o( H K4 i) }
const double * varin,const int &nvarin,6 N: P& g' ?% S, H: u
double * varout,const int &nvarout,: j+ T; l4 z7 \# a- A8 O2 \
double * varprn,const int &nvarprn,
* s8 ~4 A3 |+ i p* h3 G! N6 Y const double * vector,const int &nvector,
2 O1 [, \- R4 v4 v" I4 m8 S const int *vp,const int *nvp,const int &nnvp)5 @- K: L4 ]0 @9 \9 E) j
/******* Arguments description ****************************************
6 g+ n( c x3 m% d$ [* B+ ] Markend: mark of computing end given by UP - E- U& D% u+ [, m& a. g7 {4 [
( 0: end of compution; 1: continuing) -
5 h: w P; I; y) a1 V! | Ntime : times, the UP called by LF, provided by LF -
. X" d) }. F, \& b: B* h6 u( h NPar : Group no. of parameter -
9 s; [4 {; O- i% A F1 : Array of input variavles provided by LF, dimension nf1 -( q' p$ d" X1 F" @' i
F2 : Array of output variavles, provided by UP, dimension nf2 -( T9 v; e2 u+ y$ b ]. k& G
F3 : Array of print variavles, provided by UP, dimension nf3 -
1 F) _2 F8 N' U( C V1 : Array of input vectors,provided by LF, dimension nv1 -
0 t& e' h/ r% Q' V IVP : start position pointer of each vector in V1, dimension nnvp-
0 f! P7 \. \8 o3 s) I NVP : dimension of each vector in V1, dimension nnvp -6 N2 Q8 x8 ?- _5 |. I
**********************************************************************/ |
|