0022627: Change OCCT memory management defaults
[occt.git] / src / AdvApp2Var / AdvApp2Var_MathBase.hxx
CommitLineData
7fd59977 1//
2// AdvApp2Var_MathBase.hxx
3//
4#ifndef AdvApp2Var_MathBase_HeaderFile
5#define AdvApp2Var_MathBase_HeaderFile
6
7
8#include <Standard_Macro.hxx>
9#include <AdvApp2Var_Data_f2c.hxx>
10//
11class AdvApp2Var_MathBase {
12 public:
13 ///
14 Standard_EXPORT static int mmapcmp_(integer*,
15 integer*,
16 integer*,
17 double*,
18 double*);
19
20 Standard_EXPORT static int mmdrc11_(integer* ,
21 integer* ,
22 integer* ,
23 doublereal* ,
24 doublereal* ,
25 doublereal* );
26
27 Standard_EXPORT static int mmfmca9_( integer* ,
28 integer* ,
29 integer* ,
30 integer* ,
31 integer* ,
32 integer* ,
33 doublereal* ,
34 doublereal* );
35
36 Standard_EXPORT static int mmfmcb5_( integer* ,
37 integer* ,
38 integer* ,
39 doublereal* ,
40 integer* ,
41 integer* ,
42 integer* ,
43 doublereal* ,
44 integer* );
45
46 Standard_EXPORT static void mmwprcs_(doublereal*,
47 doublereal*,
48 doublereal*,
49 doublereal*,
50 integer*,
51 integer*);
52 ///
53 Standard_EXPORT static int mmcglc1_(integer *ndimax,
54 integer *ndimen,
55 integer *ncoeff,
56 doublereal *courbe,
57 doublereal *tdebut,
58 doublereal *tfinal,
59 doublereal *epsiln,
60 doublereal *xlongc,
61 doublereal *erreur,
62 integer *iercod);
63
64
65
66 Standard_EXPORT static int mmbulld_(integer *nbcoln,
67 integer *nblign,
68 doublereal *dtabtr,
69 integer *numcle);
70
71 Standard_EXPORT static int mmcdriv_(integer *ndimen,
72 integer *ncoeff,
73 doublereal *courbe,
74 integer *ideriv,
75 integer *ncofdv,
76 doublereal *crvdrv);
77
78
79 Standard_EXPORT static int mmcvctx_(integer *ndimen,
80 integer *ncofmx,
81 integer *nderiv,
82 doublereal *ctrtes,
83 doublereal *crvres,
84 doublereal *tabaux,
85 doublereal *xmatri,
86 integer *iercod);
87
88 Standard_EXPORT static int mdsptpt_(integer *ndimen,
89 doublereal *point1,
90 doublereal *point2,
91 doublereal *distan);
92
93
94 Standard_EXPORT static int mmaperx_(integer *ncofmx,
95 integer *ndimen,
96 integer *ncoeff,
97 integer *iordre,
98 doublereal *crvjac,
99 integer *ncfnew,
100 doublereal *ycvmax,
101 doublereal *errmax,
102 integer *iercod);
103
104 Standard_EXPORT static int mmdrvck_(integer *ncoeff,
105 integer *ndimen,
106 doublereal *courbe,
107 integer *ideriv,
108 doublereal *tparam,
109 doublereal *pntcrb);
110
111 Standard_EXPORT static int mmeps1_(doublereal *epsilo);
112
113 Standard_EXPORT static int mmfmca8_(integer *ndimen,
114 integer *ncoefu,
115 integer *ncoefv,
116 integer *ndimax,
117 integer *ncfumx,
118 integer *ncfvmx,
119 doublereal *tabini,
120 doublereal *tabres);
121
122 Standard_EXPORT static int mmfmcar_(integer *ndimen,
123 integer *ncofmx,
124 integer *ncoefu,
125 integer *ncoefv,
126 doublereal *patold,
127 doublereal *upara1,
128 doublereal *upara2,
129 doublereal *vpara1,
130 doublereal *vpara2,
131 doublereal *patnew,
132 integer *iercod);
133
134 Standard_EXPORT static int mmfmtb1_(integer *maxsz1,
135 doublereal *table1,
136 integer *isize1,
137 integer *jsize1,
138 integer *maxsz2,
139 doublereal *table2,
140 integer *isize2,
141 integer *jsize2,
142 integer *iercod);
143
144 Standard_EXPORT static int mmgaus1_(integer *ndimf,
145 int (*bfunx) (
146 integer *ninteg,
147 doublereal *parame,
148 doublereal *vfunj1,
149 integer *iercod
150 ), //mmfunj1_() from Smoothing.cxx
151 integer *k,
152 doublereal *xd,
153 doublereal *xf,
154 doublereal *saux1,
155 doublereal *saux2,
156 doublereal *somme,
157 integer *niter,
158 integer *iercod);
159
160 Standard_EXPORT static int mmhjcan_(integer *ndimen,
161 integer *ncourb,
162 integer *ncftab,
163 integer *orcont,
164 integer *ncflim,
165 doublereal *tcbold,
166 doublereal *tdecop,
167 doublereal *tcbnew,
168 integer *iercod);
169
170 Standard_EXPORT static int mminltt_(integer *ncolmx,
171 integer *nlgnmx,
172 doublereal *tabtri,
173 integer *nbrcol,
174 integer *nbrlgn,
175 doublereal *ajoute,
176 doublereal *epseg,
177 integer *iercod);
178
179 Standard_EXPORT static int mmjaccv_(integer *ncoef,
180 integer *ndim,
181 integer *ider,
182 doublereal *crvlgd,
183 doublereal *polaux,
184 doublereal *crvcan);
185
186 Standard_EXPORT static int mmpobas_(doublereal *tparam,
187 integer *iordre,
188 integer *ncoeff,
189 integer *nderiv,
190 doublereal *valbas,
191 integer *iercod);
192
193 Standard_EXPORT static int mmmpocur_(integer *ncofmx,
194 integer *ndim,
195 integer *ndeg,
196 doublereal *courbe,
197 doublereal *tparam,
198 doublereal *tabval);
199
200 Standard_EXPORT static int mmposui_(integer *dimmat,
201 integer *nistoc,
202 integer *aposit,
203 integer *posuiv,
204 integer *iercod);
205
206 Standard_EXPORT static int mmresol_(integer *hdimen,
207 integer *gdimen,
208 integer *hnstoc,
209 integer *gnstoc,
210 integer *mnstoc,
211 doublereal *matsyh,
212 doublereal *matsyg,
213 doublereal *vecsyh,
214 doublereal *vecsyg,
215 integer *hposit,
216 integer *hposui,
217 integer *gposit,
218 integer *mmposui,
219 integer *mposit,
220 doublereal *vecsol,
221 integer *iercod);
222
223 Standard_EXPORT static int mmrtptt_(integer *ndglgd,
224 doublereal *rtlegd);
225
226 Standard_EXPORT static int mmsrre2_(doublereal *tparam,
227 integer *nbrval,
228 doublereal *tablev,
229 doublereal *epsil,
230 integer *numint,
231 integer *itypen,
232 integer *iercod);
233
234 Standard_EXPORT static int mmtrpjj_(integer *ncofmx,
235 integer *ndimen,
236 integer *ncoeff,
237 doublereal *epsi3d,
238 integer *iordre,
239 doublereal *crvlgd,
240 doublereal *ycvmax,
241 doublereal *errmax,
242 integer *ncfnew);
243
244 Standard_EXPORT static int mmunivt_(integer *ndimen,
245 doublereal *vector,
246 doublereal *vecnrm,
247 doublereal *epsiln,
248 integer *iercod);
249
250 Standard_EXPORT static int mmvncol_(integer *ndimen,
251 doublereal *vecin,
252 doublereal *vecout,
253 integer *iercod);
254
255 Standard_EXPORT static doublereal msc_(integer *ndimen,
256 doublereal *vecte1,
257 doublereal *vecte2);
258
259 Standard_EXPORT static int mvsheld_(integer *n,
260 integer *is,
261 doublereal *dtab,
262 integer *icle);
263
264
265 Standard_EXPORT static int mmarcin_(integer *ndimax,
266 integer *ndim,
267 integer *ncoeff,
268 doublereal *crvold,
269 doublereal *u0,
270 doublereal *u1,
271 doublereal *crvnew,
272 integer *iercod);
273
274
275 Standard_EXPORT static int mmcvinv_(integer *ndimax,
276 integer *ncoef,
277 integer *ndim,
278 doublereal *curveo,
279 doublereal *curve);
280
281 Standard_EXPORT static int mmjacan_(integer *ideriv,
282 integer *ndeg,
283 doublereal *poljac,
284 doublereal *polcan);
285
286 Standard_EXPORT static int mmpocrb_(integer *ndimax,
287 integer *ncoeff,
288 doublereal *courbe,
289 integer *ndim,
290 doublereal *tparam,
291 doublereal *pntcrb);
292
293 Standard_EXPORT static int mmmrslwd_(integer *normax,
294 integer *nordre,
295 integer *ndim,
296 doublereal *amat,
297 doublereal *bmat,
298 doublereal *epspiv,
299 doublereal *aaux,
300 doublereal *xmat,
301 integer *iercod);
302
303 Standard_EXPORT static int mmveps3_(doublereal *eps03);
304
305 Standard_EXPORT static doublereal pow__di (doublereal *x,
306 integer *n);
307
308 Standard_EXPORT static doublereal mzsnorm_(integer *ndimen,
309 doublereal *vecteu);
310};
311
312
313#endif