|
|
发表于 2008-5-2 06:28:47
|
显示全部楼层
有说明书阿,具体的接口(C++)如下:2 @6 ]8 O; ?4 u0 q4 X6 X
extern "C" _declspec(dllexport) int _stdcall LF_UP0(
, N! A7 A! f# }0 v+ D int &Markend,const int &NTime, const int *Npar,
& |0 p3 \5 n" |* D% L4 ?- s" t3 M const double * varin,const int &nvarin,
+ [! f& y2 ^: E5 d } double * varout,const int &nvarout,
4 f' X1 c7 `0 Q. q/ O double * varprn,const int &nvarprn,
) ? e7 j- \* n1 S6 Q# N const double * vector,const int &nvector,
) Z: E, j% W3 W% r: Z% ~( H1 p* S5 t const int *vp,const int *nvp,const int &nnvp)( |4 u8 ^: N* t1 `+ t* E3 g" \' Q
/******* Arguments description **************************************** ; R6 ~0 h( F% Y4 u: h0 U) Z9 _
Markend: mark of computing end given by UP -( r3 c# j/ P9 n$ u1 N
( 0: end of compution; 1: continuing) -
7 H! O7 X6 `6 D5 k- i, O1 @ Ntime : times, the UP called by LF, provided by LF -
1 b0 s$ {: ^# }1 n5 A7 j/ g NPar : Group no. of parameter -
+ J! L1 p, J$ ^, I; } F1 : Array of input variavles provided by LF, dimension nf1 -3 F( X& B' G) E+ A
F2 : Array of output variavles, provided by UP, dimension nf2 -! ?( p1 y4 j8 H: L
F3 : Array of print variavles, provided by UP, dimension nf3 -$ Q: `- C# W( p) G! D; l
V1 : Array of input vectors,provided by LF, dimension nv1 -
; h3 O# \& B- a IVP : start position pointer of each vector in V1, dimension nnvp-. A- Y" Y v! n8 E) ]9 G
NVP : dimension of each vector in V1, dimension nnvp -- ^+ {9 |3 p( T+ K) x. ?
**********************************************************************/ |
|