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

Fold linspace into range, add keyword arguments, deprecate logspace #25896

Merged
merged 4 commits into from
Feb 15, 2018

Commits on Feb 14, 2018

  1. Configuration menu
    Copy the full SHA
    640ddac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c0e39d View commit details
    Browse the repository at this point in the history
  3. Rename LinSpace to LinRange

    This name more accurately reflects what's being constructed.
    
    It's likely that the name `LinSpace` was chosen for Julia since it
    matches what's used by Matlab. NumPy uses this name as well, but they
    likely also chose it for Matlab familiarity. In Matlab, the name
    `linspace` is short for "linearly spaced," and it returns a vector of
    linearly spaced elements.
    
    In Julia, we're often more careful with our terminology: in this case,
    the returned object is an `AbstractRange`, not some kind of vector space
    or any other kind of space. Thus calling it `LinRange` is more
    indicative of the functionality.
    ararslan committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    19c8b14 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a2cddff View commit details
    Browse the repository at this point in the history