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





_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to