Boost LA

vector_traits<Vector>::ir

static inline scalar_type ir( int i, Vector const & v );

This function is expected to be static member of user-defined specializations of the vector_traits template. It returns the i-th element of v, by value or by const reference.