Wednesday, June 17, 2026
HomeLanguagesPython | Numpy np.lagval3d() method

Python | Numpy np.lagval3d() method

With the help of np.lagval3d() method, we can get the 3-D laguerre series at point x by using np.lagval3d() method.

Syntax : np.lagval3d(x, y, z, c)
Return : Return the 3-D laguerre series at point x, y and z.

Example #1 :
In this example we can see that by using np.lagval3d() method, we are able to get the 3-D laguerre series at point x, y and z by using this method.




# import numpy and lagval3d
import numpy as np
from numpy.polynomial.laguerre import lagval3d
  
x = np.array([[1, 2], [3, 4]])
y = np.array([[-5, -10], [-15, -20]])
z = np.array([[1, 2], [3, 4]])
c = np.array([1, 2])
  
# import np.lagval3d() method
gfg = lagval3d(x, y, z, c)
  
print(gfg)


Output :

[[13. 44.]
[43. 94.]]

Example #2 :




# import numpy and lagval3d
import numpy as np
from numpy.polynomial.laguerre import lagval3d
  
x, y, z = 1, 2, 3
c = np.array([1, 2])
  
# import np.lagval3d() method
gfg = lagval3d(x, y, z, c)
  
print(gfg)


Output :

1.0

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

Most Popular

Dominic
32516 POSTS0 COMMENTS
Milvus
131 POSTS0 COMMENTS
Nango Kala
6898 POSTS0 COMMENTS
Nicole Veronica
12014 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12109 POSTS0 COMMENTS
Shaida Kate Naidoo
7019 POSTS0 COMMENTS
Ted Musemwa
7262 POSTS0 COMMENTS
Thapelo Manthata
6976 POSTS0 COMMENTS
Umr Jansen
6964 POSTS0 COMMENTS