MCPcopy Create free account
hub / github.com/numpy/numpy / _zseries_mul

Function _zseries_mul

numpy/polynomial/chebyshev.py:182–206  ·  view source on GitHub ↗

Multiply two z-series. Multiply two z-series to produce a z-series. Parameters ---------- z1, z2 : 1-D ndarray The arrays must be 1-D but this is not checked. Returns ------- product : 1-D ndarray The product z-series. Notes ----- This is s

(z1, z2)

Source from the content-addressed store, hash-verified

180
181
182def _zseries_mul(z1, z2):
183 """Multiply two z-series.
184
185 Multiply two z-series to produce a z-series.
186
187 Parameters
188 ----------
189 z1, z2 : 1-D ndarray
190 The arrays must be 1-D but this is not checked.
191
192 Returns
193 -------
194 product : 1-D ndarray
195 The product z-series.
196
197 Notes
198 -----
199 This is simply convolution. If symmetric/anti-symmetric z-series are
200 denoted by S/A then the following rules apply:
201
202 S*S, A*A -> S
203 S*A, A*S -> A
204
205 """
206 return np.convolve(z1, z2)
207
208
209def _zseries_div(z1, z2):

Callers 2

_zseries_intFunction · 0.85
chebmulFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…