diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-03-02 19:45:47 +0100 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-03-02 19:45:47 +0100 |
commit | d493d9e99c28e7c3245b1cc2bfbbbe8b44db301a (patch) | |
tree | 438da13ccee52eabe08d0b7a2cba93ca078e194e /controller/fw/git_sucks/levmarq.h | |
parent | 331ce442c4b8879af41332eebfae14bf29b74fba (diff) | |
download | master-thesis-d493d9e99c28e7c3245b1cc2bfbbbe8b44db301a.tar.gz master-thesis-d493d9e99c28e7c3245b1cc2bfbbbe8b44db301a.tar.bz2 master-thesis-d493d9e99c28e7c3245b1cc2bfbbbe8b44db301a.zip |
foo
Diffstat (limited to 'controller/fw/git_sucks/levmarq.h')
-rw-r--r-- | controller/fw/git_sucks/levmarq.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/controller/fw/git_sucks/levmarq.h b/controller/fw/git_sucks/levmarq.h deleted file mode 100644 index dff13ab..0000000 --- a/controller/fw/git_sucks/levmarq.h +++ /dev/null @@ -1,30 +0,0 @@ - -#ifndef __LEVMARQ_H__ -#define __LEVMARQ_H__ - -typedef struct { - int max_it; - float init_lambda; - float up_factor; - float down_factor; - float target_derr; - int final_it; - float final_err; - float final_derr; -} LMstat; - -void levmarq_init(LMstat *lmstat); - -int levmarq(int npar, float *par, int ny, float *y, float *dysq, - float (*func)(float *, int, void *), - void (*grad)(float *, float *, int, void *), - void *fdata, LMstat *lmstat); - -float error_func(float *par, int ny, float *y, float *dysq, - float (*func)(float *, int, void *), void *fdata); - -void solve_axb_cholesky(int n, float l[n][n], float x[n], float b[n]); - -int cholesky_decomp(int n, float l[n][n], float a[n][n]); - -#endif /* __LEVMARQ_H__ */ |