source: Sophya/trunk/SophyaLib/NTools/fftservintf.cc@ 1371

Last change on this file since 1371 was 1371, checked in by ansari, 25 years ago

MAJ documentation, Makefile, ... - Reza 5/1/2001

File size: 3.8 KB
RevLine 
[710]1#include "fftservintf.h"
2
3
[1371]4/*!
5 \class SOPHYA::FFTServerInterface
6 \ingroup NTools
7 Defines the interface for FFT (Fast Fourier Transform) operations.
8 Warning: The interface is likely to be changed and simplified,
9 using only SOPHYA::TArray Objects.
10*/
[710]11
12/* --Methode-- */
13FFTServerInterface::FFTServerInterface(string info)
14{
15 _info = info;
[717]16 _fgnorm = true;
[710]17}
18
19/* --Methode-- */
20FFTServerInterface::~FFTServerInterface()
21{
22}
23
24/* --Methode-- */
25void FFTServerInterface::FFTForward(TVector< complex<r_8> > const &, TVector< complex<r_8> > &)
26{
[750]27 throw NotAvailableOperation("FFTServer::FFTForward(TVector...) Unsupported operation !");
[710]28}
29
30/* --Methode-- */
31void FFTServerInterface::FFTBackward(TVector< complex<r_8> > const &, TVector< complex<r_8> > &)
32{
[750]33 throw NotAvailableOperation("FFTServer::FFTBackward(TVector...) Unsupported operation !");
[710]34}
35
36/* --Methode-- */
37void FFTServerInterface::FFTForward(TVector< r_8 > const &, TVector< complex<r_8> > &)
38{
[750]39 throw NotAvailableOperation("FFTServer::FFTForward(TVector...) Unsupported operation !");
[710]40}
41
42/* --Methode-- */
43void FFTServerInterface::FFTBackward(TVector< complex<r_8> > const &, TVector< r_8 > &)
44{
[750]45 throw NotAvailableOperation("FFTServer::FFTBackward(TVector...) Unsupported operation !");
[710]46}
47
48/* --Methode-- */
49void FFTServerInterface::FFTForward(TMatrix< complex<r_8> > const &, TMatrix< complex<r_8> > &)
50{
[750]51 throw NotAvailableOperation("FFTServer::FFTForward(TMatrix...) Unsupported operation !");
[710]52}
53
54/* --Methode-- */
55void FFTServerInterface::FFTBackward(TMatrix< complex<r_8> > const &, TMatrix< complex<r_8> > &)
56{
[750]57 throw NotAvailableOperation("FFTServer::FFTBackward(TMatrix...) Unsupported operation !");
[710]58}
59
60/* --Methode-- */
61void FFTServerInterface::FFTForward(TMatrix< r_8 > const &, TMatrix< complex<r_8> > &)
62{
[750]63 throw NotAvailableOperation("FFTServer::FFTForward(TMatrix...) Unsupported operation !");
[710]64}
65
66/* --Methode-- */
67void FFTServerInterface::FFTBackward(TMatrix< complex<r_8> > const &, TMatrix< r_8 > &)
68{
[750]69 throw NotAvailableOperation("FFTServer::FFTBackward(TMatrix...) Unsupported operation !");
[710]70}
71
72
73// ----------------- Transforme pour les float -------------------
74
75/* --Methode-- */
76void FFTServerInterface::FFTForward(TVector< complex<r_4> > const &, TVector< complex<r_4> > &)
77{
[750]78 throw NotAvailableOperation("FFTServer::FFTForward(TVector r_4 ... ) Unsupported operation !");
[710]79}
80
81/* --Methode-- */
82void FFTServerInterface::FFTBackward(TVector< complex<r_4> > const &, TVector< complex<r_4> > &)
83{
[750]84 throw NotAvailableOperation("FFTServer::FFTBackward(TVector r_4 ... ) Unsupported operation !");
[710]85}
86
87/* --Methode-- */
88void FFTServerInterface::FFTForward(TVector< r_4 > const &, TVector< complex<r_4> > &)
89{
[750]90 throw NotAvailableOperation("FFTServer::FFTForward(TVector r_4 ... ) Unsupported operation !");
[710]91}
92
93/* --Methode-- */
94void FFTServerInterface::FFTBackward(TVector< complex<r_4> > const &, TVector< r_4 > &)
95{
[750]96 throw NotAvailableOperation("FFTServer::FFTBackward(TVector r_4 ... ) Unsupported operation !");
[710]97}
98
99/* --Methode-- */
100void FFTServerInterface::FFTForward(TMatrix< complex<r_4> > const &, TMatrix< complex<r_4> > &)
101{
[750]102 throw NotAvailableOperation("FFTServer::FFTForward(TMatrix r_4 ... ) Unsupported operation !");
[710]103}
104
105/* --Methode-- */
106void FFTServerInterface::FFTBackward(TMatrix< complex<r_4> > const &, TMatrix< complex<r_4> > &)
107{
[750]108 throw NotAvailableOperation("FFTServer::FFTBackward(TMatrix r_4 ... ) Unsupported operation !");
[710]109}
110
111/* --Methode-- */
112void FFTServerInterface::FFTForward(TMatrix< r_4 > const &, TMatrix< complex<r_4> > &)
113{
[750]114 throw NotAvailableOperation("FFTServer::FFTForward(TMatrix r_4 ... ) Unsupported operation !");
[710]115}
116
117/* --Methode-- */
118void FFTServerInterface::FFTBackward(TMatrix< complex<r_4> > const &, TMatrix< r_4 > &)
119{
[750]120 throw NotAvailableOperation("FFTServer::FFTBackward(TMatrix r_4 ... ) Unsupported operation !");
[710]121}
122
123
Note: See TracBrowser for help on using the repository browser.