📜  numpy.i0()函数| Python

📅  最后修改于: 2022-05-13 01:54:35.879000             🧑  作者: Mango

numpy.i0()函数| Python

numpy.i0()函数是第一类修正的贝塞尔函数,0 阶。它通常用 I 0表示。

代码#1:

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

输出 :

1.0


代码#2:

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

输出 :

[ 1.26606588+0.j,  -1.24923489+0.9479838j]