help-gsl
[Top][All Lists]
Advanced

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

[Help-gsl] About complex struct


From: 张炳华
Subject: [Help-gsl] About complex struct
Date: Mon, 2 Jun 2008 11:20:27 +0800

hi,i have some trouble when using GSL.
i want to define a gsl_block_complex_struce,but i found the struct define
not by
struct gsl_block_complex_struct
{
  size_t size;
  gsl_complex *data;
};
but
struct gsl_block_complex_struct
{
  size_t size;
  double *data;
};
so if i want to define
gsl_block_complex *t = gsl_block_complex_alloc(2);
then 't' only have 2 double data but not 2 gsl_complex data.


thank you.


reply via email to

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