P
PengYu.UT
Hi,
In FFTW (http://www.fftw.org/), it defines the funciton fftw_malloc to
allocate memory properly aligned.
However, I only want to use new to allocate memory for
std::complex<double>. Can some body show me how to redefine the new
operator for an class already defined in the library?
Thanks,
Peng
In FFTW (http://www.fftw.org/), it defines the funciton fftw_malloc to
allocate memory properly aligned.
However, I only want to use new to allocate memory for
std::complex<double>. Can some body show me how to redefine the new
operator for an class already defined in the library?
Thanks,
Peng