lhapdf is hosted by Hepforge, IPPP Durham
LHAPDF 6.5.3
Loading...
Searching...
No Matches
LogBilinearInterpolator.h
1// -*- C++ -*-
2//
3// This file is part of LHAPDF
4// Copyright (C) 2012-2022 The LHAPDF collaboration (see AUTHORS for details)
5//
6#pragma once
7#ifndef LHAPDF_LogBilinearInterpolator_H
8#define LHAPDF_LogBilinearInterpolator_H
9
10#include "LHAPDF/Interpolator.h"
11
12namespace LHAPDF {
13
14
17 public:
18 double _interpolateXQ2(const KnotArray& subgrid, double x, size_t ix, double q2, size_t iq2, int id) const;
19 void _interpolateXQ2(const KnotArray& subgrid, double x, size_t ix, double q2, size_t iq2, std::vector<double>& ret) const;
20
21 };
22
23
24}
25#endif
The general interface for interpolating between grid points.
Definition: Interpolator.h:21
Internal storage class for PDF data point grids.
Definition: KnotArray.h:45
Implementation of bilinear interpolation.
Definition: LogBilinearInterpolator.h:16
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.
Namespace for all LHAPDF functions and classes.
Definition: AlphaS.h:14