|
发表于 2008-5-2 06:28:47
|
显示全部楼层
有说明书阿,具体的接口(C++)如下:+ I' [7 O7 H* c) k
extern "C" _declspec(dllexport) int _stdcall LF_UP0(6 O7 B. ^# m% O& T G4 ?
int &Markend,const int &NTime, const int *Npar,
/ \4 N1 v. g+ Z, g; {! H const double * varin,const int &nvarin,5 G1 D8 @5 S$ ^6 q. c$ O
double * varout,const int &nvarout,& p" c% S3 f% _+ x3 r! a9 s
double * varprn,const int &nvarprn,7 ~6 o: I0 v9 X4 r; n/ X8 }
const double * vector,const int &nvector,+ X: c, s+ c Y
const int *vp,const int *nvp,const int &nnvp)2 Z7 R; M3 w( R0 ~
/******* Arguments description ****************************************
3 _3 ^7 k4 w/ ` s( X9 P Markend: mark of computing end given by UP -
; G$ Q* y% K8 d, r! H0 S" l ( 0: end of compution; 1: continuing) -4 r3 Z2 i4 q. Q1 Q" ]0 ]; C6 D8 S
Ntime : times, the UP called by LF, provided by LF -
" B& z6 D' S0 e2 A! ?/ x& G" o NPar : Group no. of parameter -5 n0 Q1 ]1 H; @2 M' G3 f
F1 : Array of input variavles provided by LF, dimension nf1 -, `& j$ q: ~* i/ N8 W
F2 : Array of output variavles, provided by UP, dimension nf2 -9 B- @# p2 b8 H! P( z
F3 : Array of print variavles, provided by UP, dimension nf3 -" i2 P1 x1 }. y4 i" ?
V1 : Array of input vectors,provided by LF, dimension nv1 -+ F: f$ u4 r0 e% `1 |
IVP : start position pointer of each vector in V1, dimension nnvp-$ L0 K% c% x/ I
NVP : dimension of each vector in V1, dimension nnvp -
& M) c# S* l. j I) o* h- b$ R**********************************************************************/ |
|