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/


_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to