Skip to content

Add cumulative_sum/prod#569

Open
lshaw8317 wants to merge 9 commits intomainfrom
add_cumsum
Open

Add cumulative_sum/prod#569
lshaw8317 wants to merge 9 commits intomainfrom
add_cumsum

Conversation

@lshaw8317
Copy link
Collaborator

@lshaw8317 lshaw8317 commented Feb 3, 2026

Add cumulative_sum/prod for array api compliance #466.

Could be optimised so that res_out only is size of 1D slice of chunk, but have to change intersecting_chunks to increment along summing axis (and not last axis which is ndindex default). Could also implement kahan summation maybe although doesn't seem to help precision.

Also need to add shape-parsing.

@lshaw8317 lshaw8317 changed the title Initial attempt (need to add tests) Initial attempt Feb 5, 2026
@lshaw8317 lshaw8317 changed the title Initial attempt Add cumulative_sum/prod Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant