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)
| 5089 | trace.__doc__ = ndarray.trace.__doc__ |
| 5090 | |
| 5091 | def dot(self, b, out=None, strict=False): |
| 5092 | """ |
| 5093 | a.dot(b, out=None) |
| 5094 | |
| 5095 | Masked dot product of two arrays. Note that `out` and `strict` are |
| 5096 | located in different positions than in `ma.dot`. In order to |
| 5097 | maintain compatibility with the functional version, it is |
| 5098 | recommended that the optional arguments be treated as keyword only. |
| 5099 | At some point that may be mandatory. |
| 5100 | |
| 5101 | .. versionadded:: 1.10.0 |
| 5102 | |
| 5103 | Parameters |
| 5104 | ---------- |
| 5105 | b : masked_array_like |
| 5106 | Inputs array. |
| 5107 | out : masked_array, optional |
| 5108 | Output argument. This must have the exact kind that would be |
| 5109 | returned if it was not used. In particular, it must have the |
| 5110 | right type, must be C-contiguous, and its dtype must be the |
| 5111 | dtype that would be returned for `ma.dot(a,b)`. This is a |
| 5112 | performance feature. Therefore, if these conditions are not |
| 5113 | met, an exception is raised, instead of attempting to be |
| 5114 | flexible. |
| 5115 | strict : bool, optional |
| 5116 | Whether masked data are propagated (True) or set to 0 (False) |
| 5117 | for the computation. Default is False. Propagating the mask |
| 5118 | means that if a masked value appears in a row or column, the |
| 5119 | whole row or column is considered masked. |
| 5120 | |
| 5121 | .. versionadded:: 1.10.2 |
| 5122 | |
| 5123 | See Also |
| 5124 | -------- |
| 5125 | numpy.ma.dot : equivalent function |
| 5126 | |
| 5127 | """ |
| 5128 | return dot(self, b, out=out, strict=strict) |
| 5129 | |
| 5130 | def sum(self, axis=None, dtype=None, out=None, keepdims=np._NoValue): |
| 5131 | """ |