Program listing for file numerics/src/tools/projectionOnCone.h#
Return to documentation for this file
1#ifndef ProjectionOnCone_H
2#define ProjectionOnCone_H
3
4
5
6#include "SiconosConfig.h"
7
8enum { PROJCONE_DUAL, PROJCONE_INSIDE, PROJCONE_BOUNDARY };
9
10#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
11extern "C" {
12#endif
13
14
15unsigned projectionOnCone(double *r, double mu);
16
17
18unsigned projectionOnDualCone(double *u, double mu);
19
20
21void projectionOnSecondOrderCone(double *r, double mu, int size);
22
23#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
24}
25#endif
26
27#endif