Skip to content

PlutoniumHeart/complex_bessel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

complex_bessel

Join the chat at https://gitter.im/valandil/complex_bessel DOI

A C++ library to evaluate Bessel functions of all kinds. More information can be found on the website.

Introduction

C++ library that acts as a wrapper for the Fortran subroutines developed by D.E. Amos. The library provides functionality to compute the Bessel, Hankel and Airy functions of complex argument and real order. Negative orders are implemented via the standard formulae.

We provide a shared object library and header files to be included.

Compilation instructions

The library uses CMake for compilation. The user should thus install CMake on their machine. On Ubuntu and other Debian-based OSes, this can be done by running

sudo apt-get install cmake

On Arch Linux

sudo pacman -S cmake

The user should then run

bash build.sh

which will create a build/ directory and run make automatically. When you are ready to install the files, just run

cd build
sudo make install

The library will be installed to /usr by default. To change it, you will have to run cmake manually like so:

cmake -DCMAKE_INSTALL_PREFIX=/path/of/install/dir

Example

Contours of Hankel function

About

A C++ library to evaluate Bessel functions of all kinds.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Fortran 86.0%
  • C++ 9.2%
  • Python 3.0%
  • CMake 1.0%
  • TeX 0.3%
  • Shell 0.3%
  • C 0.2%