Go to the source code of this file.
Functions | |
std::vector< double > | fileToVector (const char *name) |
Given the file name oof a text file containing a flutter code store the values in a vector of doubles. More... | |
double | abs_hat_alpha (std::vector< double > code, double xi) |
double | w_prime_estimator (double xi, std::vector< double > code, double epsilon) |
double abs_hat_alpha | ( | std::vector< double > | code, |
double | xi | ||
) |
Gives back the modulus of the Fourier transform
RETURNS the modulus at xi of the flutter shutter function given its code: ()= sinc({ }{2}) {k=0}^{L-1} e^{-i {2k+1}{2}}
Definition at line 112 of file routines.cpp.
std::vector<double> fileToVector | ( | const char * | name | ) |
Given the file name oof a text file containing a flutter code store the values in a vector of doubles.
const | char *name: the file name containing the flutter code |
Definition at line 74 of file routines.cpp.
double w_prime_estimator | ( | double | xi, |
std::vector< double > | code, | ||
double | epsilon | ||
) |
Definition at line 162 of file routines.cpp.