[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] problem with subvector
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] problem with subvector |
Date: |
Tue, 31 Mar 2009 13:07:04 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI) |
At Mon, 30 Mar 2009 12:17:38 +0200,
Reyko Schachtschneider wrote:
>
> so the routine gsl_vector_const_subvector returns a vector view and
> gsl_vector_min_index needs a pointer to a gsl_vector. Is there
> another way to do it or can the view somehow be converted?
>
Have a look at the examples of using vector views in the reference
manual (in the Vectors and Matrices chapter). A view is a struct, and
you need the .vector member of it.
--
Brian Gough