Rosetta 3.3
Classes | Typedefs | Functions
numeric::fourier Namespace Reference

Classes

class  kiss_fft_state
class  kiss_fftr_state
class  kiss_fftnd_state
class  kiss_fftndr_state

Typedefs

typedef std::complex
< kiss_fft_scalar > 
kiss_fft_cpx
typedef class kiss_fft_statekiss_fft_cfg
typedef class kiss_fftnd_statekiss_fftnd_cfg
typedef class kiss_fftr_statekiss_fftr_cfg
typedef class kiss_fftndr_statekiss_fftndr_cfg

Functions

void fft (ObjexxFCL::FArray1D< std::complex< double > > &X, ObjexxFCL::FArray1D< std::complex< double > > &fX)
 1D fft c->c double
void ifft (ObjexxFCL::FArray1D< std::complex< double > > &fX, ObjexxFCL::FArray1D< std::complex< double > > &X)
 1D inverse fft c->c double
void fft (ObjexxFCL::FArray1D< double > &X, ObjexxFCL::FArray1D< std::complex< double > > &fX)
 1D fft r->c double
void ifft (ObjexxFCL::FArray1D< std::complex< double > > &fX, ObjexxFCL::FArray1D< double > &X)
 1D inverse ifft c->r double
void fft (ObjexxFCL::FArray1D< float > &X, ObjexxFCL::FArray1D< std::complex< double > > &fX)
 1D fft r->c float .. wraps double version
void ifft (ObjexxFCL::FArray1D< std::complex< double > > &fX, ObjexxFCL::FArray1D< float > &X)
 1D inverse ifft c->r float ... wraps double version
void fft2 (ObjexxFCL::FArray2D< std::complex< double > > &X, ObjexxFCL::FArray2D< std::complex< double > > &fX)
 2D fft c->c double
void ifft2 (ObjexxFCL::FArray2D< std::complex< double > > &fX, ObjexxFCL::FArray2D< std::complex< double > > &X)
 2D inverse fft c->c double
void fft2 (ObjexxFCL::FArray2D< double > &X, ObjexxFCL::FArray2D< std::complex< double > > &fX)
 2D fft r->c double
void ifft2 (ObjexxFCL::FArray2D< std::complex< double > > &fX, ObjexxFCL::FArray2D< double > &X)
 2D inverse ifft c->r double
void fft2 (ObjexxFCL::FArray2D< float > &X, ObjexxFCL::FArray2D< std::complex< double > > &fX)
 2D fft r->c float
void ifft2 (ObjexxFCL::FArray2D< std::complex< double > > &fX, ObjexxFCL::FArray2D< float > &X)
 2D inverse ifft c->r float
void fft3 (ObjexxFCL::FArray3D< std::complex< double > > &X, ObjexxFCL::FArray3D< std::complex< double > > &fX)
 3D fft c->c double
void ifft3 (ObjexxFCL::FArray3D< std::complex< double > > &fX, ObjexxFCL::FArray3D< std::complex< double > > &X)
 3D inverse fft c->c double
void fft3 (ObjexxFCL::FArray3D< double > &X, ObjexxFCL::FArray3D< std::complex< double > > &fX)
 3D fft r->c double
void ifft3 (ObjexxFCL::FArray3D< std::complex< double > > &fX, ObjexxFCL::FArray3D< double > &X)
 3D inverse ifft c->r double
void fft3 (ObjexxFCL::FArray3D< float > &X, ObjexxFCL::FArray3D< std::complex< double > > &fX)
 3D fft r->c float
void ifft3 (ObjexxFCL::FArray3D< std::complex< double > > &fX, ObjexxFCL::FArray3D< float > &X)
 3D inverse ifft c->r float
kiss_fft_cpxget_scratch_buff (size_t nbuf)
kiss_fft_cpxget_tmp_buff (size_t nbuf)
void kf_bfly2 (kiss_fft_cpx *Fout, const size_t fstride, const kiss_fft_cfg st, int m)
void kf_bfly4 (kiss_fft_cpx *Fout, const size_t fstride, const kiss_fft_cfg st, const size_t m)
void kf_bfly3 (kiss_fft_cpx *Fout, const size_t fstride, const kiss_fft_cfg st, size_t m)
void kf_bfly5 (kiss_fft_cpx *Fout, const size_t fstride, const kiss_fft_cfg st, int m)
void kf_bfly_generic (kiss_fft_cpx *Fout, const size_t fstride, const kiss_fft_cfg st, int m, int p)
void kf_work (kiss_fft_cpx *Fout, const kiss_fft_cpx *f, const size_t fstride, int in_stride, int *factors, const kiss_fft_cfg st)
void kiss_fft_stride (kiss_fft_cfg st, const kiss_fft_cpx *fin, kiss_fft_cpx *fout, int in_stride)
void kiss_fft (kiss_fft_cfg cfg, const kiss_fft_cpx *fin, kiss_fft_cpx *fout)
void kiss_fft_cleanup (void)
int kiss_fft_next_fast_size (int n)
void kiss_fftr (kiss_fftr_cfg st, const kiss_fft_scalar *timedata, kiss_fft_cpx *freqdata)
void kiss_fftri (kiss_fftr_cfg st, const kiss_fft_cpx *freqdata, kiss_fft_scalar *timedata)
void kiss_fftnd (kiss_fftnd_cfg st, const kiss_fft_cpx *fin, kiss_fft_cpx *fout)
void kiss_fftndr (kiss_fftndr_cfg st, const kiss_fft_scalar *timedata, kiss_fft_cpx *freqdata)
void kiss_fftndri (kiss_fftndr_cfg st, const kiss_fft_cpx *freqdata, kiss_fft_scalar *timedata)
void kf_cexp (kiss_fft_cpx &x, kiss_fft_scalar phase)
int kiss_fftr_next_fast_size_real (int n)
void kf_factor (int n, int *facbuf)

