NumPy | Python Methods and Functions

With the method

we can get the multiplication of two Hermite series with **np.hermmul()** ` np.hermmul () `

.

Syntax:`np.hermmul (series1, series2)`

Return:Return the coefficient of series after multiplication.

** Example # 1: **

In this example, we see that with ` np.hermmul () `

we we can get the row factor after multiplying two Hermite rows using this method.

` ` |

** Output: **

[21154. 17903. 44860. 13458. 16278. 2154. 1706. 85. 50.]

** Example # 2: **

` `

` ` ` # numpy and hermmul imports `

` import `

` numpy as np `

` ` ` from `

` numpy.polynomial.hermite `

` import `` hermmul `

` `

` series1 `

` = `

` np.array ([`

` 1 `

`, `

` 2 `

`, `

` 3 `

`]) `

` series2 `

` = `

` np.array ([`

` 1 `

`, `` 2 `

`, `

` 3 `

`] ) `

` `

` # using the np.hermmul () method `

` gfg `

` = `

` hermmul (series1, series2) `

` print `

` (gfg ) `

** Output: **

[81. 52. 82. 12. 9.]

Python: - The Bible - 3 Manuscripts in 1 book:

- Python Programming For Beginners
- Python Programming For Intermediates
- Python Programming for Advanced

12/08/2021

ig Data applications are growing very rapidly around the globe. This new approach to decision making takes into account data gathered from multiple sources. Here my goal is to show how these diverse s...

10/07/2020

In the summer of 2008, after three decades of building software in corporate data centers, I walked away from corporate America to take a stab at building a technology company from the ground up based...

10/07/2020

Scientific progress has increasingly become reliant on large-scale data collection and analysis methodologies. The same is true for the advanced use of computing in business, government, and other are...

10/07/2020

X
# Submit new EBook