Installation guide : optional libraries

complex_bessel, library used for using complex-valued Bessel functions.

Concepts uses complex_bessel, a library written by Joey Dumont and Denis Gagnon to handle with complex-valued (see https://blog.joey-dumont.ca/complex_bessel/).

=== Direct installation

<pre>git clone https://github.com/valandil/complex_bessel.git</pre>

<pre>cd complex_bessel ; bash build.sh</pre>

Library will be in the build folder, whereas include files will be in the include folder.

== Xerus, a general purpose tensor library

Complex uses Xerus, a general purpose tensor library written by Benjamin Huber and Sebastian Wolf.

=== Direct installation

<pre>sudo apt-get install binutils-dev libopenblas-dev libsuitesparse-dev liblapacke-dev</pre>

<pre>git clone https://git.hemio.de/xerus/xerus.git ; cd xerus ; git checkout v3</pre>

<pre>cp config.mk.default config.mk ; $(EDITOR) config.mk</pre>

<pre>make test -j4</pre>

<pre>make shared -j4 ; make install</pre>

== alglib - cross-platform numerical analysis and data processing library

Installation of this library is optional since there is an already embedded version inside Concepts.

=== Installing packages in Debian, Ubuntu or Redhat

For the Linux distributions Debian or Ubuntu install the package

<pre>libalglib-dev</pre>

== ftsh - fast transform for spherical harmonics library

Concepts uses FTSH, a library written by Martin J. Mohlenkamp to handle with fast transform for spherical harmonics. It relies on the version 2 of the FFTW library.

=== Installation of FFTW2

=== Installation of FTSH

<pre>10c10 < FORTRAN = g77 --- > FORTRAN = gfortran 41a42 > CFLAGS= -I$(HOME)/fftw2/include -fPIC 52c53 < LIBLINK= -lrfftw -lfftw -lm --- > #LIBLINK= -lrfftw -lfftw -lm 63a65 > LIBLINK = $(HOME)/fftw2/lib/librfftw.a $(HOME)/fftw2/lib/libfftw.a -lm</pre>

=== Activation

The file boost-build-modules.jam should be modified in the following <pre> modules.poke : FFTW_PATH : /home/semin/fftw2/lib ; modules.poke : FFTW_INCLPATH : /home/semin/fftw2/include ; modules.poke : FTSH_PATH : /home/semin/libftsh2012_4_6 ; modules.poke : FTSH_INCLPATH : /home/semin/libftsh2012_4_6 ; </pre>

== FFTW3 - Fast Fourier Transform library

Concepts uses FFTW3, a library written by Matteo Frigo and Steven G. Johnson and that is used to compute Discrete Fourier Transforms.

=== Installing packages in Debian, Ubuntu or Redhat

For the Linux distributions Debian or Ubuntu install the package

<pre>libfftw3-dev</pre>

=== Direct installation