Mantid
Loading...
Searching...
No Matches
GramCharlier.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2017 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
11#include "MantidCurveFitting/DllConfig.h"
12
13namespace Mantid {
14namespace CurveFitting {
15namespace Functions {
16
20class MANTID_CURVEFITTING_DLL GramCharlier : public API::ParamFunction, public API::IFunction1D {
21protected:
23 void init() override;
24
25public:
26 std::string name() const override { return "GramCharlier"; }
27 void function1D(double *out, const double *x, const size_t n) const override;
28};
29
30} // namespace Functions
31} // namespace CurveFitting
32} // namespace Mantid
This is a specialization of IFunction for functions of one real argument.
Definition: IFunction1D.h:43
Implements the part of IFunction interface dealing with parameters.
Definition: ParamFunction.h:33
Implements a Gram-Charlier A series expansion.
Definition: GramCharlier.h:20
std::string name() const override
Returns the function's name.
Definition: GramCharlier.h:26
Helper class which provides the Collimation Length for SANS instruments.