Python | Numpy np.lagpow() method Last Updated : 29 Dec, 2019 Summarize Comments Improve Suggest changes Share Like Article Like Report np.lagpow() method is used to raise a Laguerre series to a given power.It returns the Laguerre series c raised to the power pow. Syntax : np.lagpow(c, pow, maxpower=16) Parameters: c :[array_like] 1-D arrays of Laguerre series coefficients ordered from low to high. pow :[integer] Power to which the series will be raised. maxpower :[integer, optional] Maximum allowed power.Default is 16. Return : [ndarray] Laguerre series of power. Code #1 : Python3 # Python program explaining # numpy.lagpow() method # importing numpy as np # and numpy.polynomial.laguerre module as geek import numpy as np import numpy.polynomial.laguerre as geek # Input laguerre series coefficients s = (2, 4, 8) # using np.lagpow() method res = geek.lagpow(s, pow = 3) # Resulting laguerre series coefficient print (res) Output: [ 3176. -25680. 100512. -206592. 246528. -161280. 46080.] Code #2 : Python3 # Python program explaining # numpy.lagpow() method # importing numpy as np # and numpy.polynomial.laguerre module as geek import numpy as np import numpy.polynomial.laguerre as geek # Laguerre series coefficients s = (1, 2, 3, 4, 5) # using np.lagpow() method res = geek.lagpow(s, pow = 4) # Resulting laguerre series print (res) Output: [ 1.88268525e+08 -4.12583040e+09 4.24806624e+10 -2.72789533e+11 1.22285197e+12 -4.05794076e+12 1.03122236e+13 -2.04726003e+13 3.20914270e+13 -3.98546302e+13 3.90872742e+13 -2.99578594e+13 1.75922875e+13 -7.65283919e+12 2.32607876e+12 -4.41441000e+11 3.94143750e+10] Comment More infoAdvertise with us Next Article Python | Numpy np.lagone() method J jana_sayantan Follow Improve Article Tags : Python Python-numpy Python numpy-Mathematical Function Practice Tags : python Similar Reads Python | Numpy np.lag2poly() method np.lag2poly() method is used to convert a Laguerre series to a polynomial. Syntax : np.lag2poly(c) Parameters: c :[array_like] 1-D arrays of Laguerre series coefficients ordered from low to high. Return : [ndarray] 1-D array containing the coefficients of the equivalent polynomial. Code #1 : Python3 1 min read Python | Numpy np.lagone() method np.lagone() method can be used instead of np.ones for creating a array whose elements are 1. Syntax : np.lagone() Return : Return array([1]) Example #1 : Python3 1=1 # Python program explaining # numpy.lagone() method # import numpy and lagone import numpy as np from numpy.polynomial.laguerre import 1 min read Python | Numpy np.lagzero() method np.lagzero() method can be used instead of np.zeros for creating a array whose elements are 0. Syntax : np.lagzero() Return : Return array([0]) Example #1 : Python3 1=1 # Python program explaining # numpy.lagzero() method # import numpy and lagzero import numpy as np from numpy.polynomial.laguerre i 1 min read Python | Numpy np.lagfit() method With the help of np.lagfit() method, we can get the least squares fit of laguerre series of a given data by using np.lagfit() method. Syntax : np.lagfit(x, y, deg) Return : Return the least squares fit of laguerre series to data. Example #1 : In this example we can see that by using np.lagfit() meth 1 min read Python | Numpy np.lagmul() method np.lagmul() method is used to multiply one Laguerre series to another.It returns the product of two Laguerre series c1 * c2. Syntax : np.lagmul(c1, c2) Parameters: c1, c2 :[ array_like ] 1-D arrays of Laguerre series coefficients ordered from low to high. Return : [ndarray] Laguerre series coefficie 1 min read Python | Numpy np.lagder() method np.lagroots() method is used to differentiate a Laguerre series. Syntax : np.lagder(c, m=1, scl=1, axis=0) Parameters: c :[array_like] 1-D arrays of Laguerre series coefficients ordered from low to high. m :[int, optional] Number of derivatives taken, must be non-negative.Default is 1. scl :[scalar, 1 min read Like