logo       

Re: Custom structures containing gsl_vector: msg#00068

lib.gsl.general

Subject: Re: Custom structures containing gsl_vector

At Tue, 27 Nov 2007 17:50:53 +0000,
Daniel J Farrell wrote:
> memcpy(spectra->x->block->data,x,count * sizeof(double));
> memcpy(spectra->y->block->data,y,count * sizeof(double));

One minor point: x->data is equivalent to x->block->data

--
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise