This set of files provides the implementation of the numerical cell decomposition algorithm into Bertini_real.

In order to run the demo script titled `run_examples.sh', you must first have built the software.

To build the software -- steps 0-2.

0) Install the dependencies.

Install Boost-all, Flex, Bison, MPI, MPFR, GMP, and a C++ compiler which supports the C++11 standard.  Ensure Matlab and its symbolic toolbox are installed.  Bertini_real will compile without Matlab, but will not run correctly without it.

1) Build Bertini.

```
cd sources && tar -zxf BertiniSource_v1.5.1.tar.gz && cd BertiniSource_v1.5.1 && ./configure prefix=$HOME/built0192837465 && make -j 2 && make install && cd ../../
```

2) Build Bertini_real.

```
cd sources && tar -xzf bertini_real-1.4.0.tar.gz && cd bertini_real-1.4.0 && ./configure CPPFLAGS=-I$HOME/built0192837465/include LDFLAGS=-L$HOME/built0192837465/lib && make -j 2 && cd ../../
```

Try out Bertini_real -- steps 3-4.

[3)] Run the examples.

```
./run_examples.sh
```

[4)] Visualize.

Run Matlab, and use the provided code.  Add the provided `matlab_codes` directory to your path.  To visualize, first, change directories into the location of the data, and parse the data into Matlab native format by calling `gather_br_samples`.  Then, render the gathered data, by calling `bertini_real_plotter`.  No argument is needed, but lots are available.

```
cd path/to/data
gather_br_samples
bertini_real_plotter
```

For more help visualizing, `help bertini_real_plotter`

Thanks for trying out Bertini_real!
