| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:82999e94-78bf-2af3-6078-567332e49978 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D55A:391641:5309DFD:7001957:6964DEC2 |
| html-safe-nonce | 84f072e26dbec6e262e0a19c6f0eac9bd08e399c60031983eabf3f1b0f5ea909 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTVBOjM5MTY0MTo1MzA5REZEOjcwMDE5NTc6Njk2NERFQzIiLCJ2aXNpdG9yX2lkIjoiNjkyMTI3MTMyNDYwODYxODE3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 695fc2ec49e4648ace17e791f4e3de309d95c7b15ccaa7c63f9cf53be6a987c6 |
| hovercard-subject-tag | pull_request:1872443312 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/rust-ndarray/ndarray/1386/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/209d6dc158490e7af3a6b10c9a88b0cf15fc977d4138213e24f46a22961ea4ed/rust-ndarray/ndarray/pull/1386 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/209d6dc158490e7af3a6b10c9a88b0cf15fc977d4138213e24f46a22961ea4ed/rust-ndarray/ndarray/pull/1386 |
| og:image:alt | The implementation seems to work, but unsure about whether this should be a free function vs bound directly to ArrayBase vs a trait. Closes #1323. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | akern40 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5838582163a1256e5ebd5086b7e1dc5cea93d82086c9c8b1395fb50f6ddab28d |
| turbo-cache-control | no-preview |
| go-import | github.com/rust-ndarray/ndarray git https://github.com/rust-ndarray/ndarray.git |
| octolytics-dimension-user_id | 44419403 |
| octolytics-dimension-user_login | rust-ndarray |
| octolytics-dimension-repository_id | 22598813 |
| octolytics-dimension-repository_nwo | rust-ndarray/ndarray |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22598813 |
| octolytics-dimension-repository_network_root_nwo | rust-ndarray/ndarray |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8edad3509fd3b4374694551987974bbbcfd316c0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/rust-ndarray/ndarray/pull/1386#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frust-ndarray%2Fndarray%2Fpull%2F1386 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Frust-ndarray%2Fndarray%2Fpull%2F1386 |
|
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=rust-ndarray%2Fndarray |
| Reload | https://github.com/rust-ndarray/ndarray/pull/1386 |
| Reload | https://github.com/rust-ndarray/ndarray/pull/1386 |
| Reload | https://github.com/rust-ndarray/ndarray/pull/1386 |
|
rust-ndarray
| https://github.com/rust-ndarray |
| ndarray | https://github.com/rust-ndarray/ndarray |
|
Notifications
| https://github.com/login?return_to=%2Frust-ndarray%2Fndarray |
|
Fork
360
| https://github.com/login?return_to=%2Frust-ndarray%2Fndarray |
|
Star
4.2k
| https://github.com/login?return_to=%2Frust-ndarray%2Fndarray |
|
Code
| https://github.com/rust-ndarray/ndarray |
|
Issues
172
| https://github.com/rust-ndarray/ndarray/issues |
|
Pull requests
34
| https://github.com/rust-ndarray/ndarray/pulls |
|
Discussions
| https://github.com/rust-ndarray/ndarray/discussions |
|
Actions
| https://github.com/rust-ndarray/ndarray/actions |
|
Projects
0
| https://github.com/rust-ndarray/ndarray/projects |
|
Wiki
| https://github.com/rust-ndarray/ndarray/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/rust-ndarray/ndarray/security |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
|
Insights
| https://github.com/rust-ndarray/ndarray/pulse |
|
Code
| https://github.com/rust-ndarray/ndarray |
|
Issues
| https://github.com/rust-ndarray/ndarray/issues |
|
Pull requests
| https://github.com/rust-ndarray/ndarray/pulls |
|
Discussions
| https://github.com/rust-ndarray/ndarray/discussions |
|
Actions
| https://github.com/rust-ndarray/ndarray/actions |
|
Projects
| https://github.com/rust-ndarray/ndarray/projects |
|
Wiki
| https://github.com/rust-ndarray/ndarray/wiki |
|
Security
| https://github.com/rust-ndarray/ndarray/security |
|
Insights
| https://github.com/rust-ndarray/ndarray/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Frust-ndarray%2Fndarray%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Frust-ndarray%2Fndarray%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/rust-ndarray/ndarray/pull/1386#issue-comment-box |
| nilgoyette | https://github.com/nilgoyette |
| rust-ndarray:master | https://github.com/rust-ndarray/ndarray/tree/master |
| akern40:triangular | https://github.com/akern40/ndarray/tree/triangular |
|
Adds triu and tril methods directly to ArrayBase
| https://github.com/rust-ndarray/ndarray/pull/1386#top |
| nilgoyette | https://github.com/nilgoyette |
| rust-ndarray:master | https://github.com/rust-ndarray/ndarray/tree/master |
| akern40:triangular | https://github.com/akern40/ndarray/tree/triangular |
|
Conversation
20
| https://github.com/rust-ndarray/ndarray/pull/1386 |
|
Commits
4
| https://github.com/rust-ndarray/ndarray/pull/1386/commits |
|
Checks
0
| https://github.com/rust-ndarray/ndarray/pull/1386/checks |
|
Files changed
| https://github.com/rust-ndarray/ndarray/pull/1386/files |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| https://github.co/hiddenchars |
| https://github.com/rust-ndarray/ndarray/pull/{{ revealButtonHref }} |
|
| https://github.com/akern40 |
| akern40 | https://github.com/akern40 |
| May 16, 2024 | https://github.com/rust-ndarray/ndarray/pull/1386#issue-2299278736 |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| #1323 | https://github.com/rust-ndarray/ndarray/issues/1323 |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| https://github.com/nilgoyette |
| nilgoyette | https://github.com/nilgoyette |
|
May 16, 2024
| https://github.com/rust-ndarray/ndarray/pull/1386#pullrequestreview-2061051633 |
|
View reviewed changes
| https://github.com/rust-ndarray/ndarray/pull/1386/files |
| src/tri.rs | https://github.com/rust-ndarray/ndarray/pull/1386/files#diff-7f1cd9ab95ab771468becc8017a10e50bd28c266085948bc6f2e03c7cb3a56af |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| src/tri.rs | https://github.com/rust-ndarray/ndarray/pull/1386/files#diff-7f1cd9ab95ab771468becc8017a10e50bd28c266085948bc6f2e03c7cb3a56af |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| src/tri.rs | https://github.com/rust-ndarray/ndarray/pull/1386/files#diff-7f1cd9ab95ab771468becc8017a10e50bd28c266085948bc6f2e03c7cb3a56af |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| src/tri.rs | https://github.com/rust-ndarray/ndarray/pull/1386/files#diff-7f1cd9ab95ab771468becc8017a10e50bd28c266085948bc6f2e03c7cb3a56af |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| https://github.com/akern40 |
| akern40 | https://github.com/akern40 |
| May 18, 2024 | https://github.com/rust-ndarray/ndarray/pull/1386#event-12856080024 |
| https://github.com/akern40 |
| akern40 | https://github.com/akern40 |
| May 18, 2024 | https://github.com/rust-ndarray/ndarray/pull/1386#issuecomment-2118996376 |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| https://github.com/akern40 |
| akern40 | https://github.com/akern40 |
| May 18, 2024 | https://github.com/rust-ndarray/ndarray/pull/1386#issuecomment-2119000922 |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| https://github.com/nilgoyette |
| nilgoyette | https://github.com/nilgoyette |
| May 20, 2024 | https://github.com/rust-ndarray/ndarray/pull/1386#issuecomment-2121056588 |
| @bluss | https://github.com/bluss |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| https://github.com/akern40 |
| akern40 | https://github.com/akern40 |
| May 20, 2024 | https://github.com/rust-ndarray/ndarray/pull/1386#issuecomment-2121229690 |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| @bluss | https://github.com/bluss |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| https://github.com/akern40 |
| akern40 | https://github.com/akern40 |
| force-pushed | https://github.com/rust-ndarray/ndarray/compare/7d24c549213a7912537f6376a9dd0746c9054423..6316fbe8d036ad1b1cc58f7d7b8fbb11bda1f6ee |
| 7d24c54 | https://github.com/rust-ndarray/ndarray/commit/7d24c549213a7912537f6376a9dd0746c9054423 |
| 6316fbe | https://github.com/rust-ndarray/ndarray/commit/6316fbe8d036ad1b1cc58f7d7b8fbb11bda1f6ee |
|
Compare
| https://github.com/rust-ndarray/ndarray/compare/7d24c549213a7912537f6376a9dd0746c9054423..6316fbe8d036ad1b1cc58f7d7b8fbb11bda1f6ee |
| May 22, 2024 03:13 | https://github.com/rust-ndarray/ndarray/pull/1386#event-12887693019 |
|
| https://github.com/akern40 |
| Adds triu and tril methods that mimic NumPy. | https://github.com/rust-ndarray/ndarray/pull/1386/commits/3986824d1ed73a5c0763d2075410c087464ec74e |
| 3986824 | https://github.com/rust-ndarray/ndarray/pull/1386/commits/3986824d1ed73a5c0763d2075410c087464ec74e |
| https://github.com/akern40 |
| akern40 | https://github.com/akern40 |
| force-pushed | https://github.com/rust-ndarray/ndarray/compare/6316fbe8d036ad1b1cc58f7d7b8fbb11bda1f6ee..3986824d1ed73a5c0763d2075410c087464ec74e |
| 6316fbe | https://github.com/rust-ndarray/ndarray/commit/6316fbe8d036ad1b1cc58f7d7b8fbb11bda1f6ee |
| 3986824 | https://github.com/rust-ndarray/ndarray/commit/3986824d1ed73a5c0763d2075410c087464ec74e |
|
Compare
| https://github.com/rust-ndarray/ndarray/compare/6316fbe8d036ad1b1cc58f7d7b8fbb11bda1f6ee..3986824d1ed73a5c0763d2075410c087464ec74e |
| May 22, 2024 03:14 | https://github.com/rust-ndarray/ndarray/pull/1386#event-12887701852 |
|
| https://github.com/akern40 |
| Uses alloc:: instead of std:: for vec! import | https://github.com/rust-ndarray/ndarray/pull/1386/commits/449ad0e08aab60d1a574bf844d9da41ded2d2729 |
| 449ad0e | https://github.com/rust-ndarray/ndarray/pull/1386/commits/449ad0e08aab60d1a574bf844d9da41ded2d2729 |
| https://github.com/nilgoyette |
| nilgoyette | https://github.com/nilgoyette |
|
May 22, 2024
| https://github.com/rust-ndarray/ndarray/pull/1386#pullrequestreview-2071973917 |
|
View reviewed changes
| https://github.com/rust-ndarray/ndarray/pull/1386/files/449ad0e08aab60d1a574bf844d9da41ded2d2729 |
| src/tri.rs | https://github.com/rust-ndarray/ndarray/pull/1386/files/449ad0e08aab60d1a574bf844d9da41ded2d2729#diff-7f1cd9ab95ab771468becc8017a10e50bd28c266085948bc6f2e03c7cb3a56af |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| akern40 | https://github.com/akern40 |
| May 24, 2024 23:06 | https://github.com/rust-ndarray/ndarray/pull/1386#commits-pushed-9e9c3f9 |
|
| https://github.com/akern40 |
| Uses initial check to clarify logic | https://github.com/rust-ndarray/ndarray/pull/1386/commits/9e9c3f9710c718c68eb382d6ef7032bea91618bb |
| 9e9c3f9 | https://github.com/rust-ndarray/ndarray/pull/1386/commits/9e9c3f9710c718c68eb382d6ef7032bea91618bb |
|
| https://github.com/akern40 |
| Removes unecessary comment | https://github.com/rust-ndarray/ndarray/pull/1386/commits/84f0c80d9d95d47eff6a28f4dd1cc4c4a5cf8171 |
| 84f0c80 | https://github.com/rust-ndarray/ndarray/pull/1386/commits/84f0c80d9d95d47eff6a28f4dd1cc4c4a5cf8171 |
| https://github.com/nilgoyette |
| nilgoyette | https://github.com/nilgoyette |
| May 27, 2024 | https://github.com/rust-ndarray/ndarray/pull/1386#issuecomment-2133530296 |
| @akern40 | https://github.com/akern40 |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| https://github.com/nilgoyette |
| nilgoyette | https://github.com/nilgoyette |
| May 27, 2024 | https://github.com/rust-ndarray/ndarray/pull/1386#event-12946395789 |
| 72b0d09 | https://github.com/rust-ndarray/ndarray/commit/72b0d098ba05c889245dc86c66c13ba92086e5f4 |
| May 27, 2024 | https://github.com/rust-ndarray/ndarray/pull/1386#event-12946613092 |
| zackmdavis | https://github.com/zackmdavis |
|
Aug 3, 2024
| https://github.com/rust-ndarray/ndarray/pull/1386#ref-commit-c38bbbe |
|
| https://github.com/zackmdavis |
| bleeding-edge ndarray | https://github.com/zackmdavis/Radiance/commit/c38bbbea14e6cc11fbf14fbee3ad70125889d402 |
| c38bbbe | https://github.com/zackmdavis/Radiance/commit/c38bbbea14e6cc11fbf14fbee3ad70125889d402 |
| rust-ndarray/ndarray#1386 | https://github.com/rust-ndarray/ndarray/pull/1386 |
| https://github.com/zackmdavis |
| zackmdavis | https://github.com/zackmdavis |
| Aug 3, 2024 | https://github.com/rust-ndarray/ndarray/pull/1386#issuecomment-2266481812 |
| @akern40 | https://github.com/akern40 |
| you can run master by changing the version specification in your Cargo.toml to | https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
| https://github.com/zackmdavis |
| zackmdavis | https://github.com/zackmdavis |
|
Aug 3, 2024
| https://github.com/rust-ndarray/ndarray/pull/1386#ref-issue-2446615876 |
|
tril and triu fail on 1×1 matrices
#1415
| https://github.com/rust-ndarray/ndarray/issues/1415 |
| https://github.com/akern40 |
| akern40 | https://github.com/akern40 |
| September 29, 2024 00:44 | https://github.com/rust-ndarray/ndarray/pull/1386#event-14443156613 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frust-ndarray%2Fndarray%2Fpull%2F1386 |
|
| https://github.com/nilgoyette |
|
nilgoyette
| https://github.com/nilgoyette |
|
| https://github.com/rust-ndarray/ndarray/pull/1386/files/449ad0e08aab60d1a574bf844d9da41ded2d2729 |
|
Implement numpy's triu and tril methods
| https://github.com/rust-ndarray/ndarray/issues/1323 |
| Please reload this page | https://github.com/rust-ndarray/ndarray/pull/1386 |
|
| https://github.com/akern40 |
|
| https://github.com/nilgoyette |
|
| https://github.com/zackmdavis |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |