René's URL Explorer Experiment


Title: Add generic container reductions by alexfikl · Pull Request #62 · inducer/arraycontext · GitHub

Open Graph Title: Add generic container reductions by alexfikl · Pull Request #62 · inducer/arraycontext

X Title: Add generic container reductions by alexfikl · Pull Request #62 · inducer/arraycontext

Description: Choose your favorite numpy-workalike! Contribute to inducer/arraycontext development by creating an account on GitHub.

Open Graph Description: This adds some helpers to do reductions over array containers. adds a generic rec_reduce_array_container(reduce_func, array_func, ary) function. uses that in actx.np.[sum, min, max]. Fixes #61.

X Description: This adds some helpers to do reductions over array containers. adds a generic rec_reduce_array_container(reduce_func, array_func, ary) function. uses that in actx.np.[sum, min, max]. Fixes #61.

Opengraph URL: https://github.com/inducer/arraycontext/pull/62

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f1db3943-6757-9a2e-c7d0-3bb0dbce979d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD004:358B3C:3AE974A:544C10F:6A4FDFE9
html-safe-noncebbcb081c3d75283c1317909cb53004fad7a4a99f4bcef45bd48056bcc79e33db
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDA0OjM1OEIzQzozQUU5NzRBOjU0NEMxMEY6NkE0RkRGRTkiLCJ2aXNpdG9yX2lkIjoiODM4NDExOTA2MDg3OTYzMDMxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac16926edf2c2b7b59dffb0ffe04be3dafdcfd2e8d9073eadbf58f8898c2817943
hovercard-subject-tagpull_request:690815251
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/inducer/arraycontext/62/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/96b101bf0a652dba320e42c10979afe6554f949ce961d42f53c4dd3fe2228333/inducer/arraycontext/pull/62
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/96b101bf0a652dba320e42c10979afe6554f949ce961d42f53c4dd3fe2228333/inducer/arraycontext/pull/62
og:image:altThis adds some helpers to do reductions over array containers. adds a generic rec_reduce_array_container(reduce_func, array_func, ary) function. uses that in actx.np.[sum, min, max]. Fixes #61.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexfikl
hostnamegithub.com
expected-hostnamegithub.com
None19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c
turbo-cache-controlno-cache
go-importgithub.com/inducer/arraycontext git https://github.com/inducer/arraycontext.git
octolytics-dimension-user_id352067
octolytics-dimension-user_logininducer
octolytics-dimension-repository_id364716587
octolytics-dimension-repository_nwoinducer/arraycontext
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id364716587
octolytics-dimension-repository_network_root_nwoinducer/arraycontext
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release142593e66413bbae27fd485859993597d5a3b104
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/inducer/arraycontext/pull/62#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Finducer%2Farraycontext%2Fpull%2F62
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Finducer%2Farraycontext%2Fpull%2F62
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=inducer%2Farraycontext
Reloadhttps://github.com/inducer/arraycontext/pull/62
Reloadhttps://github.com/inducer/arraycontext/pull/62
Reloadhttps://github.com/inducer/arraycontext/pull/62
inducer https://github.com/inducer
arraycontexthttps://github.com/inducer/arraycontext
Notifications https://github.com/login?return_to=%2Finducer%2Farraycontext
Fork 11 https://github.com/login?return_to=%2Finducer%2Farraycontext
Star 9 https://github.com/login?return_to=%2Finducer%2Farraycontext
Code https://github.com/inducer/arraycontext
Issues 23 https://github.com/inducer/arraycontext/issues
Pull requests 20 https://github.com/inducer/arraycontext/pulls
Actions https://github.com/inducer/arraycontext/actions
Projects https://github.com/inducer/arraycontext/projects
Security and quality 0 https://github.com/inducer/arraycontext/security
Insights https://github.com/inducer/arraycontext/pulse
Code https://github.com/inducer/arraycontext
Issues https://github.com/inducer/arraycontext/issues
Pull requests https://github.com/inducer/arraycontext/pulls
Actions https://github.com/inducer/arraycontext/actions
Projects https://github.com/inducer/arraycontext/projects
Security and quality https://github.com/inducer/arraycontext/security
Insights https://github.com/inducer/arraycontext/pulse
inducerhttps://github.com/inducer
inducer:mainhttps://github.com/inducer/arraycontext/tree/main
alexfikl:reduce-array-containerhttps://github.com/alexfikl/arraycontext/tree/reduce-array-container
Conversationhttps://github.com/inducer/arraycontext/pull/62
Commits6 (6)https://github.com/inducer/arraycontext/pull/62/commits
Checkshttps://github.com/inducer/arraycontext/pull/62/checks
Files changedhttps://github.com/inducer/arraycontext/pull/62/files
Add generic container reductionshttps://github.com/inducer/arraycontext/pull/62#top
inducerhttps://github.com/inducer
inducer:mainhttps://github.com/inducer/arraycontext/tree/main
alexfikl:reduce-array-containerhttps://github.com/alexfikl/arraycontext/tree/reduce-array-container
https://github.com/alexfikl
alexfiklhttps://github.com/alexfikl
Jul 15, 2021https://github.com/inducer/arraycontext/pull/62#issue-945492356
#61https://github.com/inducer/arraycontext/issues/61
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
https://github.com/alexfikl
add recursive container reductionshttps://github.com/inducer/arraycontext/pull/62/commits/69a94120bd89e5e6ccc6a0304f5dab25e98a791b
69a9412https://github.com/inducer/arraycontext/pull/62/commits/69a94120bd89e5e6ccc6a0304f5dab25e98a791b
https://github.com/alexfikl
alexfiklhttps://github.com/alexfikl
force-pushedhttps://github.com/inducer/arraycontext/compare/4cb52b5c20eec2e6a2be9c4ed3a248e7d68332ff..d5e67e79610445e50df1495711344615328e9ff9
4cb52b5https://github.com/inducer/arraycontext/commit/4cb52b5c20eec2e6a2be9c4ed3a248e7d68332ff
d5e67e7https://github.com/inducer/arraycontext/commit/d5e67e79610445e50df1495711344615328e9ff9
Compare https://github.com/inducer/arraycontext/compare/4cb52b5c20eec2e6a2be9c4ed3a248e7d68332ff..d5e67e79610445e50df1495711344615328e9ff9
July 15, 2021 15:26https://github.com/inducer/arraycontext/pull/62#event-5026156349
https://github.com/alexfikl
extend reductions to array containershttps://github.com/inducer/arraycontext/pull/62/commits/36b2a65532bad554200702468bdfb0c23764032b
36b2a65https://github.com/inducer/arraycontext/pull/62/commits/36b2a65532bad554200702468bdfb0c23764032b
https://github.com/alexfikl
alexfiklhttps://github.com/alexfikl
force-pushedhttps://github.com/inducer/arraycontext/compare/d5e67e79610445e50df1495711344615328e9ff9..36b2a65532bad554200702468bdfb0c23764032b
d5e67e7https://github.com/inducer/arraycontext/commit/d5e67e79610445e50df1495711344615328e9ff9
36b2a65https://github.com/inducer/arraycontext/commit/36b2a65532bad554200702468bdfb0c23764032b
Compare https://github.com/inducer/arraycontext/compare/d5e67e79610445e50df1495711344615328e9ff9..36b2a65532bad554200702468bdfb0c23764032b
July 15, 2021 15:33https://github.com/inducer/arraycontext/pull/62#event-5026193789
https://github.com/kaushikcfd
kaushikcfdhttps://github.com/kaushikcfd
Jul 16, 2021 https://github.com/inducer/arraycontext/pull/62#pullrequestreview-707990239
View reviewed changes https://github.com/inducer/arraycontext/pull/62/files/69a94120bd89e5e6ccc6a0304f5dab25e98a791b
kaushikcfdhttps://github.com/kaushikcfd
https://github.com/inducer/arraycontext/pull/62#pullrequestreview-707990239
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
arraycontext/container/traversal.pyhttps://github.com/inducer/arraycontext/pull/62/files/69a94120bd89e5e6ccc6a0304f5dab25e98a791b#diff-2655497e45c48929d07a607462f3bae5186cc80fee9fc44cd4ab91746e506827
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
arraycontext/container/traversal.pyhttps://github.com/inducer/arraycontext/pull/62/files/69a94120bd89e5e6ccc6a0304f5dab25e98a791b#diff-2655497e45c48929d07a607462f3bae5186cc80fee9fc44cd4ab91746e506827
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
https://github.com/inducer
inducerhttps://github.com/inducer
Jul 16, 2021 https://github.com/inducer/arraycontext/pull/62#pullrequestreview-708628083
View reviewed changes https://github.com/inducer/arraycontext/pull/62/files/36b2a65532bad554200702468bdfb0c23764032b
inducerhttps://github.com/inducer
https://github.com/inducer/arraycontext/pull/62#pullrequestreview-708628083
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
arraycontext/container/traversal.pyhttps://github.com/inducer/arraycontext/pull/62/files/36b2a65532bad554200702468bdfb0c23764032b#diff-2655497e45c48929d07a607462f3bae5186cc80fee9fc44cd4ab91746e506827
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
arraycontext/container/traversal.pyhttps://github.com/inducer/arraycontext/pull/62/files/69a94120bd89e5e6ccc6a0304f5dab25e98a791b#diff-2655497e45c48929d07a607462f3bae5186cc80fee9fc44cd4ab91746e506827
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
arraycontext/container/traversal.pyhttps://github.com/inducer/arraycontext/pull/62/files/36b2a65532bad554200702468bdfb0c23764032b#diff-2655497e45c48929d07a607462f3bae5186cc80fee9fc44cd4ab91746e506827
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
arraycontext/container/traversal.pyhttps://github.com/inducer/arraycontext/pull/62/files/36b2a65532bad554200702468bdfb0c23764032b#diff-2655497e45c48929d07a607462f3bae5186cc80fee9fc44cd4ab91746e506827
inducerhttps://github.com/inducer
Jul 16, 2021https://github.com/inducer/arraycontext/pull/62#discussion_r671436724
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
alexfiklhttps://github.com/alexfikl
Jul 16, 2021https://github.com/inducer/arraycontext/pull/62#discussion_r671450692
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@inducerhttps://github.com/inducer
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
inducerhttps://github.com/inducer
Jul 16, 2021https://github.com/inducer/arraycontext/pull/62#discussion_r671458474
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
alexfiklhttps://github.com/alexfikl
Jul 16, 2021https://github.com/inducer/arraycontext/pull/62#discussion_r671486558
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
94e7c6fhttps://github.com/inducer/arraycontext/commit/94e7c6ffd61c40a8b33a026f6d2d197645cf7cc9
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
https://github.com/inducer
inducerhttps://github.com/inducer
Jul 16, 2021https://github.com/inducer/arraycontext/pull/62#issuecomment-881624755
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
alexfiklhttps://github.com/alexfikl
July 16, 2021 14:26https://github.com/inducer/arraycontext/pull/62#commits-pushed-94e7c6f
https://github.com/alexfikl
make rec_reduce_array_container more specifichttps://github.com/inducer/arraycontext/pull/62/commits/94e7c6ffd61c40a8b33a026f6d2d197645cf7cc9
94e7c6fhttps://github.com/inducer/arraycontext/pull/62/commits/94e7c6ffd61c40a8b33a026f6d2d197645cf7cc9
https://github.com/alexfikl
rename make_container to process_containerhttps://github.com/inducer/arraycontext/pull/62/commits/398939983f0859efc018383aebe0a0f5872efab3
3989399https://github.com/inducer/arraycontext/pull/62/commits/398939983f0859efc018383aebe0a0f5872efab3
https://github.com/alexfikl
rename rec_reduce_container to rec_map_reduce_containerhttps://github.com/inducer/arraycontext/pull/62/commits/93f6594dd9fcc5cd1e1fc1c119aa0b32b4e5380c
93f6594https://github.com/inducer/arraycontext/pull/62/commits/93f6594dd9fcc5cd1e1fc1c119aa0b32b4e5380c
https://github.com/alexfikl
alexfiklhttps://github.com/alexfikl
inducerhttps://github.com/inducer
July 16, 2021 20:21https://github.com/inducer/arraycontext/pull/62#event-5032713070
https://github.com/inducer
inducerhttps://github.com/inducer
Jul 16, 2021 https://github.com/inducer/arraycontext/pull/62#pullrequestreview-708775625
View reviewed changes https://github.com/inducer/arraycontext/pull/62/files/93f6594dd9fcc5cd1e1fc1c119aa0b32b4e5380c
inducerhttps://github.com/inducer
https://github.com/inducer/arraycontext/pull/62#pullrequestreview-708775625
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@kaushikcfdhttps://github.com/kaushikcfd
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
arraycontext/container/traversal.pyhttps://github.com/inducer/arraycontext/pull/62/files/93f6594dd9fcc5cd1e1fc1c119aa0b32b4e5380c#diff-2655497e45c48929d07a607462f3bae5186cc80fee9fc44cd4ab91746e506827
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
https://github.com/kaushikcfd
kaushikcfdhttps://github.com/kaushikcfd
Jul 16, 2021 https://github.com/inducer/arraycontext/pull/62#pullrequestreview-708779647
View reviewed changes https://github.com/inducer/arraycontext/pull/62/files/93f6594dd9fcc5cd1e1fc1c119aa0b32b4e5380c
kaushikcfdhttps://github.com/kaushikcfd
https://github.com/inducer/arraycontext/pull/62#pullrequestreview-708779647
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
https://github.com/alexfikl
https://github.com/inducer
fix typo in commenthttps://github.com/inducer/arraycontext/pull/62/commits/9fc01a098853155170c162f69e979feac22b59e4
9fc01a0https://github.com/inducer/arraycontext/pull/62/commits/9fc01a098853155170c162f69e979feac22b59e4
https://github.com/inducer
inducerhttps://github.com/inducer
July 16, 2021 22:28https://github.com/inducer/arraycontext/pull/62#event-5033061305
https://github.com/inducer
inducerhttps://github.com/inducer
Jul 16, 2021https://github.com/inducer/arraycontext/pull/62#issuecomment-881751339
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
https://github.com/alexfikl
alexfiklhttps://github.com/alexfikl
Jul 16, 2021https://github.com/inducer/arraycontext/pull/62#issuecomment-881751393
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
https://github.com/inducer
inducerhttps://github.com/inducer
1261641https://github.com/inducer/arraycontext/commit/12616418b6efd045a6fb66581f2a86e5275124d8
Jul 16, 2021https://github.com/inducer/arraycontext/pull/62#event-5033123462
https://github.com/alexfikl
alexfiklhttps://github.com/alexfikl
July 16, 2021 23:15https://github.com/inducer/arraycontext/pull/62#event-5033154117
https://github.co/hiddenchars
https://github.com/inducer/arraycontext/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Finducer%2Farraycontext%2Fpull%2F62
https://github.com/inducer
inducer https://github.com/inducer
https://github.com/inducer/arraycontext/pull/62/files/93f6594dd9fcc5cd1e1fc1c119aa0b32b4e5380c
https://github.com/kaushikcfd
kaushikcfd https://github.com/kaushikcfd
https://github.com/inducer/arraycontext/pull/62/files/93f6594dd9fcc5cd1e1fc1c119aa0b32b4e5380c
Make a utility for reduction over array container structures https://github.com/inducer/arraycontext/issues/61
Please reload this pagehttps://github.com/inducer/arraycontext/pull/62
https://github.com/alexfikl
https://github.com/inducer
https://github.com/kaushikcfd
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.