24 #ifndef _TRUNCATEDLORENTZIAN_HPP_
25 #define _TRUNCATEDLORENTZIAN_HPP_
32 #include "boost/shared_ptr.hpp"
45 TruncatedLorentzian(
double T);
46 ~TruncatedLorentzian();
49 virtual std::complex<double> operator()(
double f,
const ublas::vector<double>& p)
const;
50 virtual ublas::vector< std::complex<double> > dp(
double f,
const ublas::vector<double>& p)
const;
51 virtual ublas::matrix< std::complex<double> > dp2(
double f,
const ublas::vector<double>& p)
const;
53 void outputSamples(
const std::string& filename,
const ublas::vector<double>& p,
54 double shift = 0,
double scale = 1)
const;
58 boost::shared_ptr<Impl>
impl_;
66 #endif // _TRUNCATEDLORENZIAN_HPP_