|
|
发表于 2008-5-2 06:28:47
|
显示全部楼层
有说明书阿,具体的接口(C++)如下:+ Z5 v5 Q( x, d7 ?- o* \
extern "C" _declspec(dllexport) int _stdcall LF_UP0(2 E8 A7 ?) L) K- j# c( U1 O3 y9 g, u% F
int &Markend,const int &NTime, const int *Npar,
# @' r( U5 n9 N t0 J const double * varin,const int &nvarin,
6 A! [3 S- Z. g% f# j4 t. B0 H* P double * varout,const int &nvarout,
9 h! Z7 d: j4 F double * varprn,const int &nvarprn,2 S( s6 M6 F0 E* g0 C
const double * vector,const int &nvector,
1 [8 I9 y6 ^) s! e! t9 }7 v const int *vp,const int *nvp,const int &nnvp)# P+ S# S1 B0 ~( d* T2 x+ ~1 [! a
/******* Arguments description **************************************** : w" D4 p `* B% ]3 c3 u. ]
Markend: mark of computing end given by UP -
; q9 V+ W2 H2 b+ ^, F) a1 y1 _ ( 0: end of compution; 1: continuing) -
% W q3 t) \8 }1 \8 x" F Ntime : times, the UP called by LF, provided by LF -
( r2 k' b4 l; M' B4 ?' O8 B' x NPar : Group no. of parameter -
3 r( y+ F; f5 k8 g4 A& M F1 : Array of input variavles provided by LF, dimension nf1 -) O+ Q9 h0 v. B) N7 }; U* d& V O6 F; d
F2 : Array of output variavles, provided by UP, dimension nf2 -6 P2 Q3 ^6 Y5 l
F3 : Array of print variavles, provided by UP, dimension nf3 -4 C" v2 j+ o H0 ?/ N. |* L
V1 : Array of input vectors,provided by LF, dimension nv1 -1 q; q4 g% d- \6 m3 y1 r" S
IVP : start position pointer of each vector in V1, dimension nnvp-4 s M ~& Z3 } A
NVP : dimension of each vector in V1, dimension nnvp -/ d% V. K% j7 j; I& _
**********************************************************************/ |
|