Mantid
Loading...
Searching...
No Matches
ProductQuadraticExp.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 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#include "MantidKernel/System.h"
13
14namespace Mantid {
15namespace CurveFitting {
16namespace Functions {
17
21class MANTID_CURVEFITTING_DLL ProductQuadraticExp : public API::ParamFunction, public API::IFunction1D {
22public:
24
25 std::string name() const override { return "ProductQuadraticExp"; }
26
27 const std::string category() const override { return "Calibrate"; }
28
29protected:
30 void functionDeriv1D(API::Jacobian *out, const double *xValues, const size_t nData) override;
31 void function1D(double *out, const double *xValues, const size_t nData) const override;
32};
33
34} // namespace Functions
35} // namespace CurveFitting
36} // namespace Mantid
This is a specialization of IFunction for functions of one real argument.
Definition: IFunction1D.h:43
Represents the Jacobian in IFitFunction::functionDeriv.
Definition: Jacobian.h:22
Implements the part of IFunction interface dealing with parameters.
Definition: ParamFunction.h:33
ProductQuadraticExp : Function that evauates the product of an exponential and quadratic function.
const std::string category() const override
The categories the Fit function belong to.
std::string name() const override
Returns the function's name.
Helper class which provides the Collimation Length for SANS instruments.