diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-10 12:48:04 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-10 12:48:04 +0000 |
commit | c6f48c8a03c438da6e2d400752eff702d1234cfc (patch) | |
tree | fd032d49f4da991a440e64b462ccc60c3c02de55 /numpy/core/defmatrix.py | |
parent | b772c977e5d4d71c78919ef941858ad438ee4986 (diff) | |
download | numpy-c6f48c8a03c438da6e2d400752eff702d1234cfc.tar.gz |
Add output arguments to a few more functions for consistency
Diffstat (limited to 'numpy/core/defmatrix.py')
-rw-r--r-- | numpy/core/defmatrix.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/defmatrix.py b/numpy/core/defmatrix.py index 5b47ce6e3..26ffb7833 100644 --- a/numpy/core/defmatrix.py +++ b/numpy/core/defmatrix.py @@ -262,14 +262,14 @@ class matrix(N.ndarray): def max(self, axis=None, out=None): return N.ndarray.max(self, axis, out)._align(axis) - def argmax(self, axis=None): - return N.ndarray.argmax(self, axis)._align(axis) + def argmax(self, axis=None, out=None): + return N.ndarray.argmax(self, axis, out)._align(axis) def min(self, axis=None, out=None): return N.ndarray.min(self, axis, out)._align(axis) - def argmin(self, axis=None): - return N.ndarray.argmin(self, axis)._align(axis) + def argmin(self, axis=None, out=None): + return N.ndarray.argmin(self, axis, out)._align(axis) def ptp(self, axis=None, out=None): return N.ndarray.ptp(self, axis, out)._align(axis) |