Fiber Modes
latest
API Documentation
Modules list
fibermodes.constants
fibermodes.fiber
fibermodes.fiber.material
fibermodes.fiber.geometry
fibermodes.fiber.solver
fibermodes.field
fibermodes.functions
fibermodes.mode
fibermodes.simulator
fibermodes.slrc
fibermodes.wavelength
Module contents
Tutorial and examples
Fiber Modes
Docs
»
API Documentation
»
fibermodes.functions
Edit on GitHub
fibermodes.functions
¶
Miscellaneous mathematical functions.
fibermodes.functions.
derivative
(
f
,
x
,
k
,
m
,
j
,
h
,
*args
)
[source]
¶
Numerical differentiation
Parameters:
f
(
function
) – function
x
(
float
) – parameter
k
(
int
) – differentiation order (1 to 5)
m
(
int
) – number of points (3 to 6)
j
(
int
) – central point (0 to m-1)
h
(
float
) – distance between points
*args
– other function arguments