|
发表于 2008-5-2 06:28:47
|
显示全部楼层
有说明书阿,具体的接口(C++)如下:
8 f# y/ B) s1 P" S( l V' e- {. vextern "C" _declspec(dllexport) int _stdcall LF_UP0(2 w9 Q% D2 F' Z# O8 G6 c
int &Markend,const int &NTime, const int *Npar,
$ J" L5 x' {$ g$ z" ^ F/ g const double * varin,const int &nvarin,; U- T' I% u0 V' s( C3 H5 j& V
double * varout,const int &nvarout,
, {4 H0 _0 {* _* @; C; C double * varprn,const int &nvarprn,# B- |6 S# X* |6 ~1 G
const double * vector,const int &nvector,
$ B! l: c: z% m7 y. U const int *vp,const int *nvp,const int &nnvp)
m/ Q: _1 m0 O$ [/******* Arguments description ****************************************
) K3 [5 a4 a9 U. ?$ f K0 H Markend: mark of computing end given by UP -/ h9 I- J5 n q: O% j* A3 A
( 0: end of compution; 1: continuing) -
* {1 n/ v3 C6 X7 J- S3 [ Ntime : times, the UP called by LF, provided by LF -
6 O4 n( k1 j1 U9 |7 B% l NPar : Group no. of parameter -, p, j$ x& {$ d- m
F1 : Array of input variavles provided by LF, dimension nf1 -' t8 e) {9 u* m+ d- S9 X
F2 : Array of output variavles, provided by UP, dimension nf2 -. u; v. m- I# r5 U a- X4 \
F3 : Array of print variavles, provided by UP, dimension nf3 -9 f+ K. p" d( x. R
V1 : Array of input vectors,provided by LF, dimension nv1 -1 z8 E5 O% h$ ?0 ^+ o/ p" p
IVP : start position pointer of each vector in V1, dimension nnvp-* A& q) u# t; z+ ~7 A, d$ i* l
NVP : dimension of each vector in V1, dimension nnvp -. {* @0 N2 H6 |- V9 V$ J1 t; N
**********************************************************************/ |
|