Giter Site home page Giter Site logo

kostyfisik / complex_bessel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joeydumont/complex_bessel

0.0 1.0 0.0 526 KB

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

License: GNU Lesser General Public License v3.0

CMake 1.76% Shell 0.29% C 0.19% C++ 18.04% TeX 0.29% Fortran 73.64% Python 5.79%

complex_bessel's Introduction

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

Other similar libraries

The FORTRAN library that is used as the main driver for the computation of Bessel functions is also used in

Boost has its own implementation of the Bessel functions, but only supports real values for the argument.

If arbitrary precision is needed, the arb library supports the computation of many special functions, including Bessel functions.

Example

Contours of Hankel function

complex_bessel's People

Contributors

gitter-badger avatar joeydumont avatar jrepan avatar mcnoggins avatar vgiunzioni avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.