Functions

robomath.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "robomath.h"
Include dependency graph for robomath.c:

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.

Function Documentation

void angles_freq_sort ( struct angles_freq angles,
int  count 
)

Here is the call graph for this function:

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

Here is the caller graph for this function:

int cmpd ( const void *  a,
const void *  b 
)

Compare doubles.

Used by qsort().

Here is the caller graph for this function:

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  ) 

Here is the call graph for this function: