Program listing for file numerics/src/tools/Qi_merit.h

Program listing for file numerics/src/tools/Qi_merit.h#

 1#ifndef QI_MERIT_H
 2#define QI_MERIT_H
 3
 4#include "SiconosConfig.h"
 5#include "NumericsFwd.h"
 6
 7
 8#ifdef __cplusplus
 9#include <sys/cdefs.h>
10#define restrict __restrict
11#endif
12
13
14
15#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
16extern "C"
17{
18#endif
19
20
21  void phi_Qi(int n, double* restrict x, double* restrict F, double* restrict Fbox, double* restrict lb, double* restrict ub);
22
23
24  void Jac_F_Qi(int n, double* restrict x, double* restrict Fbox, double* restrict workV1, double* restrict workV2, NumericsMatrix* restrict nabla_F, double* restrict lb, double* restrict ub, NumericsMatrix* restrict H);
25
26
27#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
28}
29#endif
30
31#endif