Examples of how to use the library.

Every example below assumes that you have the library in `/home/[username]/NumCosmo`
and compiled in `/home/[username]/NumCosmo/build`

To setup the environment variables for the examples, you can use the script:
`source path_to_numcosmo_build/numcosmo_export.sh`

****************************************************************************
* Compilation of the examples in C
***************************************************************************

# To compile an example *without* installing numcosmo in your system:
If you have libtool you can compile directly with:

libtool --tag=CC --mode=link gcc example_simple.c -o example_simple \
/home/[username]/NumCosmo/build/numcosmo/libnumcosmo.la \
`pkg-config glib-2.0 --cflags`

Libtool takes care in finding the correct place of the compiled but not
installed library.

# If numcosmo is already installed in your system

gcc -Wall example_simple.c -o example_simple \
`pkg-config numcosmo --libs --cflags`

This line may need modification depending on the system. Just look
for the missing header and add the corresponding pkg-config lib or -I

****************************************************************************
* Running the python examples
***************************************************************************

All examples assumes that you are using python >= 3.8 
To test the example ust run the script:

`python ./example_simple.py`

Note that some examples depend on matplotlib and/or other python modules.

