Skip to content

Commit

Permalink
DOC: Record when axis was added to linalg.norm (numpy#10426)
Browse files Browse the repository at this point in the history
Fixes numpy#5727

The axis argument was introduced in numpy#3387
  • Loading branch information
matheusportela authored and hanjohn committed Feb 15, 2018
1 parent f64b0ff commit ef57d01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions numpy/linalg/linalg.py
Expand Up @@ -2121,6 +2121,9 @@ def norm(x, ord=None, axis=None, keepdims=False):
axes that hold 2-D matrices, and the matrix norms of these matrices
are computed. If `axis` is None then either a vector norm (when `x`
is 1-D) or a matrix norm (when `x` is 2-D) is returned.
.. versionadded:: 1.8.0
keepdims : bool, optional
If this is set to True, the axes which are normed over are left in the
result as dimensions with size one. With this option the result will
Expand Down

0 comments on commit ef57d01

Please sign in to comment.