|
Robot Control Library
|
#include <rc/math/vector.h>Go to the source code of this file.
Functions | |
| int | rc_poly_print (rc_vector_t v) |
| Prints a polynomial in human-readable format in one line. More... | |
| int | rc_poly_conv (rc_vector_t a, rc_vector_t b, rc_vector_t *c) |
| Convolutes the polynomials a&b and places the result in vector c. More... | |
| 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. More... | |
| int | rc_poly_add (rc_vector_t a, rc_vector_t b, rc_vector_t *c) |
| Add two polynomials a&b with right justification and place the result in c. More... | |
| int | rc_poly_add_inplace (rc_vector_t *a, rc_vector_t b) |
| Adds polynomials a&b with right justification. More... | |
| int | rc_poly_subtract (rc_vector_t a, rc_vector_t b, rc_vector_t *c) |
| Subtracts two polynomials a-b with right justification and places the result in c. More... | |
| int | rc_poly_subtract_inplace (rc_vector_t *a, rc_vector_t b) |
| Subtracts b from a with right justification. More... | |
| int | rc_poly_differentiate (rc_vector_t a, int d, rc_vector_t *b) |
| Calculates the dth derivative of the polynomial a and places the result in vector b. More... | |
| int | rc_poly_divide (rc_vector_t n, rc_vector_t d, rc_vector_t *div, rc_vector_t *rem) |
| Divides denominator d into numerator n. The remainder is placed into vector rem and the divisor is placed into vector div. More... | |
| int | rc_poly_butter (int N, double wc, rc_vector_t *b) |
| Calculates coefficients for continuous-time Butterworth polynomial of order N and cutoff wc (rad/s) and places them in vector b. More... | |