Skip to content

Add cumulative_sum/prod - #569

Closed
lshaw8317 wants to merge 9 commits into
mainfrom
add_cumsum
Closed

lshaw8317 wants to merge 9 commits into
mainfrom
add_cumsum

Conversation

@lshaw8317

@lshaw8317 lshaw8317 commented Feb 3, 2026 •

Copy link
Copy Markdown
Collaborator

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
@lshaw8317 lshaw8317 closed this Feb 10, 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