|
|
发表于 2008-5-2 06:28:47
|
显示全部楼层
有说明书阿,具体的接口(C++)如下:, ~/ o4 O8 N) V) W0 z2 t
extern "C" _declspec(dllexport) int _stdcall LF_UP0(& Z1 b/ ?: h* z) u
int &Markend,const int &NTime, const int *Npar,
1 K {; h; ~& p+ R% P6 I const double * varin,const int &nvarin,! b q$ Y3 b# o9 @' d3 K1 ?( c
double * varout,const int &nvarout,
4 [! m4 S8 o6 J2 F% b5 ~4 z double * varprn,const int &nvarprn,: C& b% ]4 c1 o2 U7 m5 Y* F. t
const double * vector,const int &nvector,
$ C+ q! c$ e4 f- V# S const int *vp,const int *nvp,const int &nnvp)2 x- z) ~. I4 _7 t4 i
/******* Arguments description **************************************** 2 @! Z) j/ c9 J% U' D3 P4 H- X, `9 k
Markend: mark of computing end given by UP -
% |2 X3 X, r; t8 H ( 0: end of compution; 1: continuing) -
6 M" u/ H h: R" f1 Q Ntime : times, the UP called by LF, provided by LF -
; \: s1 C& o0 c' K; ] NPar : Group no. of parameter -. _* N- y# w* l- \6 f, E
F1 : Array of input variavles provided by LF, dimension nf1 - }0 }2 k6 a, F4 W) K/ Y# ^
F2 : Array of output variavles, provided by UP, dimension nf2 -1 \# U+ H# I) i
F3 : Array of print variavles, provided by UP, dimension nf3 -: _0 J4 ?* N4 v1 [
V1 : Array of input vectors,provided by LF, dimension nv1 -
, B6 N6 j: O* }3 ]% } IVP : start position pointer of each vector in V1, dimension nnvp-
5 h! ?5 T; J* [4 k( w" |) n NVP : dimension of each vector in V1, dimension nnvp -/ _% H* D' Y$ {) n8 y1 U; o
**********************************************************************/ |
|