Mercurial > libavutil.hg
diff lls.h @ 79:adbb5540fa47 libavutil
calculate all coefficients for several orders during cholesky factorization, the resulting coefficients are not strictly optimal though as there is a small difference in the autocorrelation matrixes which is ignored for the smaller orders
author | michael |
---|---|
date | Sat, 15 Jul 2006 23:43:38 +0000 |
parents | 8c75234388b5 |
children | b916c714f77b |
line wrap: on
line diff
--- a/lls.h Fri Jul 14 12:01:53 2006 +0000 +++ b/lls.h Sat Jul 15 23:43:38 2006 +0000 @@ -30,13 +30,14 @@ */ typedef struct LLSModel{ double covariance[MAX_VARS+1][MAX_VARS+1]; - double coeff[MAX_VARS]; + double coeff[MAX_VARS][MAX_VARS]; + double variance[MAX_VARS]; int indep_count; }LLSModel; void av_init_lls(LLSModel *m, int indep_count); void av_update_lls(LLSModel *m, double *param, double decay); -double av_solve_lls(LLSModel *m, double threshold); -double av_evaluate_lls(LLSModel *m, double *param); +void av_solve_lls(LLSModel *m, double threshold, int min_order); +double av_evaluate_lls(LLSModel *m, double *param, int order); #endif