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
Line 
1#include "fftservintf.h"
2
3
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*/
11
12/* --Methode-- */
13FFTServerInterface::FFTServerInterface(string info)
14{
15 _info = info;
16 _fgnorm = true;
17}
18
19/* --Methode-- */
20FFTServerInterface::~FFTServerInterface()
21{
22}
23
24/* --Methode-- */
25void FFTServerInterface::FFTForward(TVector< complex<r_8> > const &, TVector< complex<r_8> > &)
26{
27 throw NotAvailableOperation("FFTServer::FFTForward(TVector...) Unsupported operation !");
28}
29
30/* --Methode-- */
31void FFTServerInterface::FFTBackward(TVector< complex<r_8> > const &, TVector< complex<r_8> > &)
32{
33 throw NotAvailableOperation("FFTServer::FFTBackward(TVector...) Unsupported operation !");
34}
35
36/* --Methode-- */
37void FFTServerInterface::FFTForward(TVector< r_8 > const &, TVector< complex<r_8> > &)
38{
39 throw NotAvailableOperation("FFTServer::FFTForward(TVector...) Unsupported operation !");
40}
41
42/* --Methode-- */
43void FFTServerInterface::FFTBackward(TVector< complex<r_8> > const &, TVector< r_8 > &)
44{
45 throw NotAvailableOperation("FFTServer::FFTBackward(TVector...) Unsupported operation !");
46}
47
48/* --Methode-- */
49void FFTServerInterface::FFTForward(TMatrix< complex<r_8> > const &, TMatrix< complex<r_8> > &)
50{
51 throw NotAvailableOperation("FFTServer::FFTForward(TMatrix...) Unsupported operation !");
52}
53
54/* --Methode-- */
55void FFTServerInterface::FFTBackward(TMatrix< complex<r_8> > const &, TMatrix< complex<r_8> > &)
56{
57 throw NotAvailableOperation("FFTServer::FFTBackward(TMatrix...) Unsupported operation !");
58}
59
60/* --Methode-- */
61void FFTServerInterface::FFTForward(TMatrix< r_8 > const &, TMatrix< complex<r_8> > &)
62{
63 throw NotAvailableOperation("FFTServer::FFTForward(TMatrix...) Unsupported operation !");
64}
65
66/* --Methode-- */
67void FFTServerInterface::FFTBackward(TMatrix< complex<r_8> > const &, TMatrix< r_8 > &)
68{
69 throw NotAvailableOperation("FFTServer::FFTBackward(TMatrix...) Unsupported operation !");
70}
71
72
73// ----------------- Transforme pour les float -------------------
74
75/* --Methode-- */
76void FFTServerInterface::FFTForward(TVector< complex<r_4> > const &, TVector< complex<r_4> > &)
77{
78 throw NotAvailableOperation("FFTServer::FFTForward(TVector r_4 ... ) Unsupported operation !");
79}
80
81/* --Methode-- */
82void FFTServerInterface::FFTBackward(TVector< complex<r_4> > const &, TVector< complex<r_4> > &)
83{
84 throw NotAvailableOperation("FFTServer::FFTBackward(TVector r_4 ... ) Unsupported operation !");
85}
86
87/* --Methode-- */
88void FFTServerInterface::FFTForward(TVector< r_4 > const &, TVector< complex<r_4> > &)
89{
90 throw NotAvailableOperation("FFTServer::FFTForward(TVector r_4 ... ) Unsupported operation !");
91}
92
93/* --Methode-- */
94void FFTServerInterface::FFTBackward(TVector< complex<r_4> > const &, TVector< r_4 > &)
95{
96 throw NotAvailableOperation("FFTServer::FFTBackward(TVector r_4 ... ) Unsupported operation !");
97}
98
99/* --Methode-- */
100void FFTServerInterface::FFTForward(TMatrix< complex<r_4> > const &, TMatrix< complex<r_4> > &)
101{
102 throw NotAvailableOperation("FFTServer::FFTForward(TMatrix r_4 ... ) Unsupported operation !");
103}
104
105/* --Methode-- */
106void FFTServerInterface::FFTBackward(TMatrix< complex<r_4> > const &, TMatrix< complex<r_4> > &)
107{
108 throw NotAvailableOperation("FFTServer::FFTBackward(TMatrix r_4 ... ) Unsupported operation !");
109}
110
111/* --Methode-- */
112void FFTServerInterface::FFTForward(TMatrix< r_4 > const &, TMatrix< complex<r_4> > &)
113{
114 throw NotAvailableOperation("FFTServer::FFTForward(TMatrix r_4 ... ) Unsupported operation !");
115}
116
117/* --Methode-- */
118void FFTServerInterface::FFTBackward(TMatrix< complex<r_4> > const &, TMatrix< r_4 > &)
119{
120 throw NotAvailableOperation("FFTServer::FFTBackward(TMatrix r_4 ... ) Unsupported operation !");
121}
122
123
Note: See TracBrowser for help on using the repository browser.