diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
commit | 4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch) | |
tree | e54104d57d6c2da7840979181368151fd0819c96 /libs/qm-dsp/hmm/hmm.h | |
parent | 297e80e020da94a56984b20782584bb1dd96ea34 (diff) |
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'libs/qm-dsp/hmm/hmm.h')
-rw-r--r-- | libs/qm-dsp/hmm/hmm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/qm-dsp/hmm/hmm.h b/libs/qm-dsp/hmm/hmm.h index da5c785bfa..22fec9d0fe 100644 --- a/libs/qm-dsp/hmm/hmm.h +++ b/libs/qm-dsp/hmm/hmm.h @@ -19,9 +19,9 @@ extern "C" { * */ -#ifndef PI +#ifndef PI #define PI 3.14159265358979323846264338327950288 -#endif +#endif typedef struct _model_t { int N; /* number of states */ @@ -33,7 +33,7 @@ typedef struct _model_t { } model_t; void hmm_train(double** x, int T, model_t* model); /* with scaling */ -void forward_backwards(double*** xi, double** gamma, double* loglik, double* loglik1, double* loglik2, int iter, +void forward_backwards(double*** xi, double** gamma, double* loglik, double* loglik1, double* loglik2, int iter, int N, int T, double* p0, double** a, double** b); void baum_welch(double* p0, double** a, double** mu, double** cov, int N, int T, int L, double** x, double*** xi, double** gamma); void viterbi_decode(double** x, int T, model_t* model, int* q); /* using logs */ |