1/* $Id$ $Revision$ */
2/* vim:set shiftwidth=4 ts=8: */
3
4/*************************************************************************
5 * Copyright (c) 2011 AT&T Intellectual Property
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *
11 * Contributors: See CVS logs. Details at http://www.graphviz.org/
12 *************************************************************************/
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18
19
20#ifndef _CG_H_
21#define _CG_H_
22
23#include "defs.h"
24
25/*************************
26 * C.G. method - SPARSE *
27 ************************/
28
29 extern int conjugate_gradient(vtx_data *, double *, double *, int,
30 double, int);
31
32/*************************
33 * C.G. method - DENSE *
34 ************************/
35
36 extern int conjugate_gradient_f(float **, double *, double *, int,
37 double, int, boolean);
38
39 extern int conjugate_gradient_mkernel(float *, float *, float *, int,
40 double, int);
41
42#endif
43
44#ifdef __cplusplus
45}
46#endif
47