Compilation and installation
Requirements
Linux or MacOsX operating system
C++ Compiler
GNU Make
ar tool
Eigen 3
: library.Python 3
matplotlib (installed automatically)
numpy (installed automatically)
Installation
Step 1: Install compilation tools
SOQCS is a C++ library with a Python port. Sources will be compiled automatically as part of the installation. The system needs a C++ compiler, the make and ar tools and the Eigen 3 library for linear algebra. To install Eigen 3 type in your command line,
sudo apt install libeigen3-dev
or
sudo zypper install eigen3-devel
depending on your distribution. The names of the libraries may also depend on the distribution. The rest of the tools are standard compilation tools that can be found in your favourite package repository.
Step 2: Install the library
pip install git+https://github.com/SOQCSAdmin/SOQCS
Using SOQCS library
In your programs include the line,
import soqcs
For examples and the library API check the rest of the documentation.
Documentation
This documentation can be found in https://soqcsadmin.github.io/SOQCS/
The C++ API documentation can be found in https://soqcsadmin.github.io/SOQCS/indexcpp.html