Back to index

plt-scheme  4.2.1
fit.h
Go to the documentation of this file.
00001 /* $Id: fit.h,v 1.5 2005/03/15 23:19:40 eli Exp $ */
00002 
00003 /* GNUPLOT - fit.h */
00004 
00005 /*  NOTICE: Change of Copyright Status
00006  *
00007  *  The author of this module, Carsten Grammes, has expressed in
00008  *  personal email that he has no more interest in this code, and
00009  *  doesn't claim any copyright. He has agreed to put this module
00010  *  into the public domain.
00011  *
00012  *  Lars Hecking  15-02-1999
00013  */
00014 
00015 /*
00016  *     Header file: public functions in fit.c
00017  *
00018  *
00019  *     Copyright of this module:   Carsten Grammes, 1993
00020  *      Experimental Physics, University of Saarbruecken, Germany
00021  *
00022  *     Internet address: cagr@rz.uni-sb.de
00023  *
00024  *     Permission to use, copy, and distribute this software and its
00025  *     documentation for any purpose with or without fee is hereby granted,
00026  *     provided that the above copyright notice appear in all copies and
00027  *     that both that copyright notice and this permission notice appear
00028  *     in supporting documentation.
00029  *
00030  *      This software is provided "as is" without express or implied warranty.
00031  */
00032 
00033 #include <scheme.h>
00034 
00035 MZ_DLLEXPORT
00036 double * do_fit(void * function,
00037               int n_values,
00038               double * x_values,
00039               double * y_values,
00040               double * z_values,
00041               double * errors,
00042               int n_parameters,
00043               double * parameters);
00044 
00045 
00046 MZ_DLLEXPORT
00047 double get_rms();
00048 
00049 MZ_DLLEXPORT
00050 double get_varience();
00051 
00052 MZ_DLLEXPORT
00053 double * get_asym_error();
00054 
00055 MZ_DLLEXPORT
00056 double * get_asym_error_percent();