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.c File Reference
#include "nsl_interp.h"
#include "nsl_common.h"
Include dependency graph for nsl_interp.c:

Go to the source code of this file.

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 [] = { "finite differences" , "Catmull-Rom" , "cardinal" , "Kochanek-Bartels (TCB)" }
 
const char * nsl_interp_evaluate_name [] = { "function" , "derivative" , "second derivative" , "integral" }
 

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[] = { "function" , "derivative" , "second derivative" , "integral" }

◆ nsl_interp_pch_variant_name

const char* nsl_interp_pch_variant_name[] = { "finite differences" , "Catmull-Rom" , "cardinal" , "Kochanek-Bartels (TCB)" }

◆ nsl_interp_type_name

const char* nsl_interp_type_name[]
Initial value:
= { "linear" , "polynomial" , "cubic spline (natural)" , "cubic spline (periodic)" ,
"Akima-spline (natural)" , "Akima-spline (periodic)" , "Steffen spline" , "cosine" , "exponential" ,
"piecewise cubic Hermite (PCH)" , "rational functions" }

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().