help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] a problem with subvector


From: Reyko Schachtschneider
Subject: [Help-gsl] a problem with subvector
Date: Fri, 27 Mar 2009 17:23:03 +0100

Hello,

I have a problem with the usage of subvector. I want to find the smallest 
element in a subvector of a gsl_vector. The code is


    min_index = gsl_vector_min_index(gsl_vector_const_subvector(vector,  
i,sub_vector_length));

The error at compilation time is

error: cannot convert ‘_gsl_vector_const_view’ to ‘const gsl_vector*’ for 
argument ‘1’ to ‘size_t gsl_vector_min_index(const gsl_vector*)’

Can anyone offer any help?

Thanks a lot!

Reyko
__________________________________________________________________________
Verschicken Sie SMS direkt vom Postfach aus - in alle deutschen und viele 
ausländische Netze zum gleichen Preis! 
https://produkte.web.de/webde_sms/sms







reply via email to

[Prev in Thread] Current Thread [Next in Thread]