Thursday, January 22, 2026
HomeLanguagesPython | Numpy np.lagint() method

Python | Numpy np.lagint() method

With the help of np.lagint() method, we can get the laguerre series in the form of an array by using np.lagint() method.

Syntax : np.lagint(array of coefficient)
Return : Return the array of laguerre series.

Example #1 :
In this example we can see that by using np.lagint() method, we are able to get the laguerre series in the form of an array.




# import numpy
from numpy.polynomial.laguerre import lagint
  
# using np.lagint() method
gfg = lagint([1, 2, 3])
  
print(gfg)


Output :

[ 1. 1. 1. -3.]

Example #2 :




# import numpy
from numpy.polynomial.laguerre import lagint
  
# using np.lagint() method
gfg = lagint([[1, 2, 3], [4, 5, 6]])
  
print(gfg)


Output :

[[ 1. 2. 3.]
[ 3. 3. 3.]
[-4. -5. -6.]]

Dominic
Dominichttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Dominic
32475 POSTS0 COMMENTS
Milvus
119 POSTS0 COMMENTS
Nango Kala
6847 POSTS0 COMMENTS
Nicole Veronica
11977 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12064 POSTS0 COMMENTS
Shaida Kate Naidoo
6986 POSTS0 COMMENTS
Ted Musemwa
7220 POSTS0 COMMENTS
Thapelo Manthata
6933 POSTS0 COMMENTS
Umr Jansen
6912 POSTS0 COMMENTS