X-Git-Url: https://git.auder.net/?p=valse.git;a=blobdiff_plain;f=src%2Fsources%2Fselectiontotale.h;h=fea6e398e8eb619429de809ed0a9310bc22bf1dc;hp=d225592488415f4016b5058471b601d64bd5c207;hb=31ef8a5c9bbaefcf40d2c2bad43b27d469c28c34;hpb=afa07d41c7592ac0ccd55d7af23c3bfef213291e diff --git a/src/sources/selectiontotale.h b/src/sources/selectiontotale.h index d225592..fea6e39 100644 --- a/src/sources/selectiontotale.h +++ b/src/sources/selectiontotale.h @@ -1,26 +1,28 @@ #ifndef valse_selectiontotale_H #define valse_selectiontotale_H +#include "utils.h" + // Main job on raw inputs (after transformation from mxArray) void selectiontotale_core( // IN parameters - const float* phiInit, - const float* rhoInit, - const float* piInit, - const float* gamInit, + const Real* phiInit, + const Real* rhoInit, + const Real* piInit, + const Real* gamInit, int mini, int maxi, - float gamma, - const float* glambda, - const float* X, - const float* Y, - float seuil, - float tau, + Real gamma, + const Real* glambda, + const Real* X, + const Real* Y, + Real seuil, + Real tau, // OUT parameters int* A1, int* A2, - float* Rho, - float* Pi, + Real* Rho, + Real* Pi, // additional size parameters int n, int p,