Mantid
Loading...
Searching...
No Matches
ChebyshevPolynomial.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9//-----------------------------------------------------------------------------
10// Includes
11//-----------------------------------------------------------------------------
12#include "MantidKernel/DllConfig.h"
13
14namespace Mantid {
15namespace Kernel {
16
22struct MANTID_KERNEL_DLL ChebyshevPolynomial {
23 double operator()(const size_t n, const double x);
24};
25} // namespace Kernel
26} // namespace Mantid
Helper class which provides the Collimation Length for SANS instruments.
Evaluates a single Chebyshev polynomial (first kind) for x in range [-1,1].