General Purpose Geodetic Library
|
#include <iostream>
#include <stdlib.h>
#include <SgMathSupport.h>
#include <SgMJD.h>
#include <Sg3dVector.h>
Go to the source code of this file.
Macros | |
#define | SWAP(a, b) {typeof(a) t; t = a; a = b; b = t;} |
Functions | |
unsigned int | reverseBitOrder (unsigned int n, unsigned int k) |
void | fft (std::complex< double > x_a[], std::complex< double > x_A[], unsigned int n, FFT_Direction dir) |
void | geocentric2geodetic (const Sg3dVector &r, double &latitude, double &longitude, double &height, bool useOldEllipsoid) |
void | calcCip2IAU1980 (const SgMJD &epoch, double dX, double dY, double dPsi_1980, double dEps_1980, double dPsi_2000, double dEps_2000, double &diffPsi, double &diffEps) |
void | calcNutationFundArgs_IersConv2003 (const SgMJD &tEpoch, double args[5]) |
void | calcNutationFundArgs_IersConv1996 (const SgMJD &tEpoch, double args[5]) |
void | calcNutationFundArgs_IersStds1992 (const SgMJD &tEpoch, double args[5]) |
const std::complex< double > | zI (0.0, 1.0) |
#define SWAP | ( | a, | |
b | |||
) | {typeof(a) t; t = a; a = b; b = t;} |
Definition at line 37 of file SgMathSupport.cpp.
void calcCip2IAU1980 | ( | const SgMJD & | epoch, |
double | dX, | ||
double | dY, | ||
double | dPsi_1980, | ||
double | dEps_1980, | ||
double | dPsi_2000, | ||
double | dEps_2000, | ||
double & | diffPsi, | ||
double & | diffEps | ||
) |
Definition at line 182 of file SgMathSupport.cpp.
References SEC2RAD, and tEphem.
Referenced by SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
void calcNutationFundArgs_IersConv1996 | ( | const SgMJD & | tEpoch, |
double | args[5] | ||
) |
Definition at line 271 of file SgMathSupport.cpp.
References DEG2SEC, SEC2RAD, and tEphem.
Referenced by SgTidalUt1::SgTidalUt1().
void calcNutationFundArgs_IersConv2003 | ( | const SgMJD & | tEpoch, |
double | args[5] | ||
) |
Definition at line 239 of file SgMathSupport.cpp.
References DEG2SEC, SEC2RAD, and tEphem.
Referenced by SgTidalUt1::SgTidalUt1(), and SgModelEop_JMG_96_hf::calcCorrections().
void calcNutationFundArgs_IersStds1992 | ( | const SgMJD & | tEpoch, |
double | args[5] | ||
) |
Definition at line 304 of file SgMathSupport.cpp.
References DEG2SEC, SEC2RAD, and tEphem.
Referenced by SgTidalUt1::SgTidalUt1().
void fft | ( | std::complex< double > | x_a[], |
std::complex< double > | x_A[], | ||
unsigned int | n, | ||
FFT_Direction | dir | ||
) |
Definition at line 69 of file SgMathSupport.cpp.
References FFT_Forward, FFT_Inverse, reverseBitOrder(), and zI().
Referenced by evaluatePhaseCals(), and NsTestFour1Dialog::testPlot().
void geocentric2geodetic | ( | const Sg3dVector & | r, |
double & | latitude, | ||
double & | longitude, | ||
double & | height, | ||
bool | useOldEllipsoid | ||
) |
Definition at line 120 of file SgMathSupport.cpp.
References Sg3dVector::at(), signum(), X_AXIS, Y_AXIS, and Z_AXIS.
Referenced by SgVlbiStationInfo::recalcRLF(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), and SgVlbiStationInfo::setR().
unsigned int reverseBitOrder | ( | unsigned int | n, |
unsigned int | k | ||
) |
Definition at line 49 of file SgMathSupport.cpp.
Referenced by fft().
const std::complex<double> zI | ( | 0. | 0, |
1. | 0 | ||
) |
Referenced by fft().