Typedef Documentation

typedef std::complex< kiss_fft_scalar > numeric::fourier::kiss_fft_cpx

Function Documentation

void numeric::fourier::fft ( ObjexxFCL::FArray1D< std::complex< double > > &  X,
ObjexxFCL::FArray1D< std::complex< double > > &  fX 
)

1D fft c->c double

References kiss_fft(), numeric::fourier::kiss_fft_state::resize(), and ObjexxFCL::fmt::X().

Referenced by fft().

void numeric::fourier::fft ( ObjexxFCL::FArray1D< float > &  X,
ObjexxFCL::FArray1D< std::complex< double > > &  fX 
)

1D fft r->c float .. wraps double version

1D fft r->c float

References ObjexxFCL::FArray1D< T >::dimension(), fft(), color_pdb::i, and ObjexxFCL::FArray1D< T >::I1().

void numeric::fourier::fft ( ObjexxFCL::FArray1D< double > &  X,
ObjexxFCL::FArray1D< std::complex< double > > &  fX 
)
void numeric::fourier::fft2 ( ObjexxFCL::FArray2D< double > &  X,
ObjexxFCL::FArray2D< std::complex< double > > &  fX 
)
void numeric::fourier::fft2 ( ObjexxFCL::FArray2D< float > &  X,
ObjexxFCL::FArray2D< std::complex< double > > &  fX 
)
void numeric::fourier::fft2 ( ObjexxFCL::FArray2D< std::complex< double > > &  X,
ObjexxFCL::FArray2D< std::complex< double > > &  fX 
)

2D fft c->c double

References kiss_fftnd(), numeric::fourier::kiss_fftnd_state::resize(), and ObjexxFCL::fmt::X().

Referenced by fft2().

void numeric::fourier::fft3 ( ObjexxFCL::FArray3D< float > &  X,
ObjexxFCL::FArray3D< std::complex< double > > &  fX 
)
void numeric::fourier::fft3 ( ObjexxFCL::FArray3D< std::complex< double > > &  X,
ObjexxFCL::FArray3D< std::complex< double > > &  fX 
)

3D fft c->c double

References kiss_fftnd(), numeric::fourier::kiss_fftnd_state::resize(), and ObjexxFCL::fmt::X().

Referenced by fft3().

void numeric::fourier::fft3 ( ObjexxFCL::FArray3D< double > &  X,
ObjexxFCL::FArray3D< std::complex< double > > &  fX 
)
kiss_fft_cpx* numeric::fourier::get_scratch_buff ( size_t  nbuf)
kiss_fft_cpx* numeric::fourier::get_tmp_buff ( size_t  nbuf)
void numeric::fourier::ifft ( ObjexxFCL::FArray1D< std::complex< double > > &  fX,
ObjexxFCL::FArray1D< double > &  X 
)
void numeric::fourier::ifft ( ObjexxFCL::FArray1D< std::complex< double > > &  fX,
ObjexxFCL::FArray1D< std::complex< double > > &  X 
)

1D inverse fft c->c double

References color_pdb::i, kiss_fft(), numeric::fourier::kiss_fft_state::resize(), and ObjexxFCL::fmt::X().

Referenced by ifft().

void numeric::fourier::ifft ( ObjexxFCL::FArray1D< std::complex< double > > &  fX,
ObjexxFCL::FArray1D< float > &  X 
)

1D inverse ifft c->r float ... wraps double version

1D inverse ifft c->r float

References ObjexxFCL::FArray1D< T >::dimension(), color_pdb::i, ObjexxFCL::FArray1D< T >::I1(), and ifft().

void numeric::fourier::ifft2 ( ObjexxFCL::FArray2D< std::complex< double > > &  fX,
ObjexxFCL::FArray2D< std::complex< double > > &  X 
)

2D inverse fft c->c double

References color_pdb::i, kiss_fftnd(), numeric::fourier::kiss_fftnd_state::resize(), and ObjexxFCL::fmt::X().

Referenced by ifft2().

