ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalib::LegendrePolynomial Class Reference

This class provides a legendre polynomial of order k. More...

#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

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 10 of file LegendrePolynomial.cxx.

10 {
11 return Acts::detail::legendrePoly(x,k);
12}
#define x

The documentation for this class was generated from the following files: