NumPy i0 evaluates a modified Bessel function rather than a numbered array entry
Some mathematical function names look like short variable labels. NumPy i0 is the modified Bessel function of the first kind, order zero, usually written I with a subscript zero. Academia Master Trader presents this English lesson for readers in Bolivia, using selected real arguments to explain its outputs and array behaviour.
The zero names the order
After import numpy as np, the call np.i0([0.,1.,2.]) returns approximately [1.,1.26606588,2.27958530].
The zero in the name identifies the function's order. It is not an instruction to select array position zero, add a zero to each input or return a zero whenever an argument is missing.
The first input above is the number zero, and its function value is one. That input value and the order in the function name play different roles.
Keep the full function name in an explanation. Calling it simply a Bessel function can hide distinctions between modified and ordinary functions, kinds and orders.

Opposite real arguments give matching values
The call np.i0([-2.,-1.,0.,1.,2.]) returns approximately [2.27958530,1.26606588,1.,1.26606588,2.27958530].
For this function, opposite real arguments have the same value. The displayed pairs at minus one and plus one, and at minus two and plus two, illustrate that symmetry.
This does not mean all functions with Bessel in their names behave identically. The symmetry belongs to the particular function being evaluated here.
It also does not mean the result equals the input's absolute value. At either plus two or minus two, the result is approximately 2.27958530 rather than two.
An array supplies evaluation points
Each input entry is an argument at which the function is evaluated. The output keeps the input shape and associates one returned value with each supplied position.
For example, a two-by-two array of arguments yields a two-by-two arrangement of function values. NumPy does not sort those arguments or treat their positions as automatically chosen coordinates on a graph.
A list such as [0.,1.,2.] is therefore a collection of evaluation points, not a request for three different function orders.
Nor does the call solve for an argument that would produce a desired output. Evaluating a function and finding an inverse value are separate operations.
Decimal output is a numeric approximation
The displayed nontrivial values are rounded decimal summaries of floating-point calculations. Printing more digits can make comparisons clearer, but it does not create arbitrary precision.
The examples here use modest finite real inputs. They do not establish that every larger argument will remain representable in the selected floating-point format.
Continue learning with Academia Master Trader at academiamastertrader.com.br and in Aprenda. Record the function family, order and argument arrangement when explaining a special-function calculation.