fix arrays reading in C, add type Real for double or float
[valse.git] / src / sources / selectiontotale.h
1 #ifndef valse_selectiontotale_H
2 #define valse_selectiontotale_H
3
4 #include "utils.h"
5
6 // Main job on raw inputs (after transformation from mxArray)
7 void selectiontotale_core(
8 // IN parameters
9 const Real* phiInit,
10 const Real* rhoInit,
11 const Real* piInit,
12 const Real* gamInit,
13 int mini,
14 int maxi,
15 Real gamma,
16 const Real* glambda,
17 const Real* X,
18 const Real* Y,
19 Real seuil,
20 Real tau,
21 // OUT parameters
22 int* A1,
23 int* A2,
24 Real* Rho,
25 Real* Pi,
26 // additional size parameters
27 int n,
28 int p,
29 int m,
30 int k,
31 int L);
32
33 #endif