It is possible to use accessor functions to retrieve or set data, but it is not possible to access its size that way. Suggestion:
Add the function
inline gsl_vector_size(const gsl_vector* v)
{
return v->size;
}
It is possible to use accessor functions to retrieve or set data, but it is not possible to access its size that way. Suggestion:
Add the function
inline gsl_vector_size(const gsl_vector* v)
{
return v->size;
}