Mantid
Loading...
Searching...
No Matches
EndErfc.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"
15
16namespace Mantid {
17namespace CurveFitting {
18namespace Functions {
26class MANTID_CURVEFITTING_DLL EndErfc : public API::ParamFunction, public API::IFunction1D {
27public:
29 std::string name() const override { return "EndErfc"; }
30
32 void setActiveParameter(size_t i, double value) override;
33 const std::string category() const override { return "Calibrate"; }
34
35protected:
36 void function1D(double *out, const double *xValues, const size_t nData) const override;
37
39 void init() override;
40};
41
42} // namespace Functions
43} // namespace CurveFitting
44} // namespace Mantid
double value
The value of the point.
Definition: FitMW.cpp:51
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 Errore function erfc()for calibrating the end of a tube.
Definition: EndErfc.h:26
const std::string category() const override
The categories the Fit function belong to.
Definition: EndErfc.h:33
std::string name() const override
overwrite IFunction base class methods
Definition: EndErfc.h:29
Helper class which provides the Collimation Length for SANS instruments.