Graphviz 15.1.1~dev.20260630.1303
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 v2.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#include <stddef.h>
14#include <util/api.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#ifdef DIGCOLA
21
22typedef struct {
23 float **A;
24 int n;
25 float *fArray1;
26 float *fArray2;
27 float *fArray3;
28 float *fArray4;
29 int *ordering;
30 int *levels;
31 size_t num_levels;
32}CMajEnv;
33
34PRIVATE CMajEnv *initConstrainedMajorization(float *, int, int *, int *,
35 size_t);
36
37PRIVATE void constrained_majorization_new_with_gaps(CMajEnv*, float*, float**,
38 int, int, float);
39PRIVATE void deleteCMajEnv(CMajEnv *e);
40
41PRIVATE float** unpackMatrix(float * packedMat, int n);
42
43#endif
44
45#ifdef __cplusplus
46}
47#endif
macro for API hiding/exposing
#define PRIVATE
Definition api.h:16
#define A(n, t)
Definition expr.h:76