|
|
发表于 2008-5-2 06:28:47
|
显示全部楼层
有说明书阿,具体的接口(C++)如下:
" K, d& M$ B( Y. k4 Yextern "C" _declspec(dllexport) int _stdcall LF_UP0(
+ B1 ?* P2 Z: [# Y0 s( J1 J int &Markend,const int &NTime, const int *Npar,# S$ `$ J, [ B$ ^" Y2 K8 y7 E$ A
const double * varin,const int &nvarin,9 f/ e0 f7 t9 \3 Y% z( D
double * varout,const int &nvarout,
- E, [/ X: j* O6 C. c7 _ double * varprn,const int &nvarprn,) t$ E1 p- I4 @' D% q& q7 I1 D5 J
const double * vector,const int &nvector,
2 u9 p9 v$ W- w: s const int *vp,const int *nvp,const int &nnvp)
$ a) `6 ]; S! K2 I* H; z/******* Arguments description **************************************** 0 P7 ~4 A7 U" ?2 h a1 o
Markend: mark of computing end given by UP -
7 r) A$ o% k! B4 g6 u# }: I0 e0 p ( 0: end of compution; 1: continuing) -# [- i( p( q, w4 b& e% ~) o
Ntime : times, the UP called by LF, provided by LF -. ]& p) Y& W! `* Z
NPar : Group no. of parameter -
' o& l) [0 o- E8 `) }0 _ F1 : Array of input variavles provided by LF, dimension nf1 -$ }* a2 P ]+ ^& ]# W
F2 : Array of output variavles, provided by UP, dimension nf2 -# V3 N4 g4 T& e( {! M8 m4 c% I8 [
F3 : Array of print variavles, provided by UP, dimension nf3 -# Z+ ]' D$ X7 V2 I# c
V1 : Array of input vectors,provided by LF, dimension nv1 -
G" F# _! Z. N7 z8 g IVP : start position pointer of each vector in V1, dimension nnvp-) {9 B: O* q2 c. P0 {, q1 _
NVP : dimension of each vector in V1, dimension nnvp -
. m& S. ], `% T" {$ \7 _' M**********************************************************************/ |
|