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)
| 180 | |
| 181 | |
| 182 | def _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 | |
| 209 | def _zseries_div(z1, z2): |
no outgoing calls
no test coverage detected
searching dependent graphs…