Laboratory work for Theory of probability. Simulation of random variables by given distribution density.
To work with this repo you need to install:
- CMake
- g++(Linux) or vsc(Windows)
- QT
- Boost library
To setup it on linux use:
sudo apt install g++
sudo apt install cmake
sudo apt update
sudo apt install qt5-default
sudo apt-get install libboost-all-dev
To build application simply follow a few steps:
mkdir build
cd build
cmake ..
cmake --build . --config RELEASE
Use simulation
as <excecutable>
.
To run under linux
use:
./samples/<executable>
To run under windows
use:
.\samples\Release\<executable>.exe
You can specify the parameters of simulation by tow way:
- Input interface in the begin of the program
- Transfer by execution arguments using flowing keys:
-l
lambda-c
count