Graphviz 13.1.3~dev.20250829.1031
Loading...
Searching...
No Matches
quad_prog_solver.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#if !defined(__CYGWIN__) && defined(__GNUC__) && !defined(__MINGW32__)
18#define INTERNAL __attribute__((visibility("hidden")))
19#else
20#define INTERNAL /* nothing */
21#endif
22
23#ifdef DIGCOLA
24
25typedef struct {
26 float **A;
27 int n;
28 float *fArray1;
29 float *fArray2;
30 float *fArray3;
31 float *fArray4;
32 int *ordering;
33 int *levels;
34 int num_levels;
35}CMajEnv;
36
37INTERNAL CMajEnv* initConstrainedMajorization(float *, int, int*, int*, int);
38
39INTERNAL void constrained_majorization_new_with_gaps(CMajEnv*, float*, float**,
40 int, int, float);
41INTERNAL void deleteCMajEnv(CMajEnv *e);
42
43INTERNAL float** unpackMatrix(float * packedMat, int n);
44
45#endif
46
47#undef INTERNAL
48
49#ifdef __cplusplus
50}
51#endif
#define A(n, t)
Definition expr.h:76
#define INTERNAL