Function rc_vector_mean

Function Documentation

double rc_vector_mean(rc_vector_t v)

Returns the mean (average) of all values in vector v or -1.0f on error.

Parameters:

v[in] User’s vector struct

Returns:

Returns the mean (average) of all values in vector v or -1.0f on error.