lhapdf
is hosted by
Hepforge
,
IPPP Durham
LHAPDF
6.5.5
Loading...
Searching...
No Matches
include
LHAPDF
BicubicInterpolator.h
1
// -*- C++ -*-
2
//
3
// This file is part of LHAPDF
4
// Copyright (C) 2012-2024 The LHAPDF collaboration (see AUTHORS for details)
5
//
6
#
pragma
once
7
#
ifndef
LHAPDF_BicubicInterpolator_H
8
#
define
LHAPDF_BicubicInterpolator_H
9
10
#
include
"LHAPDF/Interpolator.h"
11
12
namespace
LHAPDF
{
13
14
15
/// @brief Implementation of bicubic interpolation
16
///
17
/// This class will interpolate in 2D using a bicubic hermite spline.
18
class
BicubicInterpolator
:
public
Interpolator
{
19
public
:
20
BicubicInterpolator(){ setType(
"cubic"
); }
21
double
_interpolateXQ2
(
const
KnotArray& subgrid,
double
x, size_t ix,
double
q2, size_t iq2,
int
id)
const
;
22
void
_interpolateXQ2(
const
KnotArray& subgrid,
double
x, size_t ix,
double
q2, size_t iq2, std::vector<
double
>& ret)
const
;
23
};
24
25
26
}
27
#
endif
LHAPDF::BicubicInterpolator
Implementation of bicubic interpolation.
Definition
BicubicInterpolator.h:18
LHAPDF::BicubicInterpolator::_interpolateXQ2
double _interpolateXQ2(const KnotArray &subgrid, double x, size_t ix, double q2, size_t iq2, int id) const
Interpolate a single-point in (x,Q2), given x/Q2 values and subgrid indices.
LHAPDF
Namespace for all LHAPDF functions and classes.
Definition
AlphaS.h:14
Generated on Mon Dec 16 2024 19:04:47 for LHAPDF by
1.12.0