[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] LAPACK/BLAS with GNURadio

From: Eric Blossom
Subject: Re: [Discuss-gnuradio] LAPACK/BLAS with GNURadio
Date: Sun, 13 Dec 2009 08:24:33 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]