Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 26, 2015
  1. @charris

    Merge pull request #5914 from sirtom67/master

    charris authored
    New typemap for in-place arrays of arbitrary number of dimensions:
  2. @charris

    Merge pull request #5916 from jorisvandenbossche/doc-nanfunctions

    charris authored
    DOC: add nanmedian/nanpercentile to reference docs
  3. @jorisvandenbossche
Commits on May 25, 2015
  1. New typemap for in-place arrays of arbitrary number of dimensions:

    Tom Krauss authored
      (DATA_TYPE* INPLACE_ARRAY_FLAT, DIM_TYPE DIM_FLAT)
    Added unittests, updated documentation.
  2. @jaimefrio

    Merge pull request #5913 from charris/minor-gitwash-correction

    jaimefrio authored
    DOC: Commit message lines should not excede 72 characters.
  3. @charris

    DOC: Commit message lines should not excede 72 characters.

    charris authored
    The reason is that git log indents parts of the message and longer
    lines will wrap. Linus has a post on this somewhere.
  4. @njsmith

    Merge pull request #5892 from andreabedini/master

    njsmith authored
    Simplify numpy/distutils/__init__.py
Commits on May 22, 2015
  1. @jaimefrio

    Merge pull request #5909 from argriffing/linalg-astype-no-copy

    jaimefrio authored
    MAINT: use copy=False in a few astype() calls
  2. @alexbrc
  3. @alexbrc
  4. @alexbrc
Commits on May 21, 2015
  1. @jaimefrio

    Merge pull request #5899 from argriffing/improve-umath-linalg

    jaimefrio authored
    MAINT: use more conservative integer types for umath linalg
  2. @alexbrc
  3. @alexbrc
Commits on May 19, 2015
  1. @njsmith

    Merge pull request #5893 from stefanv/hann

    njsmith authored
    DOC: Fix spelling of Von Hann's surname
  2. @stefanv
Commits on May 17, 2015
  1. @charris

    Merge pull request #5886 from jaimefrio/cross_axis

    charris authored
    BUG: Handling of axisc in np.cross
  2. @charris

    Merge pull request #5884 from jaimefrio/ma_compress_cleanup

    charris authored
    MANT: handling of axis in np.ma.compress_nd
  3. @jaimefrio

    MANT: handling of axis in np.ma.compress_nd

    jaimefrio authored
    Modified the handling that np.ma.compress_nd does of its 'axis'
    argument, to more closely follow that of ufunc methods, including
    error messages for wrong values.
  4. @jaimefrio

    BUG: Handling of axisc in np.cross

    jaimefrio authored
    Fixes #5885 by ignoring `axisc` when both input vectors are 2D.
    Also adds explicit checks for `axis?` parameters in bounds, to
    provide more informative errors.
    Also slightly simplified the calculation logic and documented the
    assumptions in each branch with `assert`s.
Commits on May 16, 2015
  1. @andreabedini

    Simplify numpy/distutils/__init__.py

    andreabedini authored
    Thanks to the presence of
    
        from __future__ import absolute_import
    
    we don't need different code paths for Python 2/3.
Commits on May 15, 2015
  1. @jaimefrio

    Merge pull request #5879 from shoyer/broadcast-shape-32

    jaimefrio authored
    BUG: fix _broadcast_shape (and broadcast_array) for len(args) > 32
  2. @shoyer
Commits on May 14, 2015
  1. @jaimefrio

    Merge pull request #5873 from charris/style-fix-for-cov

    jaimefrio authored
    MAINT: Simplify code in cov function a bit.
  2. @charris
Commits on May 13, 2015
  1. @charris

    Merge pull request #4960 from tpoole/weighted_cov

    charris authored
    ENH: add a weighted covariance calculation.
  2. @tpoole

    ENH: add 'fweights' and 'aweights' arguments to covariance calculations.

    tpoole authored
    'fweights' allows integer frequencies to be specified for observation vectors,
    and 'aweights' provides a more general importance or probabalistic weighting.
Commits on May 12, 2015
  1. @jaimefrio

    Merge pull request #5870 from r-barnes/master

    jaimefrio authored
    DOC: Fixed spelling mistake
  2. @r-barnes

    Fixed spelling mistake

    r-barnes authored
  3. @charris

    Merge pull request #5605 from shoyer/stack

    charris authored
    ENH: add np.stack
  4. @shoyer

    ENH: add np.stack

    shoyer authored
    The motivation here is to present a uniform and N-dimensional interface for
    joining arrays along a new axis, similarly to how `concatenate` provides a
    uniform and N-dimensional interface for joining arrays along an existing axis.
    
    Background
    ~~~~~~~~~~
    
    Currently, users can choose between `hstack`, `vstack`, `column_stack` and
    `dstack`, but none of these functions handle N-dimensional input. In my
    opinion, it's also difficult to keep track of the differences between these
    methods and to predict how they will handle input with different
    dimensions.
    
    In the past, my preferred approach has been to either construct the result
    array explicitly and use indexing for assignment, to or use `np.array` to
    stack along the first dimension and then use `transpose` (or a similar method)
    to reorder dimensions if necessary. This is pretty awkward.
    
    I brought this proposal up a few weeks on the numpy-discussion list:
    http://mail.scipy.org/pipermail/numpy-discussion/2015-February/072199.html
    
    I also received positive feedback on Twitter:
    https://twitter.com/shoyer/status/565937244599377920
    
    Implementation notes
    ~~~~~~~~~~~~~~~~~~~~
    
    The one line summaries for `concatenate` and `stack` have been (re)written to
    mirror each other, and to make clear that the distinction between these functions
    is whether they join over an existing or new axis.
    
    In general, I've tweaked the documentation and docstrings with an eye toward
    pointing users to `concatenate`/`stack`/`split` as a fundamental set of basic
    array manipulation routines, and away from
    `array_split`/`{h,v,d}split`/`{h,v,d,column_}stack`
    
    I put this implementation in `numpy.core.shape_base` alongside `hstack`/`vstack`,
    but it appears that there is also a `numpy.lib.shape_base` module that contains
    another larger set of functions, including `dstack`. I'm not really sure where
    this belongs (or if it even matters).
    
    Finally, it might be a good idea to write a masked array version of `stack`.
    But I don't use masked arrays, so I'm not well motivated to do that.
  5. @charris

    Merge pull request #5869 from wackywendell/notimpl

    charris authored
    MAINT: Added more detailed messages to NotImplementedError messages.
Commits on May 11, 2015
  1. @wackywendell
Commits on May 10, 2015
  1. @charris

    Merge pull request #5858 from jaimefrio/random_beta

    charris authored
    BUG: random.beta with small parameters
  2. @jaimefrio

    Merge pull request #5860 from sotte/neutral_element

    jaimefrio authored
    DOC: sum/prod & empty array returns neutral elment
Something went wrong with that request. Please try again.