JuliaLinearAlgebra / ArrayLayouts.jl

A Julia package for describing array layouts and more general fast linear algebra
https://julialinearalgebra.github.io/ArrayLayouts.jl/
MIT License
54 stars 10 forks source link

Negate RangeCumSum #215

Closed jishnub closed 6 months ago

jishnub commented 6 months ago

With this,

julia> r = RangeCumsum(1:3)
3-element RangeCumsum{Int64, UnitRange{Int64}}:
 1
 3
 6

julia> -r
3-element RangeCumsum{Int64, StepRange{Int64, Int64}}:
 -1
 -3
 -6
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.70%. Comparing base (4aa8264) to head (a37087e).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #215 +/- ## ========================================== + Coverage 89.58% 89.70% +0.11% ========================================== Files 11 11 Lines 1844 1846 +2 ========================================== + Hits 1652 1656 +4 + Misses 192 190 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.