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_corr.h File Reference
#include <stdlib.h>
Include dependency graph for nsl_corr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NSL_CORR_TYPE_COUNT   2
 
#define NSL_CORR_NORM_COUNT   4
 

Enumerations

enum  nsl_corr_type_type { nsl_corr_type_linear , nsl_corr_type_circular }
 
enum  nsl_corr_norm_type { nsl_corr_norm_none , nsl_corr_norm_biased , nsl_corr_norm_unbiased , nsl_corr_norm_coeff }
 

Functions

int nsl_corr_correlation (double s[], size_t n, double r[], size_t m, nsl_corr_type_type, nsl_corr_norm_type normalize, double out[])
 
int nsl_corr_fft_type (double s[], size_t n, double r[], size_t m, nsl_corr_type_type, nsl_corr_norm_type normalize, double out[])
 
int nsl_corr_fft_GSL (double s[], double r[], size_t n, double out[])
 

Variables

const char * nsl_corr_type_name []
 
const char * nsl_corr_norm_name []
 

Macro Definition Documentation

◆ NSL_CORR_NORM_COUNT

#define NSL_CORR_NORM_COUNT   4

Definition at line 39 of file nsl_corr.h.

◆ NSL_CORR_TYPE_COUNT

#define NSL_CORR_TYPE_COUNT   2

File : nsl_corr.h Project : LabPlot

Description : NSL discrete correlation functions

Copyright : (C) 2018 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 34 of file nsl_corr.h.

Enumeration Type Documentation

◆ nsl_corr_norm_type

Enumerator
nsl_corr_norm_none 
nsl_corr_norm_biased 
nsl_corr_norm_unbiased 
nsl_corr_norm_coeff 

Definition at line 45 of file nsl_corr.h.

◆ nsl_corr_type_type

Enumerator
nsl_corr_type_linear 
nsl_corr_type_circular 

Definition at line 36 of file nsl_corr.h.

Function Documentation

◆ nsl_corr_correlation()

int nsl_corr_correlation ( double  s[],
size_t  n,
double  r[],
size_t  m,
nsl_corr_type_type  type,
nsl_corr_norm_type  normalize,
double  out[] 
)

◆ nsl_corr_fft_GSL()

int nsl_corr_fft_GSL ( double  s[],
double  r[],
size_t  n,
double  out[] 
)

Definition at line 177 of file nsl_corr.c.

Referenced by nsl_corr_fft_type().

◆ nsl_corr_fft_type()

int nsl_corr_fft_type ( double  s[],
size_t  n,
double  r[],
size_t  m,
nsl_corr_type_type  type,
nsl_corr_norm_type  normalize,
double  out[] 
)

Variable Documentation

◆ nsl_corr_norm_name

const char* nsl_corr_norm_name[]
extern

◆ nsl_corr_type_name

const char* nsl_corr_type_name[]
extern

File : nsl_corr.c Project : LabPlot

Description : NSL discrete correlation functions

Copyright : (C) 2018 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 37 of file nsl_corr.c.

Referenced by XYCorrelationCurvePrivate::recalculate(), and XYCorrelationCurveDock::setupGeneral().