Function rc_vector_print#
Defined in File vector.h
Function Documentation#
-
int rc_vector_print(rc_vector_t v)#
Prints to stdout the contents of vector v in one line.
This is not advisable for extremely long vectors but serves for quickly debugging or printing results. It prints 4 decimal places with padding for a sign. We recommend rc_vector_print_sci() for very small or very large numbers where scientific notation would be more appropriate.
- Parameters:
v – [in] Pointer to user’s rc_vector_t struct
- Returns:
Returns 0 on success or -1 on failure.