Thursday, September 4, 2025
HomeLanguagesnumpy.i0() function | Python

numpy.i0() function | Python

numpy.i0() function is the modified Bessel function of the first kind, order 0. it’s usually denoted by I0.

Syntax : numpy.i0(x)
Parameters :
x : [array_like, dtype float or complex] Argument of the Bessel function.

Return : [ndarray, shape = x.shape, dtype = x.dtype] The modified Bessel function evaluated at each of the elements of x.

Code #1 :




# Python program explaining
# numpy.i0() function
  
# importing numpy as geek 
import numpy as geek
  
gfg = geek.i0(0.)
  
print (gfg)


Output :

1.0

 
Code #2 :




# Python program explaining
# numpy.i0() function
  
# importing numpy as geek 
import numpy as geek
  
gfg = geek.i0([1., 2. + 3j])
  
print (gfg)


Output :

[ 1.26606588+0.j,  -1.24923489+0.9479838j]
Dominic
Dominichttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Dominic
32264 POSTS0 COMMENTS
Milvus
81 POSTS0 COMMENTS
Nango Kala
6629 POSTS0 COMMENTS
Nicole Veronica
11799 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11858 POSTS0 COMMENTS
Shaida Kate Naidoo
6749 POSTS0 COMMENTS
Ted Musemwa
7025 POSTS0 COMMENTS
Thapelo Manthata
6698 POSTS0 COMMENTS
Umr Jansen
6716 POSTS0 COMMENTS