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

Triangle IFTDistribution1D [1-|x|/omega if |x|<omega, and 0 otherwise]; its Fourier transform evaluate(q) is a squared sinc function starting at evaluate(0)=1. More...

+ Inheritance diagram for FTDistribution1DTriangle:

Public Member Functions

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

Detailed Description

Triangle IFTDistribution1D [1-|x|/omega if |x|<omega, and 0 otherwise]; its Fourier transform evaluate(q) is a squared sinc function starting at evaluate(0)=1.