|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Wrappers for using the GNU Scientific Library 1-D interpolation functions. More...
Wrappers for using the GNU Scientific Library 1-D interpolation functions.
Definition in file gslInterpolation.hpp.
#include <vector>#include <gsl/gsl_interp.h>#include <gsl/gsl_errno.h>#include "../mxException.hpp"Go to the source code of this file.
Namespaces | |
| namespace | mx |
| The mxlib c++ namespace. | |
Functions | |
| template<typename realT > | |
| int | mx::math::gsl_interpolate (const gsl_interp_type *interpT, realT *xin, realT *yin, size_t Nin, realT *xout, realT *yout, size_t Nout) |
| Interpolate a 1-D data X vs Y discrete function onto a new X axis. | |
| template<typename realT > | |
| int | mx::math::gsl_interpolate (const gsl_interp_type *interpT, std::vector< realT > &xin, std::vector< realT > &yin, std::vector< realT > &xout, std::vector< realT > &yout) |
| Interpolate a 1-D data X vs Y discrete function onto a new X axis (vector version) | |