|
|
发表于 2008-5-2 06:28:47
|
显示全部楼层
有说明书阿,具体的接口(C++)如下:4 J2 ~; w; e4 }2 Q% x- h
extern "C" _declspec(dllexport) int _stdcall LF_UP0(
/ p0 Z. h2 w3 n4 p/ |2 d o int &Markend,const int &NTime, const int *Npar,
% s$ [% h' \* K0 m& L; T const double * varin,const int &nvarin,
9 M$ W( e" N- C0 u6 u double * varout,const int &nvarout,
@4 J I" W- J% ] double * varprn,const int &nvarprn,
8 C. h$ Z: Z$ A3 R$ q+ a/ V3 i( R& } const double * vector,const int &nvector,. X3 ~! ~; g/ `& s0 {
const int *vp,const int *nvp,const int &nnvp)+ t, q- W' Q, m; p+ e) Z1 Y6 F
/******* Arguments description ****************************************
* Q, I# a6 O; h) v! I; | Markend: mark of computing end given by UP -
* @# }) R f/ A' [: { ( 0: end of compution; 1: continuing) -1 R' j# B! O# }
Ntime : times, the UP called by LF, provided by LF -9 R* }' p5 R- @: Q
NPar : Group no. of parameter -
9 r+ ^. \! P: q7 ~" a F1 : Array of input variavles provided by LF, dimension nf1 -
( D3 n) C) \8 | d) }2 k; l) }& h F2 : Array of output variavles, provided by UP, dimension nf2 -1 d. I: M+ e( p& o& Z! b
F3 : Array of print variavles, provided by UP, dimension nf3 -+ u; P( e/ L* y# Q
V1 : Array of input vectors,provided by LF, dimension nv1 -9 C1 X8 L/ f+ @3 R
IVP : start position pointer of each vector in V1, dimension nnvp-
& b& @2 k5 b& y+ o* P NVP : dimension of each vector in V1, dimension nnvp -2 a3 Q& ~+ W1 t2 t
**********************************************************************/ |
|