|
|
发表于 2008-5-2 06:28:47
|
显示全部楼层
有说明书阿,具体的接口(C++)如下:
5 T+ i! L9 K2 P" Zextern "C" _declspec(dllexport) int _stdcall LF_UP0(" C6 q) ^7 B8 y* Q) U6 A
int &Markend,const int &NTime, const int *Npar,0 M# O( B6 p! E4 a
const double * varin,const int &nvarin,+ k8 y2 Q+ ?% F7 [0 p7 D
double * varout,const int &nvarout,
$ Z. t4 k1 ^( E2 c& }: r0 H& |9 f; ~ double * varprn,const int &nvarprn,1 b2 g, ~$ {* Q' |9 m3 L
const double * vector,const int &nvector,0 W! u' }; [2 |' ?) G. E, m
const int *vp,const int *nvp,const int &nnvp)7 _6 m, n; Q, y# y% R
/******* Arguments description ****************************************
* D4 f4 x5 T3 ?: r: \. I+ _ Markend: mark of computing end given by UP -
6 J" \' `: P6 P ( 0: end of compution; 1: continuing) -# p! f5 z( N$ B% x) t4 h3 Y: ^1 Y
Ntime : times, the UP called by LF, provided by LF -
3 i! E' I! d: i NPar : Group no. of parameter -
+ J. ~% A8 L$ F( } F1 : Array of input variavles provided by LF, dimension nf1 -
9 ?1 i6 J" a1 S8 V9 d F2 : Array of output variavles, provided by UP, dimension nf2 -
1 l V, [8 E' n, `: V F3 : Array of print variavles, provided by UP, dimension nf3 -, x# F4 H( f7 e* H! x
V1 : Array of input vectors,provided by LF, dimension nv1 -- n, V( S# ~" f7 q p# G: V
IVP : start position pointer of each vector in V1, dimension nnvp-) m5 y! N5 i1 p, n3 V k! N5 Y
NVP : dimension of each vector in V1, dimension nnvp -& w5 P' [6 s# L& C1 N! @
**********************************************************************/ |
|