[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] gsl_vector_complex type allocation
From: |
Eric Germaneau |
Subject: |
[Help-gsl] gsl_vector_complex type allocation |
Date: |
Fri, 14 Jul 2006 12:51:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060422 |
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
address@hidden <mailto:address@hidden>
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
//
eric.germaneau.vcf
Description: Vcard
- [Help-gsl] gsl_vector_complex type allocation,
Eric Germaneau <=