Function rc_vector_min¶
Defined in File vector.h
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.