labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

nsl_interp.h
Go to the documentation of this file.
1 /***************************************************************************
2  File : nsl_interp.h
3  Project : LabPlot
4  Description : NSL interpolation functions
5  --------------------------------------------------------------------
6  Copyright : (C) 2016 by Stefan Gerlach (stefan.gerlach@uni.kn)
7 
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  * This program is distributed in the hope that it will be useful, *
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
20  * GNU General Public License for more details. *
21  * *
22  * You should have received a copy of the GNU General Public License *
23  * along with this program; if not, write to the Free Software *
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, *
25  * Boston, MA 02110-1301 USA *
26  * *
27  ***************************************************************************/
28 
29 #ifndef NSL_INTERP_H
30 #define NSL_INTERP_H
31 
32 #define NSL_INTERP_TYPE_COUNT 11
36 extern const char* nsl_interp_type_name[];
37 
38 #define NSL_INTERP_PCH_VARIANT_COUNT 4
41 extern const char* nsl_interp_pch_variant_name[];
42 
43 #define NSL_INTERP_EVALUATE_COUNT 4
46 extern const char* nsl_interp_evaluate_name[];
47 
48 /* calculates rational interpolation of n points of xy-data at xn using Burlisch-Stoer method. result in v (error dv) */
49 int nsl_interp_ratint(double *x, double *y, int n, double xn, double *v, double *dv);
50 
51 #endif /* NSL_INTERP_H */
int nsl_interp_ratint(double *x, double *y, int n, double xn, double *v, double *dv)
Definition: nsl_interp.c:37
nsl_interp_evaluate
Definition: nsl_interp.h:44
@ nsl_interp_evaluate_function
Definition: nsl_interp.h:44
@ nsl_interp_evaluate_derivative
Definition: nsl_interp.h:44
@ nsl_interp_evaluate_second_derivative
Definition: nsl_interp.h:44
@ nsl_interp_evaluate_integral
Definition: nsl_interp.h:45
nsl_interp_pch_variant
Definition: nsl_interp.h:39
@ nsl_interp_pch_variant_kochanek_bartels
Definition: nsl_interp.h:40
@ nsl_interp_pch_variant_finite_difference
Definition: nsl_interp.h:39
@ nsl_interp_pch_variant_catmull_rom
Definition: nsl_interp.h:39
@ nsl_interp_pch_variant_cardinal
Definition: nsl_interp.h:39
const char * nsl_interp_pch_variant_name[]
Definition: nsl_interp.c:34
const char * nsl_interp_type_name[]
Definition: nsl_interp.c:31
const char * nsl_interp_evaluate_name[]
Definition: nsl_interp.c:35
nsl_interp_type
Definition: nsl_interp.h:33
@ nsl_interp_type_akima_periodic
Definition: nsl_interp.h:34
@ nsl_interp_type_polynomial
Definition: nsl_interp.h:33
@ nsl_interp_type_akima
Definition: nsl_interp.h:34
@ nsl_interp_type_cspline_periodic
Definition: nsl_interp.h:33
@ nsl_interp_type_linear
Definition: nsl_interp.h:33
@ nsl_interp_type_rational
Definition: nsl_interp.h:35
@ nsl_interp_type_cosine
Definition: nsl_interp.h:34
@ nsl_interp_type_pch
Definition: nsl_interp.h:35
@ nsl_interp_type_cspline
Definition: nsl_interp.h:33
@ nsl_interp_type_exponential
Definition: nsl_interp.h:35
@ nsl_interp_type_steffen
Definition: nsl_interp.h:34