help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] gsl_vector_complex type allocation


From: Brian Gough
Subject: Re: [Help-gsl] gsl_vector_complex type allocation
Date: Mon, 17 Jul 2006 15:54:28 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)

At Fri, 14 Jul 2006 12:51:45 +0200,
Eric Germaneau wrote:
> I've defined the complex vector *T* as the following:
> 
> /gsl_vector_complex *T*;/
> 
> Then I'm wondering how can I allocate memory for a given size.
> It's not possible to use /gsl_vector_calloc()/ function because it 
> returns an /gsl_vector/ object type.
> 
> Does someone has any idea about how to deal  this problem?

T = gsl_vector_complex_alloc(n);

-- 
Brian Gough

Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/




reply via email to

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