Python | Numpy np.hermeval2d() method (original) (raw)
Last Updated : 11 Dec, 2019
With the help of **np.hermeval2d()**
method, we can evaluate a 2-D hermite series on point (x, y), where (x, y) is defined in the np.hermeval2d()
method.
Syntax :
np.hermeval2d(x, y, series)
Return : Return the evaluated 2-D hermite series.
Example #1 :
In this example we can see that by using np.hermeval2d()
method, we are able to evaluate the 2-D hermite series on x and y by using this method.
import
numpy as np
from
numpy.polynomial.hermite_e
import
hermeval2d
series
=
np.array([[
1
,
2
,
3
,
4
], [
5
,
6
,
7
,
8
]])
gfg
=
hermeval2d(
3
,
4
, series)
print
(gfg)
Output :
1912.0
Example #2 :
import
numpy as np
from
numpy.polynomial.hermite_e
import
hermeval2d
series
=
np.array([[
1
,
2
,
3
,
4
], [
5
,
6
,
7
,
8
]])
gfg
=
hermeval2d([
2
,
3
], [
5
,
6
], series)
print
(gfg)
Output :
[2689. 6520.]
Similar Reads
- Python | Numpy np.hermeval3d() method With the help of np.hermeval3d() method, we can evaluate a 3-D hermite series on point (x, y, z), where (x, y, z) is defined in the np.hermeval3d() method. Syntax : np.hermeval3d(x, y, series) Return : Return the evaluated 3-D hermite series. Example #1 : In this example we can see that by using np. 1 min read
- Python | Numpy np.hermeval() method With the help of np.hermeval() method, we can evaluate the hermite series on x, where s is defined in the np.hermeval() method. Syntax : np.hermeval(x, series) Return : Return the evaluated hermite series. Example #1 : In this example we can see that by using np.hermeval() method, we are able to eva 1 min read
- Python | Numpy np.hermevander2d() method With the help of np.hermevander2d() method, we can get the pseudo vandermonde matrix of a given 2-D data having degrees x and y by using np.hermevander2d() method. Syntax : np.hermevander2d(x, y, [x_deg, y_deg]) Return : Return the pseudo vandermonde matrix of given 2-D data. Example #1 : In this ex 2 min read
- Python | Numpy np.hermevander() method With the help of np.hermevander() method, we can get the pseudo vandermonde matrix at a given degree by using np.hermevander() method. Syntax : np.hermevander(x, deg) Return : Return the pseudo vandermonde matrix. Example #1 : In this example we can see that by using np.hermevander() method, we are 1 min read
- Python | Numpy np.hermvander2d() method With the help of np.hermvander2d() method, we can get the 2-D pseudo vandermonde matrix from hermite series of given degree by using np.hermvander2d() method. Syntax : np.hermvander2d(x, y, deg) Return : Return the 2-D pseudo vandermonde matrix of given degree. Example #1 : In this example we can se 1 min read
- Python | Numpy np.hermvander() method With the help of np.hermvander() method, we can get the pseudo vandermonde matrix from hermite series of given degree by using np.hermvander() method. Syntax : np.hermvander(x, deg) Return : Return the pseudo vandermonde matrix of given degree. Example #1 : In this example we can see that by using n 1 min read
- Python | Numpy np.hermediv() method With the help of np.hermediv() method, we can get the division of two hermiteE series by using np.hermediv() method. Syntax : np.hermediv(series1, series2) Return : Return the division of two hermiteE series. Example #1 : In this example we can see that by using np.hermediv() method, we are able to 1 min read
- Python | Numpy np.hermemul() method With the help of np.hermemul() method, we can get the multiplication of two hermiteE series by using np.hermemul() method. Syntax : np.hermemul(series1, series2) Return : Return the multiplication of two hermiteE series. Example #1 : In this example we can see that by using np.hermemul() method, we 1 min read
- Python | Numpy np.hermegrid2d() method With the help of np.hermegrid2d() method, we can evaluate a 2-D hermite series on cartesian product of (x, y), where (x, y) is defined in the np.hermegrid2d() method. Syntax : np.hermegrid2d(x, y, series) Return : Return the evaluated 2-D hermite series. Example #1 : In this example we can see that 1 min read
- Python | Numpy np.hermevander3d() method With the help of np.hermevander3d() method, we can get the pseudo vandermonde matrix of a given 3-D data having degrees x, y and z by using np.hermevander3d() method. Syntax : np.hermevander3d(x, y, z, [x_deg, y_deg, z_deg]) Return : Return the pseudo vandermonde matrix of given 3-D data. Example #1 2 min read