#ifndef valse_EMGLLF_H
#define valse_EMGLLF_H
+#include "utils.h"
+
void EMGLLF_core(
// IN parameters
- const double* phiInit,
- const double* rhoInit,
- const double* piInit,
- const double* gamInit,
+ const Real* phiInit,
+ const Real* rhoInit,
+ const Real* piInit,
+ const Real* gamInit,
int mini,
int maxi,
- double gamma,
- double lambda,
- const double* X,
- const double* Y,
- double tau,
+ Real gamma,
+ Real lambda,
+ const Real* X,
+ const Real* Y,
+ Real tau,
// OUT parameters
- double* phi,
- double* rho,
- double* pi,
- double* LLF,
- double* S,
+ Real* phi,
+ Real* rho,
+ Real* pi,
+ Real* LLF,
+ Real* S,
// additional size parameters
int n,
int p,