My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
cbesselj.cpp File Reference

compute complex bessel J function More...

#include <math.h>
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include "complex.h"
#include "constants.h"
#include "precision.h"
Include dependency graph for cbesselj.cpp:

Go to the source code of this file.

Macros

#define SMALL_J0_BOUND   1e6
 
#define SMALL_JN_BOUND   5.0
 use ascending serie below this magnitude
 
#define BIG_JN_BOUND   25.0
 use assymptotic expression above this magnitude
 
#define MAX_SMALL_ITERATION   2048
 Arbitrary value for iteration.
 
#define MAX_LARGE_ITERATION   430
 num of P(k) (n = 8) will overlow above this value
 

Functions

nr_complex_t cbesselj (unsigned int n, nr_complex_t z)
 Main entry point for besselj function.
 

Detailed Description

compute complex bessel J function

Bibligraphy:

[1] Bessel function of the first kind with complex argument Yousif, Hashim A.; Melka, Richard Computer Physics Communications, vol. 106, Issue 3, pp.199-206 11/1997, ELSEVIER, doi://10.1016/S0010-4655(97)00087-8

[2] Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables Milton Abramowitz and Irene A. Stegun public domain (work of US government) online http://www.math.sfu.ca/~cbm/aands/

[3] Mathematica Manual Bessel, Airy, Struve Functions> BesselJ[nu,z] > General characteristics> Symmetries and periodicities http://functions.wolfram.com/BesselAiryStruveFunctions/BesselJ/04/02/01/

[4] Mathematica Manual Bessel, Airy, Struve Functions> BesselJ[nu,z] Representations through equivalent functions http://functions.wolfram.com/BesselAiryStruveFunctions/BesselJ/27/ShowAll.html

[5] Algorithms for the evaluation of Bessel functions of complex argument and integer orders G. D. C. Kuiken Applied Mathematics Letters, Volume 2, Issue 4, 1989, Pages 353-356 doi://10.1016/0893-9659(89)90086-4

Definition in file cbesselj.cpp.

Macro Definition Documentation

#define BIG_JN_BOUND   25.0

use assymptotic expression above this magnitude

Definition at line 80 of file cbesselj.cpp.

#define MAX_LARGE_ITERATION   430

num of P(k) (n = 8) will overlow above this value

Definition at line 210 of file cbesselj.cpp.

#define MAX_SMALL_ITERATION   2048

Arbitrary value for iteration.

Definition at line 83 of file cbesselj.cpp.

#define SMALL_J0_BOUND   1e6

Definition at line 74 of file cbesselj.cpp.

#define SMALL_JN_BOUND   5.0

use ascending serie below this magnitude

Definition at line 77 of file cbesselj.cpp.

Function Documentation

nr_complex_t cbesselj ( unsigned int  n,
nr_complex_t  z 
)

Main entry point for besselj function.

Definition at line 285 of file cbesselj.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: