Yes, I am trying to use ROOT system for the engineering
purpose especially for the DSP application design.
To get started I want to use it for FIR, IIR digital filter design.
In order to analyze Poles and Zeros, the calculation with the
complex number is inevitable.
Since you have suggested me the complex class availability
from CINT source package. I will try the suggestion below first.
2) Complex class availability
Classical form of complex class library is provided with cint source package.
$CINTSYSDIR/include/complex.h
array.h array.c
carray.h carray.c
fft.h fft.c
This is not a modern complex and vector library but usable enough for
engineering purposes. You can precompile array.c, carray.c and fft.c which
become array.dl , carray.dl and fft.dl. Those precompiled library made for
cint can be directly imported to ROOT.
Another kind of example is in $CINTSYSDIR/demo/makecint/Array and
$CINTSYSDIR/demo/makecint/Complex directory.
I do not insist using the complex<> template.
But I would like you to know my system.
* Computer platform
WIN95 / WIN-NT
* C/C++ Compiler you have
VC++5.0
* Area of specific application (wireless com, audio or video codec,etc...)
Right now : Digital filter design for the audio band.
* Type of analysis
FFT, PHASE, POLES, ZEROS
* Do you want to use vector<complex<double> > ?
No. I do not insist. But it would be nice to have the feature.
Thank you again,
Keisuke Seya