lsst.gauss2d.fit g199a45376c+5e234f8357
 
Loading...
Searching...
No Matches
gsl.h
1#ifndef LSST_GAUSS2D_FIT_GSL_H
2#define LSST_GAUSS2D_FIT_GSL_H
3
4#ifdef LSST_GAUSS2D_FIT_HAS_GSL
5
6#include <unordered_map>
7
8#include <gsl/gsl_interp.h>
9
10#include "interpolation.h"
11
12namespace lsst::gauss2d::fit {
13
18static const std::unordered_map<InterpType, const gsl_interp_type*> GSLInterpTypes{
19 {InterpType::linear, gsl_interp_linear},
20 {InterpType::polynomial, gsl_interp_polynomial},
21 {InterpType::cspline, gsl_interp_cspline},
22 {InterpType::akima, gsl_interp_akima}};
23} // namespace lsst::gauss2d::fit
24
25#endif // LSST_GAUSS2D_FIT_HAS_GSL
26#endif // GAUSS2D_FIT_GSL_H