Hello,

I'm trying to use /gsl_vector_complex/ type and I have some difficulties to allocate memory.

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?
Thanks in advance,

                               Eric.


--
*************************************************************************************************

 " Reason" in things existed before things themselves existed
and all the changes in things were governed by it.
Zhu Xi.


Eric Germaneau <http://lcr.epfl.ch/page37437.html> <http://lcr.epfl.ch/page37437.html>

Assistant Doctorant

Ecole polytechnique fédérale de Lausanne (EPFL)
FSB - IPMC
Laboratoire de Cristallographie(LCr) <http://lcr.epfl.ch>
BSP 518
CH-1015 Lausanne
Switzerland
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

Tel.: +41 (0)21 / 693 06 36
Fax.: +41 (0)21 / 693 05 04

//
P Please consider the environment before printing this email - Considérez svp l'environnement avant d'imprimer ce courriel
//
begin:vcard
fn:Eric Germaneau
n:Germaneau;Eric
org:EPFL;Laboratoire de cristallographie
adr;quoted-printable:;;Ecole Polytechnique Fed=C3=A9rale de Lausanne;Lausanne;;CH-1015;Lausanne
email;internet:[EMAIL PROTECTED]
title:Mr
tel;work:0041216930636
note;quoted-printable:skype: aihaike=0D=0A=
	msn: [EMAIL PROTECTED]
	ICQ: 348917152=0D=0A=
	yahoo: aihaike=0D=0A=
	AIM: aihaike
url:http://lcr.epfl.ch
version:2.1
end:vcard

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

Reply via email to