Function rc_poly_print#

Function Documentation#

int rc_poly_print(rc_vector_t v)#

Prints a polynomial in human-readable format in one line.

Like rc_print_vector, but assumes the contents represent a polynomial and prints the coefficients with trailing powers of x for easier reading. This relies on your terminal supporting unicode UTF-8. numer of coefficients and there the length of vector v must be less than or equal to 10.

Parameters:

v[in] polynomial coefficients to be printed

Returns:

0 on success or -1 on failure