A very simple example in C
Compiling
If you installed NumCosmo in your system, compile the example using:
gcc -Wall example_simple.c -o example_simple `pkg-config glib-2.0 numcosmo --libs --cflags`
If you followed the instructions on how to use the library without
installing it described here, compile using:
libtool --mode=link gcc -Wall example_simple.c -o example_simple \
${NUMCOSMO_BUILD_DIR}/numcosmo/libnumcosmo.la -I${NUMCOSMO_DIR} \
-I${NUMCOSMO_BUILD_DIR} `pkg-config --cflags glib-2.0`