#include <stdio.h>#include <stdlib.h>#include <math.h>#include "robomath.h"
Functions | |
| double | gaussrand () |
| Math functions. | |
| double | gaussian_random (void) |
| float | exprand (float lambda) |
| int | testrand (int n) |
| int | cmpangfreq (const void *a, const void *b) |
| void | angles_freq_sort (struct angles_freq *angles, int count) |
| int | cmpi (const void *a, const void *b) |
| Compare integers. | |
| int | cmpd (const void *a, const void *b) |
| Compare doubles. | |
| void angles_freq_sort | ( | struct angles_freq * | angles, | |
| int | count | |||
| ) |

| int cmpangfreq | ( | const void * | a, | |
| const void * | b | |||
| ) |

| int cmpd | ( | const void * | a, | |
| const void * | b | |||
| ) |
Compare doubles.
Used by qsort().

| int cmpi | ( | const void * | a, | |
| const void * | b | |||
| ) |
Compare integers.
Used by qsort().
| float exprand | ( | float | lambda | ) |
| double gaussian_random | ( | void | ) |
| double gaussrand | ( | ) |
Math functions.
Random generation stuffs.
| int testrand | ( | int | n | ) |

1.7.1