X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sam%2Ferrmod.h;fp=sam%2Ferrmod.h;h=e3e9a90540cee5a78bb603956db20e7861555c2d;hb=2e4fdfb2673d928779b04bc5ebe8fcb304a45eaa;hp=0000000000000000000000000000000000000000;hpb=a97cc1d4f0111f7fe523227412a2147f7a763d56;p=rsem.git diff --git a/sam/errmod.h b/sam/errmod.h new file mode 100644 index 0000000..e3e9a90 --- /dev/null +++ b/sam/errmod.h @@ -0,0 +1,17 @@ +#ifndef ERRMOD_H +#define ERRMOD_H + +#include + +struct __errmod_coef_t; + +typedef struct { + double depcorr; + struct __errmod_coef_t *coef; +} errmod_t; + +errmod_t *errmod_init(float depcorr); +void errmod_destroy(errmod_t *em); +int errmod_cal(const errmod_t *em, int n, int m, uint16_t *bases, float *q); + +#endif