On Sun, Dec 13, 2009 at 02:48:25PM +0100, Moritz Fischer wrote:
> 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.
They have the same underlying representation, so there shouldn't be
any problem, cast away. FWIW, we already link gnuradio-core with GSL
(the GNU Scientific Library) which in turns links with CBLAS.
Eric
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio