|
RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
|
double utils_to_radian(double deg_angle)
Convert the angle from degrees to radians.
uint8_t utils_u8_min(uint8_t a, uint8_t b)
Returns the smaller of two numbers from type uint8_t.
#define vector_t
Define the data type of the vector elements.
double utils_min(double a, double b)
Returns the smaller of two real numbers.
uint8_t utils_u8_max(uint8_t a, uint8_t b)
Returns the greater of two numbers from type uint8_t.
double utils_max(double a, double b)
Returns the greater of two real numbers.
void utils_printf(char *format_str,...)
Print by using variable format string as well as argument lists.
double utils_sind(double deg_angle)
Compute the sine of a variable in degrees.
double utils_mean(uint8_t arr_size, vector_t in_arr[])
Compute the mean value of a data set.
double utils_get_median(vector_t arr[], uint8_t length)
Compute the median of a finite array of numbers.
void utils_swap(uint8_t *a, uint8_t *b)
Interchange the values of two variables of type uint8_t.
void utils_moving_average(uint8_t arr_size, vector_t in_arr[], uint8_t window_size, vector_t out_arr[])
Compute the moving average of a data set.
double utils_get_save_square_root(double x, double y)
Compute the square root without under/overflow.