Python | Numpy np.lagmul() method Last Updated : 29 Dec, 2019 Summarize Comments Improve Suggest changes Share Like Article Like Report 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 coefficients representing their product. Code #1 : Python3 # Python program explaining # numpy.lagmul() 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 s1 = (2, 4, 8) s2 = (1, 3, 5) # using np.lagmul() method res = geek.lagmul(s1, s2) # Resulting laguerre series print (res) Output: [ 54. -86. 266. -348. 240.] Code #2 : Python3 # Python program explaining # numpy.lagmul() 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 s1 = (10, 20, 30, 40, 50) s2 = (2, 4, 6, 8, 10) # using np.lagmul() method res = geek.lagmul(s1, s2) # Resulting laguerre series print (res) Output: [ 1100. -1600. 10400. -36000. 90600. -152400. 169400. -112000. 35000.] Comment More infoAdvertise with us Next Article Python | Numpy np.lagfit() method J jana_sayantan Follow Improve Article Tags : Python Python-numpy Python numpy-Mathematical Function Practice Tags : python Similar Reads Python | Numpy np.lagmulx() method With the help of np.lagmulx() method, we can get the multiplication of Laguerre series with x by using np.lagmulx() method, where x is an independent variable. Syntax : np.lagmulx(series) Return : Return the coefficient of series after multiplication. Example #1 : In this example we can see that by 1 min read Python | Numpy np.lagsub() method np.lagub() method is used to subtract one Laguerre series to another.It returns the difference of two Laguerre series c1 - c2. Syntax : np.lagub(c1, c2) Parameters: c1, c2 :[ array_like ] 1-D arrays of Laguerre series coefficients ordered from low to high. Return : [ndarray] Laguerre series coeffici 1 min read Python | Numpy np.lagval() method With the help of np.lagval() method, we can get the laguerre series at point x by using np.lagval() method. Syntax : np.lagval(x, c) Return : Return the laguerre series at point x. Example #1 : In this example we can see that by using np.lagval() method, we are able to get the laguerre series at poi 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.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 Python | Numpy np.laggauss() method np.laggauss() Computes the sample points and weights for Gauss-Laguerre quadrature. These sample points and weights will correctly integrate polynomials of degree 2*deg - 1 or less over the interval [0, inf] with the weight function f(x) = exp(-x) Syntax : np.laggauss(deg) Parameters: deg :[int] Num 1 min read Like