a.dot(b, out=None) Masked dot product of two arrays. Note that `out` and `strict` are located in different positions than in `ma.dot`. In order to maintain compatibility with the functional version, it is recommended that the optional arguments be treated as
(self, b, out=None, strict=False)
| 5161 | trace.__doc__ = ndarray.trace.__doc__ |
| 5162 | |
| 5163 | def dot(self, b, out=None, strict=False): |
| 5164 | """ |
| 5165 | a.dot(b, out=None) |
| 5166 | |
| 5167 | Masked dot product of two arrays. Note that `out` and `strict` are |
| 5168 | located in different positions than in `ma.dot`. In order to |
| 5169 | maintain compatibility with the functional version, it is |
| 5170 | recommended that the optional arguments be treated as keyword only. |
| 5171 | At some point that may be mandatory. |
| 5172 | |
| 5173 | Parameters |
| 5174 | ---------- |
| 5175 | b : masked_array_like |
| 5176 | Inputs array. |
| 5177 | out : masked_array, optional |
| 5178 | Output argument. This must have the exact kind that would be |
| 5179 | returned if it was not used. In particular, it must have the |
| 5180 | right type, must be C-contiguous, and its dtype must be the |
| 5181 | dtype that would be returned for `ma.dot(a,b)`. This is a |
| 5182 | performance feature. Therefore, if these conditions are not |
| 5183 | met, an exception is raised, instead of attempting to be |
| 5184 | flexible. |
| 5185 | strict : bool, optional |
| 5186 | Whether masked data are propagated (True) or set to 0 (False) |
| 5187 | for the computation. Default is False. Propagating the mask |
| 5188 | means that if a masked value appears in a row or column, the |
| 5189 | whole row or column is considered masked. |
| 5190 | |
| 5191 | See Also |
| 5192 | -------- |
| 5193 | numpy.ma.dot : equivalent function |
| 5194 | |
| 5195 | """ |
| 5196 | return dot(self, b, out=out, strict=strict) |
| 5197 | |
| 5198 | def sum(self, axis=None, dtype=None, out=None, keepdims=np._NoValue): |
| 5199 | """ |