This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_vector_min

Function Documentation

int rc_vector_min(rc_vector_t v)

Returns the index of the minimum value in v.

The value contained in the returned index is the equivalent to the -infinity norm. If the minimum value occurs multiple times then the index of the first instance is returned.

Parameters

v[in] User’s vector struct

Returns

Returns the index of the minimum value in v or -1 on error.