[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] LAPACK/BLAS with GNURadio
From: |
Moritz Fischer |
Subject: |
[Discuss-gnuradio] LAPACK/BLAS with GNURadio |
Date: |
Sun, 13 Dec 2009 14:48:25 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Macintosh/20090812) |
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] LAPACK/BLAS with GNURadio,
Moritz Fischer <=