-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnleq2.h
60 lines (48 loc) · 930 Bytes
/
nleq2.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef nleq2H
#define nleq2H
//How is this library being built?
//If you are building, or using, this as a static library, then you need to define STATIC_NLEQ
#if defined(WIN32)
#if defined(STATIC_NLEQ2)
#define DLLEXPORT
#else
//DLL import/export
#if defined(SHARED_NLEQ2)
#define DLLEXPORT __declspec(dllexport)
#else
#define DLLEXPORT __declspec(dllimport)
#endif //DLL import/export
#endif //STATIC_NLEQ2
#else
#define DLLEXPORT
#endif
#if defined(WIN32)
#define STDCALL __stdcall
#else
#define STDCALL
//__attribute__((stdcall))
#endif
#ifdef __cplusplus
extern "C"
{
#endif
#include "f2c_nleq.h"
DLLEXPORT int STDCALL NLEQ2
(
integer *n,
c_NLMFCN fcn,
U_fp jac,
doublereal *x,
doublereal *xscal,
doublereal *rtol,
integer *iopt,
integer *ierr,
integer *liwk,
integer *iwk,
integer *lrwk,
doublereal *rwk
);
#ifdef __cplusplus
}
#endif
#endif