add a bunch of files

This commit is contained in:
cnlohr 2015-01-06 22:51:39 -05:00
parent 27b65f10dc
commit 13d0f17b11
38 changed files with 5048 additions and 0 deletions

12
decompose.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef _DECOMPOSE_H
#define _DECOMPOSE_H
//Decompose a histogram into a series of normal distributions.
int DecomposeHistogram( float * histogram, int bins, float * out_means, float * out_amps, float * out_sigmas, int max_dists, double default_sigma, int iterations );
float CalcHistAt( float pt, int bins, float * out_means, float * out_amps, float * out_sigmas, int cur_dists );
#define TURBO_DECOMPOSE
#endif