Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 400 and 401] [Versions 401 and 402] [Versions 401 and 403]

(no description)

File Size: 180 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BesselJ:: (7 methods):
  BESSELJ()
  calculate()
  besselJ0()
  besselJ1()
  besselJ2()
  besselj2a()
  besselj2b()


Class: BesselJ  - X-Ref

BESSELJ($x, $ord)   X-Ref
BESSELJ.

Returns the Bessel function

Excel Function:
BESSELJ(x,ord)

NOTE: The MS Excel implementation of the BESSELJ function is still not accurate, particularly for higher order
values with x < -8 and x > 8. This code provides a more accurate calculation

param: mixed $x A float value at which to evaluate the function.
param: mixed $ord The integer order of the Bessel function.
return: array|float|string Result, or a string containing an error

calculate(float $x, int $ord)   X-Ref
No description

besselJ0(float $x)   X-Ref
No description

besselJ1(float $x)   X-Ref
No description

besselJ2(float $x, int $ord)   X-Ref
No description

besselj2a(float $ax, int $ord, float $x)   X-Ref
No description

besselj2b(float $ax, int $ord, float $x)   X-Ref
No description