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_poly_power

Function Documentation

int rc_poly_power(rc_vector_t a, int n, rc_vector_t *b)

Raises a polynomial a to itself n times where n is greater than or equal to 0.

Places the result in vector b, any existing memory allocated for b is freed and its contents are lost. Returns 0 on success and -1 on failure.

Parameters
  • a[in] Initial coefficients

  • n[in] Power, must be >=0

  • b[out] resulting coefficients

Returns

Returns 0 on success or -1 on failure.