|
|
发表于 2008-5-2 06:28:47
|
显示全部楼层
有说明书阿,具体的接口(C++)如下:
5 J; o# C) n4 Zextern "C" _declspec(dllexport) int _stdcall LF_UP0(
) @' s, P2 y5 e ` int &Markend,const int &NTime, const int *Npar,
: N& h% s: T) g; Y! C6 b+ N e const double * varin,const int &nvarin,
% L' \ B' v5 ~ double * varout,const int &nvarout,
6 R r* A3 v; q# }" g% Z* U( ` double * varprn,const int &nvarprn,
5 ~* h2 j( @8 f/ r9 {% V# I4 G8 } const double * vector,const int &nvector,3 ~6 ?6 V: I' Q+ b
const int *vp,const int *nvp,const int &nnvp) }& H' o: S# z- K# i- e: o
/******* Arguments description ****************************************
; f! I, X9 a( e2 i K J Markend: mark of computing end given by UP -
6 J& Z& q* }. f) B, V ( 0: end of compution; 1: continuing) -
: K, l0 O0 d: ^6 |8 q3 @9 y- Z4 { Ntime : times, the UP called by LF, provided by LF -1 L8 @6 P- Y3 |6 O p/ [6 S
NPar : Group no. of parameter -
3 `) l7 X$ F/ J" h2 J1 U( w# a0 g F1 : Array of input variavles provided by LF, dimension nf1 -7 c: g& M: d& K6 _
F2 : Array of output variavles, provided by UP, dimension nf2 -
. x9 |+ m) M8 j F3 : Array of print variavles, provided by UP, dimension nf3 -
' D0 o& A R! `. ^7 B* O V1 : Array of input vectors,provided by LF, dimension nv1 -
5 [$ }/ [8 A- v, ~ IVP : start position pointer of each vector in V1, dimension nnvp-
3 `0 K/ Q9 g$ w NVP : dimension of each vector in V1, dimension nnvp -& z$ g4 I0 ^4 y$ e; r% k+ Y- z
**********************************************************************/ |
|