Graphviz 14.0.2~dev.20251009.1020
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#include <util/api.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#ifdef DIGCOLA
20
21typedef struct {
22 float **A;
23 int n;
24 float *fArray1;
25 float *fArray2;
26 float *fArray3;
27 float *fArray4;
28 int *ordering;
29 int *levels;
30 int num_levels;
31}CMajEnv;
32
33PRIVATE CMajEnv* initConstrainedMajorization(float *, int, int*, int*, int);
34
35PRIVATE void constrained_majorization_new_with_gaps(CMajEnv*, float*, float**,
36 int, int, float);
37PRIVATE void deleteCMajEnv(CMajEnv *e);
38
39PRIVATE float** unpackMatrix(float * packedMat, int n);
40
41#endif
42
43#ifdef __cplusplus
44}
45#endif
macro for API hiding/exposing
#define PRIVATE
Definition api.h:16
#define A(n, t)
Definition expr.h:76