fprintf('Compiling normal C files...\n');
mex C/sampleDiscrete_cumsumC.c 
mex C/SGD_logistic.c 
mex C/ASGD_logistic.c 
mex C/PCD_logistic.c 
mex C/DCA_logistic.c 
mex C/SAG_logistic.c 
mex C/SAGlineSearch_logistic.c 
mex C/SAG_LipschitzLS_logistic.c 

%% In previous versions of Matlab, the lines below compiled the BLAS files
%fprintf('Compiling BLAS C files...\n');
%mex C/SGD_logistic_BLAS.c -largeArrayDims -lmwblas
%mex C/ASGD_logistic_BLAS.c -largeArrayDims -lmwblas
%mex C/PCD_logistic_BLAS.c -largeArrayDims -lmwblas
%mex C/DCA_logistic_BLAS.c -largeArrayDims -lmwblas
%mex C/SAG_logistic_BLAS.c -largeArrayDims -lmwblas
%mex C/SAGlineSearch_logistic_BLAS.c -largeArrayDims -lmwblas
%mex C/SAG_LipschitzLS_logistic_BLAS.c -largeArrayDims -lmwblas
