Add the cylindrical Bessel function of the first kind of order 0
Needs ReviewPublic

Authored by yurchor on Sep 22 2019, 2:00 PM.

Details

Reviewers
None
Group Reviewers
KDE Edu
Summary

The current standard C++ implementation (cyl_bessel_j) is restricted to C++17 (or tr1 for GCC). GSL or Boost dependency is too much for lightweight KmPlot.

The proposed code is adopted from Boost. It is just a proposal of how Bessel functions can be implemented.

Test Plan
  1. Compile, install, and run KmPlot.
  2. Create a Cartesian plot and enter "J0(x)" for f(x).

Test plot:

Diff Detail

Repository
R334 KmPlot
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16887
Build 16905: arc lint + arc unit
yurchor created this revision.Sep 22 2019, 2:00 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptSep 22 2019, 2:00 PM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
yurchor requested review of this revision.Sep 22 2019, 2:00 PM
yurchor edited the test plan for this revision. (Show Details)Sep 22 2019, 2:02 PM