help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] About complex struct


From: Brian Gough
Subject: Re: [Help-gsl] About complex struct
Date: Wed, 04 Jun 2008 21:03:17 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI)

At Mon, 2 Jun 2008 11:20:27 +0800,
=?GB2312?B?1cWx/ruq?= wrote:
> gsl_block_complex *t = gsl_block_complex_alloc(2);
> then 't' only have 2 double data but not 2 gsl_complex data.

The gsl_block_complex_alloc function automatically allocates 2 doubles
for each entry, so the block will have the correct size.

-- 
Brian Gough





reply via email to

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