Graphviz  2.31.20130618.0446
lib/neatogen/conjgrad.h
Go to the documentation of this file.
00001 /* $Id$ $Revision$ */
00002 /* vim:set shiftwidth=4 ts=8: */
00003 
00004 /*************************************************************************
00005  * Copyright (c) 2011 AT&T Intellectual Property 
00006  * All rights reserved. This program and the accompanying materials
00007  * are made available under the terms of the Eclipse Public License v1.0
00008  * which accompanies this distribution, and is available at
00009  * http://www.eclipse.org/legal/epl-v10.html
00010  *
00011  * Contributors: See CVS logs. Details at http://www.graphviz.org/
00012  *************************************************************************/
00013 
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif
00017 
00018 
00019 
00020 #ifndef _CG_H_
00021 #define _CG_H_
00022 
00023 #include "defs.h"
00024 
00025 /*************************
00026  * C.G. method - SPARSE  *
00027  ************************/
00028 
00029     extern int conjugate_gradient(vtx_data *, double *, double *, int,
00030                                    double, int);
00031 
00032 /*************************
00033  * C.G. method - DENSE   *
00034  ************************/
00035 
00036     extern int conjugate_gradient_f(float **, double *, double *, int,
00037                                      double, int, boolean);
00038 
00039     extern int conjugate_gradient_mkernel(float *, float *, float *, int,
00040                                            double, int);
00041 
00042 #endif
00043 
00044 #ifdef __cplusplus
00045 }
00046 #endif