ATLAS Offline Software
LegendrePolynomial.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
5 #include "cmath"
6 
7 using namespace MuonCalib;
8 
9 double LegendrePolynomial::value(const int k, const double x) const {
10  return std::legendre(k, x);
11 }
MuonCalib::LegendrePolynomial::value
double value(const int k, const double x) const override final
get the value of the k-th base function at x
Definition: LegendrePolynomial.cxx:9
x
#define x
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
LegendrePolynomial.h
fitman.k
k
Definition: fitman.py:528