General Purpose Geodetic Library
SgMathSupport.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <complex>
#include <SgMathSupport.h>

Go to the source code of this file.

Macros

#define SWAP(a, b)   {typeof(a) t; t = a; a = b; b = t;}
 

Functions

void _fft (std::complex< double > buf[], std::complex< double > out[], int n, int step)
 
void fft (std::complex< double > buf[], int n)
 
void fft (double *x, double *y, int n, int dir)
 

Macro Definition Documentation

◆ SWAP

#define SWAP (   a,
 
)    {typeof(a) t; t = a; a = b; b = t;}

Definition at line 36 of file SgMathSupport.cpp.

Function Documentation

◆ _fft()

void _fft ( std::complex< double >  buf[],
std::complex< double >  out[],
int  n,
int  step 
)

Definition at line 48 of file SgMathSupport.cpp.

Referenced by fft().

◆ fft() [1/2]

void fft ( double *  x,
double *  y,
int  n,
int  dir 
)

Definition at line 82 of file SgMathSupport.cpp.

◆ fft() [2/2]

void fft ( std::complex< double >  buf[],
int  n 
)

Definition at line 63 of file SgMathSupport.cpp.

References _fft().

Referenced by evaluatePhaseCals(), and NsTestFour1Dialog::testPlot().