CORELS is implemented in C++. Its source can be found at our public repo, along with further documentation for compiling and using it from the command line:
To get started, first download the repo:
git clone https://github.com/nlarusstone/corels.git
CORELS depends on gmp, mpfr, and libmpc. These must be installed on your system to compile CORELS. For instance, you can install them via homebrew:
brew install libmpc
The above code will install all three of the required libraries.
To compile, run
make corels from the
A python wrapper of CORELS, called pycorels, is also available. To install, first download the repository containing the python binding, which can be found at https://github.com/fingoldin/corels:
git clone https://github.com/fingoldin/corels.git
make libcorels.so from the
src/ directory of the above repo.
libcorels.so to a location on your linker path, such as
/usr/local/lib on Linux.
python setup.py install from the
pycorels/ directory. You might have to use sudo for this. Once done, you should be able to
import pycorels from within python.
R binding coming soon!
Once you've installed CORELS, head over to the examples page to get started.