René's URL Explorer Experiment


Title: Generalize ref-to-ref ops by akern40 · Pull Request #1468 · rust-ndarray/ndarray · GitHub

Open Graph Title: Generalize ref-to-ref ops by akern40 · Pull Request #1468 · rust-ndarray/ndarray

X Title: Generalize ref-to-ref ops by akern40 · Pull Request #1468 · rust-ndarray/ndarray

Description: ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations - Generalize ref-to-ref ops by akern40 · Pull Request #1468 · rust-ndarray/ndarray

Open Graph Description: The current reference-to-reference operations defined in impl_ops.rs only allow for outputs where the output type is the same as the left-hand operand. This makes sense for reference-to-owned, wher...

X Description: The current reference-to-reference operations defined in impl_ops.rs only allow for outputs where the output type is the same as the left-hand operand. This makes sense for reference-to-owned, wher...

Opengraph URL: https://github.com/rust-ndarray/ndarray/pull/1468

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:feb56990-c3ef-8935-ad92-2605a9b1d529
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id98B2:3DC80C:3B6E1B:51ABB4:6AFCA10A
html-safe-noncee35212126a2074214f92055860dc1bf8fb99013f8e3121e888a303018d61594c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEIyOjNEQzgwQzozQjZFMUI6NTFBQkI0OjZBRkNBMTBBIiwidmlzaXRvcl9pZCI6IjYwNjEzNTk0MjUzMzM3OTcxMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaced0ed8c49f1c429d73b3550f35958c4bfcee3faac5fa61befe91c6a89c46a437
hovercard-subject-tagpull_request:2248603517
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/rust-ndarray/ndarray/1468/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d8d33229da3fbc79304585d809301f48c0c9ddb2bbb5a507b7073f439c560274/rust-ndarray/ndarray/pull/1468
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d8d33229da3fbc79304585d809301f48c0c9ddb2bbb5a507b7073f439c560274/rust-ndarray/ndarray/pull/1468
og:image:altThe current reference-to-reference operations defined in impl_ops.rs only allow for outputs where the output type is the same as the left-hand operand. This makes sense for reference-to-owned, wher...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameakern40
hostnamegithub.com
expected-hostnamegithub.com
Nonee3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d
turbo-cache-controlno-cache
go-importgithub.com/rust-ndarray/ndarray git https://github.com/rust-ndarray/ndarray.git
octolytics-dimension-user_id44419403
octolytics-dimension-user_loginrust-ndarray
octolytics-dimension-repository_id22598813
octolytics-dimension-repository_nworust-ndarray/ndarray
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id22598813
octolytics-dimension-repository_network_root_nworust-ndarray/ndarray
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
release5410e4bebd3e45b138c853ecef3992279d86d5af
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/rust-ndarray/ndarray/pull/1468#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frust-ndarray%2Fndarray%2Fpull%2F1468
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frust-ndarray%2Fndarray%2Fpull%2F1468
Sign uphttps://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=rust-ndarray%2Fndarray
Reloadhttps://github.com/rust-ndarray/ndarray/pull/1468
Reloadhttps://github.com/rust-ndarray/ndarray/pull/1468
Reloadhttps://github.com/rust-ndarray/ndarray/pull/1468
rust-ndarrayhttps://github.com/rust-ndarray
ndarrayhttps://github.com/rust-ndarray/ndarray
Codehttps://github.com/rust-ndarray/ndarray
Issues175 (175)https://github.com/rust-ndarray/ndarray/issues
Pull requests41 (41)https://github.com/rust-ndarray/ndarray/pulls
Discussionshttps://github.com/rust-ndarray/ndarray/discussions
Actionshttps://github.com/rust-ndarray/ndarray/actions
Projectshttps://github.com/rust-ndarray/ndarray/projects
Wikihttps://github.com/rust-ndarray/ndarray/wiki
Security and qualityhttps://github.com/rust-ndarray/ndarray/security
Insightshttps://github.com/rust-ndarray/ndarray/insights
https://github.com/rust-ndarray/ndarray
akern40https://github.com/akern40
rust-ndarray:masterhttps://github.com/rust-ndarray/ndarray/tree/master
akern40:expand-opshttps://github.com/akern40/ndarray/tree/expand-ops
Conversationhttps://github.com/rust-ndarray/ndarray/pull/1468
Commits33 (33)https://github.com/rust-ndarray/ndarray/pull/1468/commits
Checkshttps://github.com/rust-ndarray/ndarray/pull/1468/checks
Files changedhttps://github.com/rust-ndarray/ndarray/pull/1468/files
Generalize ref-to-ref opshttps://github.com/rust-ndarray/ndarray/pull/1468#top
akern40https://github.com/akern40
rust-ndarray:masterhttps://github.com/rust-ndarray/ndarray/tree/master
akern40:expand-opshttps://github.com/akern40/ndarray/tree/expand-ops
https://github.com/akern40
akern40https://github.com/akern40
Dec 23, 2024https://github.com/rust-ndarray/ndarray/pull/1468#issue-2754983544
#1440https://github.com/rust-ndarray/ndarray/pull/1440
Please reload this pagehttps://github.com/rust-ndarray/ndarray/pull/1468
akern40https://github.com/akern40
October 14, 2024 18:28https://github.com/rust-ndarray/ndarray/pull/1468#commits-pushed-99722fa
https://github.com/akern40
Adds an array reference type.https://github.com/rust-ndarray/ndarray/pull/1468/commits/99722fa3e82564a183d8bad5e6b0683750a60e7a
99722fahttps://github.com/rust-ndarray/ndarray/pull/1468/commits/99722fa3e82564a183d8bad5e6b0683750a60e7a
https://github.com/akern40
Adds some documentationhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/44079ccb82c3f5e7234f8164c7c1767ac3e966c0
44079cchttps://github.com/rust-ndarray/ndarray/pull/1468/commits/44079ccb82c3f5e7234f8164c7c1767ac3e966c0
https://github.com/akern40
Fixes some CI/CD issueshttps://github.com/rust-ndarray/ndarray/pull/1468/commits/3d32c0802ec877240ef41b08446d284350a5dad4
3d32c08https://github.com/rust-ndarray/ndarray/pull/1468/commits/3d32c0802ec877240ef41b08446d284350a5dad4
https://github.com/akern40
More CI/CD fixeshttps://github.com/rust-ndarray/ndarray/pull/1468/commits/8bf86df006399d873d74c7bbcb51f6795f5163ec
8bf86dfhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/8bf86df006399d873d74c7bbcb51f6795f5163ec
https://github.com/akern40
Last CI/CD fix?https://github.com/rust-ndarray/ndarray/pull/1468/commits/dda4b662b19ddaa3cfbfe6cd9a04e788e1bcf609
dda4b66https://github.com/rust-ndarray/ndarray/pull/1468/commits/dda4b662b19ddaa3cfbfe6cd9a04e788e1bcf609
https://github.com/akern40
Switches to the "same-repr" approach to allow array views to still be…https://github.com/rust-ndarray/ndarray/pull/1468/commits/3c75150a8ff971293555614c0a9e677411109712
3c75150https://github.com/rust-ndarray/ndarray/pull/1468/commits/3c75150a8ff971293555614c0a9e677411109712
https://github.com/akern40
Changes back to Copy-capable ArrayBase and unchanged ArrayBase internalshttps://github.com/rust-ndarray/ndarray/pull/1468/commits/28fea667ee01a6af92535410283f320238fee5fe
28fea66https://github.com/rust-ndarray/ndarray/pull/1468/commits/28fea667ee01a6af92535410283f320238fee5fe
https://github.com/akern40
Removes unused importhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/3a180c1f4e68c298ac8a88519b9b67cc80d33c5e
3a180c1https://github.com/rust-ndarray/ndarray/pull/1468/commits/3a180c1f4e68c298ac8a88519b9b67cc80d33c5e
https://github.com/akern40
Introduces LayoutRef and starts to move functionality from ArrayBase …https://github.com/rust-ndarray/ndarray/pull/1468/commits/6b646787ac07fccb8d88d24e7538f736fdb96aa6
6b64678https://github.com/rust-ndarray/ndarray/pull/1468/commits/6b646787ac07fccb8d88d24e7538f736fdb96aa6
https://github.com/akern40
Working version of the conversion to reference typeshttps://github.com/rust-ndarray/ndarray/pull/1468/commits/4c440a88440121193ed2f93020e9c06e5776b370
4c440a8https://github.com/rust-ndarray/ndarray/pull/1468/commits/4c440a88440121193ed2f93020e9c06e5776b370
https://github.com/akern40
Uses a new design with two reference typeshttps://github.com/rust-ndarray/ndarray/pull/1468/commits/c183903855824daaa56edd80a5a1079a9cde8e0d
c183903https://github.com/rust-ndarray/ndarray/pull/1468/commits/c183903855824daaa56edd80a5a1079a9cde8e0d
https://github.com/akern40
Satisfying CI/CDhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/476dac5e6b1a2a09e9fd97e2c5afe79cbfe51584
476dac5https://github.com/rust-ndarray/ndarray/pull/1468/commits/476dac5e6b1a2a09e9fd97e2c5afe79cbfe51584
https://github.com/akern40
Adds Index, equality, IntoIterator, and Hash traits, plus approximateshttps://github.com/rust-ndarray/ndarray/pull/1468/commits/68d6f5322448c208783b57fc911b7a126dc91334
68d6f53https://github.com/rust-ndarray/ndarray/pull/1468/commits/68d6f5322448c208783b57fc911b7a126dc91334
https://github.com/akern40
Finishes conversions of all possible ArrayBase impls to ArrayRefhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/2fde9980a2ab2550012c8a276b4095182e9ca59f
2fde998https://github.com/rust-ndarray/ndarray/pull/1468/commits/2fde9980a2ab2550012c8a276b4095182e9ca59f
https://github.com/akern40
Satisfying CI/CDhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/d63d26e1657d87382efe757b2dbb7094e7015b56
d63d26ehttps://github.com/rust-ndarray/ndarray/pull/1468/commits/d63d26e1657d87382efe757b2dbb7094e7015b56
https://github.com/akern40
Adds some aliases to avoid breaking changes, and adds an example of h…https://github.com/rust-ndarray/ndarray/pull/1468/commits/b7281f532f3a92933eb3896974ab43d995895383
b7281f5https://github.com/rust-ndarray/ndarray/pull/1468/commits/b7281f532f3a92933eb3896974ab43d995895383
https://github.com/akern40
Adds Borrow and ToOwnedhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/663e2f9d3e6408368c9b1595a00f2e45e511230d
663e2f9https://github.com/rust-ndarray/ndarray/pull/1468/commits/663e2f9d3e6408368c9b1595a00f2e45e511230d
https://github.com/akern40
Tests that the *Assign operators work for slices via derefhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/5204f6837d1b8b795ab6c905c9bc301f3b2f5964
5204f68https://github.com/rust-ndarray/ndarray/pull/1468/commits/5204f6837d1b8b795ab6c905c9bc301f3b2f5964
https://github.com/akern40
Somehow missed a use for ToOwnedhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/6a3d1313b73be9be1b5772983db20401ad09a04d
6a3d131https://github.com/rust-ndarray/ndarray/pull/1468/commits/6a3d1313b73be9be1b5772983db20401ad09a04d
https://github.com/akern40
Implicitly use derefhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/289130d6006a4af0fae0c0a7ff2cdebb5960b22b
289130dhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/289130d6006a4af0fae0c0a7ff2cdebb5960b22b
https://github.com/akern40
Adds documentation and aliases for LayoutRefhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/db52eabc4226638086f7bed16b0057a1161f7be6
db52eabhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/db52eabc4226638086f7bed16b0057a1161f7be6
https://github.com/akern40
Fixes doc linkshttps://github.com/rust-ndarray/ndarray/pull/1468/commits/2b34bf88cd2f13506b1e82cf14e921e16504b1a0
2b34bf8https://github.com/rust-ndarray/ndarray/pull/1468/commits/2b34bf88cd2f13506b1e82cf14e921e16504b1a0
https://github.com/akern40
Adds formatting for ArrayRefhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/a40307bd04d08483bed606e1dfcd67e363477ad1
a40307bhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/a40307bd04d08483bed606e1dfcd67e363477ad1
https://github.com/akern40
Change some examples over to ArrayRefhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/5adbb313849eefcdd4af20eb0267c2b09a5e3dd6
5adbb31https://github.com/rust-ndarray/ndarray/pull/1468/commits/5adbb313849eefcdd4af20eb0267c2b09a5e3dd6
https://github.com/akern40
Adds missed #[repr(transparent)] for RawRefhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/6e61e836ae3264bece0a72ddf870ca9f9feb494b
6e61e83https://github.com/rust-ndarray/ndarray/pull/1468/commits/6e61e836ae3264bece0a72ddf870ca9f9feb494b
https://github.com/akern40
Simplifies deref logic and avoids null checkhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/0cd43347c5d7f0c40805aef7a666e7e735ded26a
0cd4334https://github.com/rust-ndarray/ndarray/pull/1468/commits/0cd43347c5d7f0c40805aef7a666e7e735ded26a
https://github.com/akern40
Adds documentation to ArrayRefhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/f77ad96414e0fc52aab468812fef950de0bee3e3
f77ad96https://github.com/rust-ndarray/ndarray/pull/1468/commits/f77ad96414e0fc52aab468812fef950de0bee3e3
https://github.com/akern40
Adds missing aliases to ArrayBase from RawRef and LayoutRefhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/3888399079c692743680cc8df0dbdb36a6633099
3888399https://github.com/rust-ndarray/ndarray/pull/1468/commits/3888399079c692743680cc8df0dbdb36a6633099
https://github.com/akern40
Adds a short snippet of documentation for RawRef and some top-level…https://github.com/rust-ndarray/ndarray/pull/1468/commits/0a3cad3fc02f8e78e202d0c155ce68de92559edd
0a3cad3https://github.com/rust-ndarray/ndarray/pull/1468/commits/0a3cad3fc02f8e78e202d0c155ce68de92559edd
https://github.com/akern40
Makes as_ref more explicit through methods on ArrayBasehttps://github.com/rust-ndarray/ndarray/pull/1468/commits/cbed83789991fa4f90b0ab0848409c82f8add49e
cbed837https://github.com/rust-ndarray/ndarray/pull/1468/commits/cbed83789991fa4f90b0ab0848409c82f8add49e
akern40https://github.com/akern40
October 26, 2024 11:34https://github.com/rust-ndarray/ndarray/pull/1468#commits-pushed-945f70d
https://github.com/akern40
Restore remove_index to DataOwnedhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/945f70de8138e80cce290345edaabff9db0b21cd
945f70dhttps://github.com/rust-ndarray/ndarray/pull/1468/commits/945f70de8138e80cce290345edaabff9db0b21cd
https://github.com/akern40
Fixes unused importshttps://github.com/rust-ndarray/ndarray/pull/1468/commits/93dfb3887dce25c58e87daaa6fcf499aad5ffc5c
93dfb38https://github.com/rust-ndarray/ndarray/pull/1468/commits/93dfb3887dce25c58e87daaa6fcf499aad5ffc5c
https://github.com/akern40
Generalize ref-to-ref ops to work with arbitrary output typeshttps://github.com/rust-ndarray/ndarray/pull/1468/commits/1d5d6f4223be2e6bcf3c84c1edc649d9d2517cf7
1d5d6f4https://github.com/rust-ndarray/ndarray/pull/1468/commits/1d5d6f4223be2e6bcf3c84c1edc649d9d2517cf7
https://github.com/akern40
akern40https://github.com/akern40
Dec 24, 2024https://github.com/rust-ndarray/ndarray/pull/1468#issuecomment-2560540938
rust-lang/rust#80542https://github.com/rust-lang/rust/issues/80542
Please reload this pagehttps://github.com/rust-ndarray/ndarray/pull/1468
https://github.co/hiddenchars
https://github.com/rust-ndarray/ndarray/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%2Frust-ndarray%2Fndarray%2Fpull%2F1468
Please reload this pagehttps://github.com/rust-ndarray/ndarray/pull/1468
Please reload this pagehttps://github.com/rust-ndarray/ndarray/pull/1468
https://github.com/akern40
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.