Mantid
Loading...
Searching...
No Matches
SpecialFunctionSupport.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//----------------------------------------------------------------------
12#include "MantidCurveFitting/DllConfig.h"
13#include <cmath>
14#include <complex>
15#include <functional>
16#include <vector>
17
18namespace Mantid {
19namespace CurveFitting {
20/*
21 Special functions used as part of peak shape functions that are not
22 included in the Gnu Scientific Lib or other C/C++ open source code projects
23
24 @author Anders J Markvardsen, Rutherford Appleton Laboratory
25 @date 30/09/2009
26 */
27namespace SpecialFunctionSupport {
30std::complex<double> MANTID_CURVEFITTING_DLL exponentialIntegral(const std::complex<double> &z);
31
32} // namespace SpecialFunctionSupport
33} // namespace CurveFitting
34} // namespace Mantid
std::complex< double > MANTID_CURVEFITTING_DLL exponentialIntegral(const std::complex< double > &z)
Compute exp(z)*E1(z) where z is complex and E1(z) is the Exponential Integral.
Helper class which provides the Collimation Length for SANS instruments.