Graphviz 13.1.2~dev.20250726.0945
Loading...
Searching...
No Matches
conjgrad.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#include <neatogen/defs.h>
18#include <stdbool.h>
19
20#if !defined(__CYGWIN__) && defined(__GNUC__) && !defined(__MINGW32__)
21#define INTERNAL __attribute__((visibility("hidden")))
22#else
23#define INTERNAL /* nothing */
24#endif
25
26/*************************
27 * C.G. method - SPARSE *
28 ************************/
29
30INTERNAL int conjugate_gradient(vtx_data *, double *, double *, int,
31 double, int);
32
33/*************************
34 * C.G. method - DENSE *
35 ************************/
36
37INTERNAL int conjugate_gradient_f(float **, double *, double *, int,
38 double, int, bool);
39
40INTERNAL int conjugate_gradient_mkernel(float *, float *, float *, int,
41 double, int);
42
43#undef INTERNAL
44
45#ifdef __cplusplus
46}
47#endif
#define INTERNAL
Definition conjgrad.h:23
INTERNAL int conjugate_gradient_f(float **, double *, double *, int, double, int, bool)
Definition conjgrad.c:91
INTERNAL int conjugate_gradient_mkernel(float *, float *, float *, int, double, int)
Definition conjgrad.c:160
INTERNAL int conjugate_gradient(vtx_data *, double *, double *, int, double, int)
Definition conjgrad.c:22