37 #ifndef TF_HACK_BLITZTOGREPG_H_VERSION 39 #define TF_HACK_BLITZTOGREPG_H_VERSION \ 40 "TF_HACK_BLITZTOGREPG_H V1.1" 43 #include<blitz/array.h> 55 void write_grepg_c(
const blitz::Array<std::complex<float>, 2>& array,
57 const double& dx=1.,
const double& dy=1.);
68 const double& dx=1.,
const double& dy=1.);
80 const double& dx=1.,
const double& dy=1.)
82 blitz::Array<std::complex<float>, 2>
83 carray(array.lbound(), array.shape(), blitz::fortranArray);
84 carray=blitz::cast<std::complex<float> >(array);
91 #endif // TF_HACK_BLITZTOGREPG_H_VERSION (includeguard) void write_grepg_f(const blitz::Array< float, 2 > &array, const char *filename, const double &dx=1., const double &dy=1.)
create grepg file from float array
void write_grepg_c(const blitz::Array< std::complex< float >, 2 > &array, const char *filename, const double &dx=1., const double &dy=1.)
create grepg file from complex array
void write_grepg(const blitz::Array< T, 2 > &array, const char *filename, const double &dx=1., const double &dy=1.)
create grepg file from 2D array of any type
Namespace containing all code of library libtfxx.