22 ScamacErrorCode scamac_lut_construct(
bool ineq,
int n,
int m,
int s, ScamacIdx * ns, ScamacIdx ** lut);
24 ScamacIdx scamac_lut_encode(
bool ineq,
int n,
int s, ScamacIdx * cnt,
const int * x);
25 void scamac_lut_decode(
bool ineq,
int n,
int s, ScamacIdx * cnt, ScamacIdx idx,
int * x);
29 ScamacErrorCode scamac_lut_onezero_construct(
int n,
int s, ScamacIdx * ns, ScamacIdx ** lut);
30 ScamacIdx scamac_lut_onezero_encode(
int n,
int s, ScamacIdx * cnt,
const int *x);
31 void scamac_lut_onezero_decode(
int n,
int s, ScamacIdx * cnt, ScamacIdx idx,
int * x);
ScaMaC index/integer types.
ScaMaC data structure and macro definitions.