Mantid
Loading...
Searching...
No Matches
StretchExpMuon.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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//----------------------------------------------------------------------
14#include "MantidCurveFitting/DllConfig.h"
15namespace Mantid {
16namespace CurveFitting {
17namespace Functions {
24class MANTID_CURVEFITTING_DLL StretchExpMuon : public API::ParamFunction, public API::IFunction1D {
25public:
27 std::string name() const override { return "StretchExpMuon"; }
28 const std::string category() const override { return "Muon\\MuonGeneric"; }
29
30protected:
31 void function1D(double *out, const double *xValues, const size_t nData) const override;
32 void init() override;
33};
34
35} // namespace Functions
36} // namespace CurveFitting
37} // 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
Provide stetch exponential function for Muon scientists.
std::string name() const override
overwrite IFunction base class methods
const std::string category() const override
The categories the Fit function belong to.
Helper class which provides the Collimation Length for SANS instruments.