void numeric::fourier::ifft2 ( ObjexxFCL::FArray2D< std::complex< double > > &  fX,
ObjexxFCL::FArray2D< double > &  X 
)

2D inverse ifft c->r double

References ObjexxFCL::FArray2D< T >::dimension(), color_pdb::i, and ifft2().

void numeric::fourier::ifft2 ( ObjexxFCL::FArray2D< std::complex< double > > &  fX,
ObjexxFCL::FArray2D< float > &  X 
)

2D inverse ifft c->r float

References ObjexxFCL::FArray2D< T >::dimension(), color_pdb::i, and ifft2().

void numeric::fourier::ifft3 ( ObjexxFCL::FArray3D< std::complex< double > > &  fX,
ObjexxFCL::FArray3D< double > &  X 
)

3D inverse ifft c->r double

References ObjexxFCL::FArray3D< T >::dimension(), color_pdb::i, and ifft3().

void numeric::fourier::ifft3 ( ObjexxFCL::FArray3D< std::complex< double > > &  fX,
ObjexxFCL::FArray3D< float > &  X 
)

3D inverse ifft c->r float

References ObjexxFCL::FArray3D< T >::dimension(), color_pdb::i, and ifft3().

void numeric::fourier::ifft3 ( ObjexxFCL::FArray3D< std::complex< double > > &  fX,
ObjexxFCL::FArray3D< std::complex< double > > &  X 
)

3D inverse fft c->c double

References color_pdb::i, kiss_fftnd(), numeric::fourier::kiss_fftnd_state::resize(), and ObjexxFCL::fmt::X().

Referenced by ifft3().

void numeric::fourier::kf_bfly2 ( kiss_fft_cpx *  Fout,
const size_t  fstride,
const kiss_fft_cfg  st,
int  m 
)

References sd::t.

Referenced by kf_work().

void numeric::fourier::kf_bfly3 ( kiss_fft_cpx *  Fout,
const size_t  fstride,
const kiss_fft_cfg  st,
size_t  m 
)
void numeric::fourier::kf_bfly4 ( kiss_fft_cpx *  Fout,
const size_t  fstride,
const kiss_fft_cfg  st,
const size_t  m 
)
void numeric::fourier::kf_bfly5 ( kiss_fft_cpx *  Fout,
const size_t  fstride,
const kiss_fft_cfg  st,
int  m 
)
void numeric::fourier::kf_bfly_generic ( kiss_fft_cpx *  Fout,
const size_t  fstride,
const kiss_fft_cfg  st,
int  m,
int  p 
)

References get_scratch_buff(), docking::p, and sd::t.

Referenced by kf_work().

void numeric::fourier::kf_cexp ( kiss_fft_cpx &  x,
kiss_fft_scalar  phase 
) [inline]
void numeric::fourier::kf_factor ( int  n,
int facbuf 
)
void numeric::fourier::kf_work ( kiss_fft_cpx *  Fout,
const kiss_fft_cpx *  f,
const size_t  fstride,
int  in_stride,
int factors,
const kiss_fft_cfg  st 
)
void numeric::fourier::kiss_fft ( kiss_fft_cfg  cfg,
const kiss_fft_cpx *  fin,
kiss_fft_cpx *  fout 
)

References kiss_fft_stride().

Referenced by fft(), ifft(), kiss_fftr(), and kiss_fftri().

void numeric::fourier::kiss_fft_cleanup ( void  )
int numeric::fourier::kiss_fft_next_fast_size ( int  n)
void numeric::fourier::kiss_fft_stride ( kiss_fft_cfg  st,
const kiss_fft_cpx *  fin,
kiss_fft_cpx *  fout,
int  in_stride 
)

References get_tmp_buff(), and kf_work().

Referenced by kiss_fft(), and kiss_fftnd().

void numeric::fourier::kiss_fftnd ( kiss_fftnd_cfg  st,
const kiss_fft_cpx *  fin,
kiss_fft_cpx *  fout 
)

multidim fft

References color_pdb::i, and kiss_fft_stride().

Referenced by fft2(), fft3(), ifft2(), ifft3(), kiss_fftndr(), and kiss_fftndri().

void numeric::fourier::kiss_fftndr ( kiss_fftndr_cfg  st,
const kiss_fft_scalar *  timedata,
kiss_fft_cpx *  freqdata 
)
void numeric::fourier::kiss_fftndri ( kiss_fftndr_cfg  st,
const kiss_fft_cpx *  freqdata,
kiss_fft_scalar *  timedata 
)
void numeric::fourier::kiss_fftr ( kiss_fftr_cfg  st,
const kiss_fft_scalar *  timedata,
kiss_fft_cpx *  freqdata 
)
int numeric::fourier::kiss_fftr_next_fast_size_real ( int  n) [inline]
void numeric::fourier::kiss_fftri ( kiss_fftr_cfg  st,
const kiss_fft_cpx *  freqdata,
kiss_fft_scalar *  timedata 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines