#ifndef select_ioutils_H #define select_ioutils_H #include #include #include #include //for type wchar16_t // Include header for mwSize type #ifdef Octave #include #else #include #endif // CHUNK_SIZE = number of lambda values to be treated sequentially by a single core #define CHUNK_SIZE 1 // integer type chosen in MATLAB (to be tuned: 32 bits should be enough) typedef int64_t Int; // real number type chosen in MATLAB (default: double) typedef double Real; #ifndef M_PI #define M_PI 3.141592653589793 #endif // Fill an array with zeros #define zeroArray(array, size)\ {\ for (Int u=0; u