DYN_MEX_FUNC_ERR_MSG_TXT("qmc_sequence:: The fourth input argument must be an array with a number of lines equal to dimension (first input argument)!");
}
if((nrhs>4)&&(type==1)&&(!(((int)mxGetN(prhs[4])==dimension)&&((int)mxGetM(prhs[4])==dimension))))// Sequence of normally distributed numbers.
{
DYN_MEX_FUNC_ERR_MSG_TXT("qmc_sequence:: The fifth input argument must be a squared matrix (whose dimension is given by the first input argument)!");
}
if((nrhs>4)&&(type==2)&&(!((mxGetN(prhs[4])==1)&&(mxGetM(prhs[4])==1))))// Sequence of uniformly distributed numbers on an hypershere.
{
DYN_MEX_FUNC_ERR_MSG_TXT("qmc_sequence:: The fifth input argument must be a positive scalar!");
}
double*lower_bounds=NULL,*upper_bounds=NULL;
if(nrhs>4&&type==0&&mxGetN(prhs[4])!=2)// Sequence of uniformly distributed numbers in an hypercube
DYN_MEX_FUNC_ERR_MSG_TXT("qmc_sequence:: The fifth input argument must be an array with two columns!");
DYN_MEX_FUNC_ERR_MSG_TXT("qmc_sequence:: The fourth input argument must be an array with a number of lines equal to dimension (first input argument)!");