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