logo       

Re: Complex vector math?: msg#00020

lib.gsl.general

Subject: Re: Complex vector math?

On 05/11/2007, Michael Stauffer <mstauff@xxxxxxxxxxx> wrote:
> > -----Original Message-----
> > From: Jordi Gutiérrez Hermoso [mailto:jordigh@xxxxxxxxx]
> > Sent: Monday, November 05, 2007 11:36 AM
> > To: Michael Stauffer
> > Cc: help-gsl@xxxxxxx
> > Subject: Re: [Help-gsl] Complex vector math?
> >
> >
> > On 05/11/2007, Michael Stauffer <mstauff@xxxxxxxxxxx> wrote:
> > > I could write my own loop to run through a
> > gsl_complex_vector and use
> > > gsl_complex routines to do the work, but that would involve more
> > > variable assignments and function calls than seems efficient.
> >
> > Why not submit a patch to the GSL to go along with the other
> > vector routines, then? It seems like an easy task.
> >
> Hmmm. Not sure that I trust myself enough to add to such an established
> library. I'll think about it.

Just inspect the code in vector/ from the source tree.
vector/gsl_vector_complex.h is probably the file you would want to
look at, maybe look at vector/oper.c and vector/oper_source.c. This
well-established library really isn't that complicated. :-)

- Jordi G. H.


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

News | FAQ | advertise