This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: gsl_vector_subvector
I have checked in the correct documentation now. The parameter is the
offset of the subvector to the original vector.
E. Robert Tisdale writes:
> Brian Gough wrote:
>
> > I will correct that to v->offset.
>
> You probably meant to change it to
>
> v'(i) = v-->data[i*v->stride]
>
> GSL vector objects don't have an offset.
> The offset from the beginning of the block
> is already incorporated into pointer data.