Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: add signature argument to vectorize for vectorizing like generalized ufuncs #8054

Merged
merged 6 commits into from
Oct 18, 2016

Commits on Sep 30, 2016

  1. ENH: add signature argument to vectorize for generalized ufuncs

    Example usage (from the docstring):
    
        Vectorized convolution:
    
        >>> convolve = np.vectorize(np.convolve, signature='(n),(m)->(k)')
        >>> convolve(np.eye(4), [1, 2, 1])
        array([[ 1.,  2.,  1.,  0.,  0.,  0.],
               [ 0.,  1.,  2.,  1.,  0.,  0.],
               [ 0.,  0.,  1.,  2.,  1.,  0.],
               [ 0.,  0.,  0.,  1.,  2.,  1.]])
    shoyer committed Sep 30, 2016
    Configuration menu
    Copy the full SHA
    77e7ff8 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2016

  1. Use str.format rather than %

    shoyer committed Oct 3, 2016
    Configuration menu
    Copy the full SHA
    1678a72 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2016

  1. Fix spelling typo

    shoyer committed Oct 11, 2016
    Configuration menu
    Copy the full SHA
    7d14629 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0498f28 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2016

  1. Configuration menu
    Copy the full SHA
    6d2a998 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2016

  1. Configuration menu
    Copy the full SHA
    138cbd3 View commit details
    Browse the repository at this point in the history