ATLAS Offline Software
Public Member Functions | List of all members
MuonCalib::LegendrePolynomial Class Reference

#include <LegendrePolynomial.h>

Inheritance diagram for MuonCalib::LegendrePolynomial:
Collaboration diagram for MuonCalib::LegendrePolynomial:

Public Member Functions

 LegendrePolynomial ()=default
 
double value (const int k, const double x) const override final
 get the value of the k-th base function at x More...
 

Detailed Description

This class provides a legendre polynomial of order k. It is derived from BaseFunction.

Definition at line 19 of file LegendrePolynomial.h.

Constructor & Destructor Documentation

◆ LegendrePolynomial()

MuonCalib::LegendrePolynomial::LegendrePolynomial ( )
default

Member Function Documentation

◆ value()

double LegendrePolynomial::value ( const int  k,
const double  x 
) const
finaloverridevirtual

get the value of the k-th base function at x

Implements MuonCalib::BaseFunction.

Definition at line 9 of file LegendrePolynomial.cxx.

9  {
10  return std::legendre(k, x);
11 }

The documentation for this class was generated from the following files:
x
#define x
fitman.k
k
Definition: fitman.py:528