Skip to content

Exclusive range for linspace()? #1169

Closed

Description

@BartMassey

It would be great to have a convenient equivalent to numpy.linspace(start, end, endpoint=False). This comes up all the time for me, and I don't see a current clean way to write it.

Activity

  1. nbro commented on Dec 26, 2022

    @nbro
    Contributor

    I don't know how this is implemented both in numpy or ndarray, but this shouldn't be too difficult to implement and I think it's a useful feature.

  2. added a commit that references this issue on Feb 6, 2026
    fd67f70
  3. BartMassey commented on Feb 6, 2026

    @BartMassey
    Author

    Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions