X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsources%2Futils%2Fio.h;h=9aa5899f5035b5eeb2c60b8ad23c255c5e4b3e45;hb=4cab944a7bf905e811d740694c39f16b2b23d7e1;hp=31f464a75288116b162dd82c83a852cd346c0172;hpb=cb51adb811037428129ac947a5f7999c8c4539ae;p=valse.git diff --git a/src/sources/utils/io.h b/src/sources/utils/io.h index 31f464a..9aa5899 100644 --- a/src/sources/utils/io.h +++ b/src/sources/utils/io.h @@ -1,75 +1,26 @@ #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