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

#include <ChebyshevPolynomial.h>

Inheritance diagram for MuonCalib::ChebyshevPolynomial:
Collaboration diagram for MuonCalib::ChebyshevPolynomial:

Public Member Functions

 ChebyshevPolynomial ()=default
 default constructor More...
 
double value (const int k, const double x) const
 get the value of the Chebyshev polynomial of k-th order at x, (-1 <= x <= 1) More...
 

Detailed Description

This class class provides a Chebyshev polynomial of order k.

Definition at line 17 of file ChebyshevPolynomial.h.

Constructor & Destructor Documentation

◆ ChebyshevPolynomial()

MuonCalib::ChebyshevPolynomial::ChebyshevPolynomial ( )
default

default constructor

Member Function Documentation

◆ value()

double MuonCalib::ChebyshevPolynomial::value ( const int  k,
const double  x 
) const
virtual

get the value of the Chebyshev polynomial of k-th order at x, (-1 <= x <= 1)

Implements MuonCalib::BaseFunction.

Definition at line 8 of file ChebyshevPolynomial.cxx.

8  {
9  return chebyshevPoly1st(order, x);
10  }

The documentation for this class was generated from the following files:
x
#define x
mc.order
order
Configure Herwig7.
Definition: mc.Herwig7_Dijet.py:12
MuonCalib::chebyshevPoly1st
constexpr double chebyshevPoly1st(const unsigned int order, const double x)
Returns the n-th Chebyshev polynomial of first kind evaluated at x (c.f.
Definition: ChebychevPoly.h:13