Changeset 753 for trunk/archive/pslib/include/psFFT.h
- Timestamp:
- May 20, 2004, 6:12:37 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psFFT.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psFFT.h
r704 r753 2 2 #define PS_FFT_H 3 3 4 #include <fftw3.h> 4 /* #include <fftw3.h> */ 5 5 6 6 /** \file psFFT.h … … 13 13 * \{ 14 14 */ 15 16 /**** Vector FFT & Complex functions ****/ 17 18 /** FFT a vector. in: psF32 or psC32, out: psC32 */ 19 psVector * 20 psVectorFFT(const psVector *vector, ///< Vector to transform 21 int dir) ///< FFT direction (1: forward, -1: reverse) 22 ; 23 24 /** Calculate power spectrum of a vector of floating-point numbers */ 25 psVector * 26 psVectorPowerSpectrum(const psVector *vector) ///< Vector to obtain power spectrum of 27 ; 28 29 /** Get the real part of a vector */ 30 psVector * 31 psVectorReal(psVector *out, ///< Vector for output (or NULL) 32 const psVector *in) ///< Vector to get the real part of 33 ; 34 35 /** Get the imaginary part of a vector */ 36 psVector * 37 psVectorImaginary(psVector *out, ///< Vector for output (or NULL) 38 const psVector *in) ///< Vector to get the imaginary part of 39 ; 40 41 /** Construct a complex vector from real & imaginary parts */ 42 psVector * 43 psVectorComplex(psVector *out, ///< Vector for output (or NULL) 44 const psVector *real, ///< real part of vector 45 const psVector *imag) ///< imaginary part of vector 46 ; 47 48 /** Get the complex conjugate of an vector of complex floating-point numbers */ 49 psVector * 50 psVectorConjugate(psVector *out, ///< Vector for output (or NULL) 51 const psVector *in) ///< Vector to get the complex conjugate of 52 ; 15 53 16 54 /**** Image FFT & Complex functions ****/ … … 52 90 ; 53 91 54 /**** Vector FFT & Complex functions ****/55 56 /** FFT a vector. in: psF32 or psC32, out: psC32 */57 psVector *58 psVectorFFT(const psVector *vector) ///< Vector to transform59 ;60 61 /** Calculate power spectrum of a vector of floating-point numbers */62 psVector *63 psVectorPowerSpectrum(const psVector *vector) ///< Vector to obtain power spectrum of64 ;65 66 /** Get the real part of a vector */67 psVector *68 psVectorReal(psVector *out, ///< Vector for output (or NULL)69 const psVector *in) ///< Vector to get the real part of70 ;71 72 /** Get the imaginary part of a vector */73 psVector *74 psVectorImaginary(psVector *out, ///< Vector for output (or NULL)75 const psVector *in) ///< Vector to get the imaginary part of76 ;77 78 /** Construct a complex vector from real & imaginary parts */79 psVector *80 psVectorComplex(psVector *out, ///< Vector for output (or NULL)81 const psVector *real, ///< real part of vector82 const psVector *imag) ///< imaginary part of vector83 ;84 85 /** Get the complex conjugate of an vector of complex floating-point numbers */86 psVector *87 psVectorConjugate(psVector *out, ///< Vector for output (or NULL)88 const psVector *in) ///< Vector to get the complex conjugate of89 ;90 92 91 93 /* \} */ // End of MathGroup Functions
Note:
See TracChangeset
for help on using the changeset viewer.
