Cantera  2.0
Namespaces | Macros | Functions
funcs.cpp File Reference

file containing miscellaneous numerical functions. More...

#include <vector>
#include <algorithm>
#include "cantera/numerics/ctlapack.h"
#include "cantera/base/ct_defs.h"
#include "cantera/base/ctexceptions.h"
#include "cantera/base/stringUtils.h"
#include "cantera/numerics/funcs.h"
#include "cantera/numerics/polyfit.h"
Include dependency graph for funcs.cpp:

Go to the source code of this file.

Namespaces

namespace  Cantera
 Provides class Nucleus.
 

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

Detailed Description

file containing miscellaneous numerical functions.

Definition in file funcs.cpp.