10namespace CurveFitting {
34 double real(
size_t i)
const {
44 double imag(
size_t i)
const {
58 void set(
size_t i,
const double &re,
const double &im) {
Class for helping to read the transformed data.
HalfComplex(double *data, const size_t &n)
Constructor.
double real(size_t i) const
The real part of i-th transform coefficient.
void set(size_t i, const double &re, const double &im)
Set a new value for i-th complex coefficient.
double imag(size_t i) const
The imaginary part of i-th transform coefficient.
double * m_data
pointer to the transformed data
size_t m_size
size of the transformed data
size_t size() const
Returns the size of the transform.
bool m_even
true if the size of the original data is even
Helper class which provides the Collimation Length for SANS instruments.