Evaluate a 3D Laguerre series at points (x,y,z) with 4D array of coefficient using NumPy in Python Last Updated : 03 Jun, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report In this article, we will evaluate a 3D Laguerre Series at points (x,y) with 4 dimensional array of coefficient in Python. laguerre.lagval3d() The laguerre.lagval3d() is used to evaluate a 3D Laguerre series at points (x,y) which returns the values of the multidimensional polynomial on points formed with triples of corresponding values from x, y, and z values, So we have to provide three lists such that each list has an x-point and y-point. Syntax: laguerre.lagval3d(points,coefficient_array) Parameters: Points(x,y): The first parameter can be a list of points - x and y.c: It is an numpy array of coefficients ordered such that it is of 3 Dimensions. Return: multidimensional polynomial on points Example 1: In this example, we are creating numpy array with coefficients from 0 to 47 with (2*6) each and evaluate Laguerre Series at points [3,4],[1,2],[6,7]. Python3 # import numpy module import numpy # import laguerre from numpy.polynomial import laguerre # Create 1d array of 6 elements coefficient_array = numpy.arange(48).reshape(2,2,6,2) # Display print(coefficient_array) # display the Dimensions print(coefficient_array.ndim) # display Shape print(coefficient_array.shape) # Evaluate a 3D Laguerre series at # points (x,y) - [3,4],[1,2],[6,7] print(laguerre.lagval3d([3,4],[1,2],[6,7],coefficient_array)) Output: Example 2: In this example we are creating NumPy array with coefficients from 0 to 47 with (2*6) each and evaluate Laguerre Series at points [0,0],[0,0] and [0,0]. Python3 # import numpy module import numpy # import laguerre from numpy.polynomial import laguerre # Create 1d array of 6 elements coefficient_array = numpy.arange(48).reshape(2,2,6,2) # Display print(coefficient_array) # display the Dimensions print(coefficient_array.ndim) # display Shape print(coefficient_array.shape) # Evaluate a 3D Laguerre series at points # (x,y) - [0,0],[0,0],[0,0] print(laguerre.lagval3d([0,0],[0,0],[0,0],coefficient_array)) Output: Comment More infoAdvertise with us Next Article Evaluate a 2D Laguerre series at points (x,y) with 1D array of coefficient using NumPy in Python S sravankumar_171fa07058 Follow Improve Article Tags : Python Python-numpy Python numpy-polynomials Practice Tags : python Similar Reads Evaluate a 2D Laguerre series at points (x,y) with 1D array of coefficient using NumPy in Python In this article, we will Evaluate a 2D Laguerre series at points (x,y) with a 1D array of coefficient Laguerre.lagval2d method In Python, laguerre.lagval2d() is used to evaluate a 2D Laguerre series at points (x,y). where coefficient_array is the input NumPy 1D array with coefficients and points re 2 min read Evaluate a 2-D Hermite series at points (x,y) with 3D array of coefficient using NumPy in Python In this article, we'll look at how to evaluate a 2-dimensional Hermite series using NumPy in Python at an array of points x, and y with the 3-dimensional array. np.hermval2d method We are using the hermite.hermval2d() function from the Numpy module to evaluate a 2D Hermite series at locations (x, y) 2 min read Evaluate a 2-D Hermite_e series at points (x,y) with 3D array of coefficient using NumPy in Python In this article, we will cover how to evaluate a 2-D Hermite_e series at points (x,y) with a 3D array of coefficients using NumPy in Python. np.polynomial.hermite_e.hermeval2d method The np.polynomial.hermite_e.hermeval2d from the NumPy library is used to Evaluate a 2-D Hermite_e series at points(x, 3 min read Evaluate a 3-D polynomial at points (x, y, z) with 4D array of coefficient using NumPy in Python In this article, we will look at how to evaluate a 3-dimensional polynomial at points (x, y, z) with a 4D array of coefficients using NumPy in Python. polynomial.polyval3d method We are using polynomial.polyval3d() function present in the NumPy module of python for the evaluation purpose of a 3-dim 2 min read Evaluate a 3D Laguerre series at points (x,y,z) using NumPy in Python In this article, we will cover how to evaluate a 3D Laguerre series at points (x,y,z) using NumPy in Python. numpy.polynomial.legendre.legval3d The numpy.polynomial.legendre.legval3d() method from the NumPy library is used to evaluate a 3D Laguerre series at points(x,y,z) in Python. Only tuples or l 3 min read Evaluate a 2D Laguerre series at points (x,y) using NumPy in Python In this article, we will discuss how to evaluate a 2D Laguerre series at points (x,y) using NumPy in Python. Example Input: [[[ 0 1 2] [ 3 4 5] [ 6 7 8]] [[ 9 10 11] [12 13 14] [15 16 17]] [[18 19 20] [21 22 23] [24 25 26]]] Output: [[[1920. 522.] [ 414. 108.]] [[2020. 552.] [ 444. 117.]] [[2120. 58 3 min read Like