Python | Numpy np.lagzero() method Last Updated : 29 Dec, 2019 Summarize Comments Improve Suggest changes Share Like Article Like Report 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 import lagzero # using np.lagzero() method ans = lagzero print(ans) Output : [0] Example #2 : Python3 1=1 # Python program explaining # numpy.lagzero() method # import numpy and lagzero import numpy as np from numpy.polynomial.laguerre import lagzero # using np.lagzero() method ans = lagzero + [[1, 3, 5], [2, 4, 6]] print(ans) Output : [[1 3 5] [2 4 6]] Comment More infoAdvertise with us Next Article Python | Numpy np.lagroots() method J jana_sayantan Follow Improve Article Tags : Python Python-numpy Python numpy-Mathematical Function Practice Tags : python Similar Reads 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.lagroots() method np.lagroots() method is used to compute the roots of a Laguerre series.Return the roots of the polynomial. Syntax : np.lagroots(c) Parameters: c :[array_like] 1-D arrays of Laguerre series coefficients ordered from low to high. Return : [ndarray] Array of the roots of the series. If all the roots ar 1 min read Python | Numpy np.lagpow() method 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 2 min read Python | Numpy np.lagvander() method With the help of np.lagvander() method, we can get the Pseudo-Vandermonde matrix from given array having degree which is passed as parameter by using np.lagvander() method. Syntax : np.lagvander(arr, degree) Parameters: arr :[ array_like ] Array of points. The dtype is converted to float64 or comple 2 min read 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.hermzero() method With the help of np.hermzero() method, we can use hermzero instead of np.zeros by using np.hermzero() method. Syntax : np.hermzero() Return : Return array([0]) Example #1 : In this example we can see that by using np.hermzero() method, we are able to get the functionality of np.zeros as same as this 1 min read Like