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

Add a lazy logrange function and LogRange type #39071

Merged
merged 25 commits into from
Feb 16, 2024

Commits on Feb 12, 2024

  1. add logrange

    [skip ci]
    Michael Abbott authored and mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    7056ae2 View commit details
    Browse the repository at this point in the history
  2. second implementation, now squashed:

    move to iterators.jl, upgrade implementation
    
    mistakes?
    
    imports
    
    a few fixes
    
    add docstring to type, and export it, like LinRange
    
    move back to to ranges.jl
    
    delete some type special cases
    
    docs
    
    change notation to avoid Pair, add ratio keyword
    Michael Abbott authored and mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    bb5446a View commit details
    Browse the repository at this point in the history
  3. change to AbstractVector implementation, squashed:

    docstring, first, showarg
    
    spaces + examples
    
    fix tests
    
    better examples
    
    fix a bad rebase
    
    space
    
    supertype
    
    replace with version which hits endpoints
    
    avoid macro
    
    avoid another macro
    
    rm line
    
    don't test out of bounds access
    
    move negative handling
    
    restore boundscheck macro
    
    compact printing
    
    simplify, handle 0, allow empty
    
    print like LinRange
    
    whitespace
    
    doctest
    
    move show
    
    skip a test on Int32 systems
    
    move work to loginterp function
    
    eltype
    
    one more Int32 problem
    
    comment v1.9
    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    657c378 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b04c452 View commit details
    Browse the repository at this point in the history
  5. Apply 3 suggestions

    Co-authored-by: Lilith Orion Hafner <[email protected]>
    mcabbott and LilithHafner committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    220e438 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca9aec7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b0091cd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3d75211 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d96bffc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    29c2050 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c4edccd View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4a735e1 View commit details
    Browse the repository at this point in the history
  13. rm some doc lines

    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    530a5c6 View commit details
    Browse the repository at this point in the history
  14. fix doc/repr tests

    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    bb23185 View commit details
    Browse the repository at this point in the history
  15. don't export LogRange type

    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    07ae304 View commit details
    Browse the repository at this point in the history
  16. documentation, esp complex

    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    d5f71e9 View commit details
    Browse the repository at this point in the history
  17. more doc tweaks

    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    54b3a8f View commit details
    Browse the repository at this point in the history
  18. fix tests

    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    57fd52a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    2f7f0e9 View commit details
    Browse the repository at this point in the history
  20. disallow negative numbers

    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    dc26b09 View commit details
    Browse the repository at this point in the history
  21. disallow complex numbers

    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    2a156f1 View commit details
    Browse the repository at this point in the history
  22. tidy error handling

    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    ea12bdc View commit details
    Browse the repository at this point in the history
  23. add to NEWS.md

    mcabbott committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    9abaf5a View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. throw errors for 0, Inf, NaN

    mcabbott committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    4540270 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

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