Revision 30ab69a5d52df4a5bb576d33e109b840362c0e7b authored by Reza Mohammadi on 14 November 2018, 17:30:12 UTC, committed by cran-robot on 14 November 2018, 17:30:12 UTC
1 parent d69d48c
util.h
#ifndef UTIL_H
#define UTIL_H
#include <Rconfig.h>
//#if defined(_OPENMP) //&& __GNUG__ && defined(__linux__)
//#ifdef _OPENMP
// #define __PARALLEL__ true
//#else
// #define __PARALLEL__ false
//#endif
#ifdef _OPENMP
#include <omp.h>
#endif
#include <R.h>
#include <Rmath.h>
#include <R_ext/Print.h>
#include <R_ext/Lapack.h>
#include <R_ext/BLAS.h>
#include <R_ext/Utils.h>
#include <R_ext/Complex.h>
#include <R_ext/Arith.h> // for the special values like NA, NaN
#include <R_ext/Visibility.h>
#include <sstream>
#include <string> // std::string, std::to_string
#include <vector> // for using vector
#include <math.h> // isinf, sqrt
#include <limits> // for std::numeric_limits<double>::max()
#include <algorithm> // for transform function
#include <functional> // for transform function
#include <climits>
using namespace std;
#endif
Computing file changes ...