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 File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NSL_INTERP_TYPE_COUNT   11
 
#define NSL_INTERP_PCH_VARIANT_COUNT   4
 
#define NSL_INTERP_EVALUATE_COUNT   4
 

Enumerations

enum  nsl_interp_type {
  nsl_interp_type_linear , nsl_interp_type_polynomial , nsl_interp_type_cspline , nsl_interp_type_cspline_periodic ,
  nsl_interp_type_akima , nsl_interp_type_akima_periodic , nsl_interp_type_steffen , nsl_interp_type_cosine ,
  nsl_interp_type_exponential , nsl_interp_type_pch , nsl_interp_type_rational
}
 
enum  nsl_interp_pch_variant { nsl_interp_pch_variant_finite_difference , nsl_interp_pch_variant_catmull_rom , nsl_interp_pch_variant_cardinal , nsl_interp_pch_variant_kochanek_bartels }
 
enum  nsl_interp_evaluate { nsl_interp_evaluate_function , nsl_interp_evaluate_derivative , nsl_interp_evaluate_second_derivative , nsl_interp_evaluate_integral }
 

Functions

int nsl_interp_ratint (double *x, double *y, int n, double xn, double *v, double *dv)
 

Variables

const char * nsl_interp_type_name []
 
const char * nsl_interp_pch_variant_name []
 
const char * nsl_interp_evaluate_name []
 

Macro Definition Documentation

◆ NSL_INTERP_EVALUATE_COUNT

#define NSL_INTERP_EVALUATE_COUNT   4

Definition at line 43 of file nsl_interp.h.

◆ NSL_INTERP_PCH_VARIANT_COUNT

#define NSL_INTERP_PCH_VARIANT_COUNT   4

Definition at line 38 of file nsl_interp.h.

◆ NSL_INTERP_TYPE_COUNT

#define NSL_INTERP_TYPE_COUNT   11

File : nsl_interp.h Project : LabPlot

Description : NSL interpolation functions

Copyright : (C) 2016 by Stefan Gerlach (stefa.nosp@m.n.ge.nosp@m.rlach.nosp@m.@uni.nosp@m..kn)

  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
  • This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *
  • You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA *

Definition at line 32 of file nsl_interp.h.

Enumeration Type Documentation

◆ nsl_interp_evaluate

Enumerator
nsl_interp_evaluate_function 
nsl_interp_evaluate_derivative 
nsl_interp_evaluate_second_derivative 
nsl_interp_evaluate_integral 

Definition at line 44 of file nsl_interp.h.

◆ nsl_interp_pch_variant

Enumerator
nsl_interp_pch_variant_finite_difference 
nsl_interp_pch_variant_catmull_rom 
nsl_interp_pch_variant_cardinal 
nsl_interp_pch_variant_kochanek_bartels 

Definition at line 39 of file nsl_interp.h.

◆ nsl_interp_type

Enumerator
nsl_interp_type_linear 
nsl_interp_type_polynomial 
nsl_interp_type_cspline 
nsl_interp_type_cspline_periodic 
nsl_interp_type_akima 
nsl_interp_type_akima_periodic 
nsl_interp_type_steffen 
nsl_interp_type_cosine 
nsl_interp_type_exponential 
nsl_interp_type_pch 
nsl_interp_type_rational 

Definition at line 33 of file nsl_interp.h.

Function Documentation

◆ nsl_interp_ratint()

int nsl_interp_ratint ( double *  x,
double *  y,
int  n,
double  xn,
double *  v,
double *  dv 
)

Definition at line 37 of file nsl_interp.c.

References nsl_smooth_check::m, and nsl_smooth_check::x.

Referenced by XYInterpolationCurvePrivate::recalculate().

Variable Documentation

◆ nsl_interp_evaluate_name

const char* nsl_interp_evaluate_name[]
extern

◆ nsl_interp_pch_variant_name

const char* nsl_interp_pch_variant_name[]
extern

◆ nsl_interp_type_name

const char* nsl_interp_type_name[]
extern

File : nsl_interp.c Project : LabPlot

Description : NSL interpolation functions

Copyright : (C) 2016 by Stefan Gerlach (stefa.nosp@m.n.ge.nosp@m.rlach.nosp@m.@uni.nosp@m..kn)

  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
  • This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *
  • You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA *

Definition at line 31 of file nsl_interp.c.

Referenced by XYInterpolationCurvePrivate::recalculate(), and XYInterpolationCurveDock::setupGeneral().