Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
funcs.cpp File Reference

file containing miscellaneous numerical functions. More...

#include "cantera/numerics/funcs.h"
#include "cantera/base/ctexceptions.h"
#include "cantera/base/stringUtils.h"
Include dependency graph for funcs.cpp:

Go to the source code of this file.

Namespaces

 Cantera
 Namespace for the Cantera kernel.
 

Macros

#define _DPOLFT_   dpolft
 
#define _DPCOEF_   dpcoef
 

Functions

int _DPOLFT_ (integer *n, doublereal *x, doublereal *y, doublereal *w, integer *maxdeg, integer *ndeg, doublereal *eps, doublereal *r, integer *ierr, doublereal *a)
 
int _DPCOEF_ (integer *l, doublereal *c, doublereal *tc, doublereal *a)
 
doublereal linearInterp (doublereal x, const vector_fp &xpts, const vector_fp &fpts)
 Linearly interpolate a function defined on a discrete grid. More...
 
doublereal polyfit (int n, doublereal *x, doublereal *y, doublereal *w, int maxdeg, int &ndeg, doublereal eps, doublereal *r)
 Fits a polynomial function to a set of data points. More...
 

Detailed Description

file containing miscellaneous numerical functions.

Definition in file funcs.cpp.