[Numpy-svn] [numpy/numpy] 40000f: ENH: linalg: Add the `axis` keyword to linalg.norm...

GitHub noreply at github.com
Wed Jun 5 11:36:42 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 40000f508ab5f736b5a62c97a1e4bb72d55bf19c
      https://github.com/numpy/numpy/commit/40000f508ab5f736b5a62c97a1e4bb72d55bf19c
  Author: Warren Weckesser <warren.weckesser at gmail.com>
  Date:   2013-06-01 (Sat, 01 Jun 2013)

  Changed paths:
    M numpy/linalg/linalg.py
    M numpy/linalg/tests/test_linalg.py

  Log Message:
  -----------
  ENH: linalg: Add the `axis` keyword to linalg.norm.

Also fixed a bug that occurred with integer arrays and negative ord.  For example,
norm([1, 3], -1) returned 1.0, but the correct value is 0.75.


  Commit: 3bdb6099e6090f433a85d363b8ee7b1de0233571
      https://github.com/numpy/numpy/commit/3bdb6099e6090f433a85d363b8ee7b1de0233571
  Author: Warren Weckesser <warren.weckesser at gmail.com>
  Date:   2013-06-01 (Sat, 01 Jun 2013)

  Changed paths:
    M numpy/linalg/linalg.py

  Log Message:
  -----------
  MAINT: linalg: removed unused imports from linalg.py


  Commit: 6eb57a767713a7a2b74e1cd3365c34638ec55eac
      https://github.com/numpy/numpy/commit/6eb57a767713a7a2b74e1cd3365c34638ec55eac
  Author: Warren Weckesser <warren.weckesser at gmail.com>
  Date:   2013-06-02 (Sun, 02 Jun 2013)

  Changed paths:
    M numpy/linalg/linalg.py

  Log Message:
  -----------
  DOC: linalg: Improve the docstring of the new norm function.


  Commit: a2926149891027fff151d50933405a696384d47c
      https://github.com/numpy/numpy/commit/a2926149891027fff151d50933405a696384d47c
  Author: Warren Weckesser <warren.weckesser at gmail.com>
  Date:   2013-06-04 (Tue, 04 Jun 2013)

  Changed paths:
    M numpy/linalg/linalg.py
    M numpy/linalg/tests/test_linalg.py

  Log Message:
  -----------
  ENH: linalg: allow the 'axis' argument of linalg.norm to be a 2-tuple, in which case matrix norms of the collection of 2-D matrices are computed.


  Commit: 8a170dce60108b252005cc51e1c1f6568feb3dc9
      https://github.com/numpy/numpy/commit/8a170dce60108b252005cc51e1c1f6568feb3dc9
  Author: Warren Weckesser <warren.weckesser at gmail.com>
  Date:   2013-06-04 (Tue, 04 Jun 2013)

  Changed paths:
    M numpy/linalg/linalg.py
    M numpy/linalg/tests/test_linalg.py

  Log Message:
  -----------
  STY: linalg: some PEP8 clean up.


  Commit: 1d9607ac4a1fc7270ee0686b7e3f20b2ce709bf2
      https://github.com/numpy/numpy/commit/1d9607ac4a1fc7270ee0686b7e3f20b2ce709bf2
  Author: Warren Weckesser <warren.weckesser at gmail.com>
  Date:   2013-06-05 (Wed, 05 Jun 2013)

  Changed paths:
    M numpy/linalg/linalg.py

  Log Message:
  -----------
  MAINT: linalg: simplify the computation of the svd-based matrix norms, and tweak the norm function's docstring.


  Commit: d307ff623dc58cd7afd02e99805e409edd5ba179
      https://github.com/numpy/numpy/commit/d307ff623dc58cd7afd02e99805e409edd5ba179
  Author: njsmith <njs at pobox.com>
  Date:   2013-06-05 (Wed, 05 Jun 2013)

  Changed paths:
    M numpy/linalg/linalg.py
    M numpy/linalg/tests/test_linalg.py

  Log Message:
  -----------
  Merge pull request #3387 from WarrenWeckesser/norm-axis

ENH: linalg: Add an `axis` argument to linalg.norm


Compare: https://github.com/numpy/numpy/compare/7e92df5c483c...d307ff623dc5


More information about the Numpy-svn mailing list