Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:44:04

0001 // -*- C++ -*-
0002 //
0003 // This file is part of LHAPDF
0004 // Copyright (C) 2012-2022 The LHAPDF collaboration (see AUTHORS for details)
0005 //
0006 #pragma once
0007 #ifndef LHAPDF_LogBilinearInterpolator_H
0008 #define LHAPDF_LogBilinearInterpolator_H
0009 
0010 #include "LHAPDF/Interpolator.h"
0011 
0012 namespace LHAPDF {
0013 
0014 
0015   /// Implementation of bilinear interpolation
0016   class LogBilinearInterpolator : public Interpolator {
0017   public:
0018     double _interpolateXQ2(const KnotArray& subgrid, double x, size_t ix, double q2, size_t iq2, int id) const;
0019     void _interpolateXQ2(const KnotArray& subgrid, double x, size_t ix, double q2, size_t iq2, std::vector<double>& ret) const;
0020 
0021   };
0022 
0023 
0024 }
0025 #endif