Dear List,

I was trying to implement some LAPACK/BLAS(liblapack as included in
Ubuntu) wrappers for GNURadio since I haven't found anything to do
matrix/vector operations in GNURadio but I haven't found out how to do a
clever conversion from Fortran's (more precise the f2c) way of dealing
with complex numbers ( a C-struct ):

extern "C"
{
struct{
    float real;
    float imag;
} complex;
}

to the GNURadio way:

std::complex<float>

and back.

My C++ knowledge on alignment etc. is too limited, up to now I just
copied them, since reinterpret_cast<> or static_cast<> only work for
certain architecture / alignment combinations. So if anyone has some
ideas please let me know.

Cheers,

Moritz


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to