BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
FTDistribution1DCosine Class Reference

IFTDistribution1D consisting of one cosine wave [1+cos(pi*x/omega) if |x|<omega, and 0 otherwise]; its Fourier transform evaluate(q) starts at evaluate(0)=1. More...

+ Inheritance diagram for FTDistribution1DCosine:

Public Member Functions

 FTDistribution1DCosine (const std::vector< double > P)
 
 FTDistribution1DCosine (double omega)
 
void accept (INodeVisitor *visitor) const final
 
FTDistribution1DCosineclone () const final
 
double evaluate (double q) const final
 
double qSecondDerivative () const final
 

Detailed Description

IFTDistribution1D consisting of one cosine wave [1+cos(pi*x/omega) if |x|<omega, and 0 otherwise]; its Fourier transform evaluate(q) starts at evaluate(0)=1.