Title: Support initialization/assignment from initializer lists · Issue #55 · ndarray/ndarray · GitHub
Open Graph Title: Support initialization/assignment from initializer lists · Issue #55 · ndarray/ndarray
X Title: Support initialization/assignment from initializer lists · Issue #55 · ndarray/ndarray
Description: Would it be possible to do bulk assignments to ndarrays, e.g., array[view(3)(0:2)] = { 1.0, 2.0 }; Naturally, the dimensions would need to match, which would probably restrict initializer list support to 1-dimensional arrays or slices. S...
Open Graph Description: Would it be possible to do bulk assignments to ndarrays, e.g., array[view(3)(0:2)] = { 1.0, 2.0 }; Naturally, the dimensions would need to match, which would probably restrict initializer list supp...
X Description: Would it be possible to do bulk assignments to ndarrays, e.g., array[view(3)(0:2)] = { 1.0, 2.0 }; Naturally, the dimensions would need to match, which would probably restrict initializer list supp...
Opengraph URL: https://github.com/ndarray/ndarray/issues/55
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support initialization/assignment from initializer lists","articleBody":"Would it be possible to do bulk assignments to ndarrays, e.g.,\r\n\r\n array[view(3)(0:2)] = { 1.0, 2.0 };\r\n\r\nNaturally, the dimensions would need to match, which would probably restrict initializer list support to 1-dimensional arrays or slices.\r\n\r\nSimilarly, would it be possible to initialize 1-dimensional arrays from an initializer list?","author":{"url":"https://github.com/kfindeisen","@type":"Person","name":"kfindeisen"},"datePublished":"2017-03-28T21:51:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/55/ndarray/issues/55"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:371b0b13-68ac-0dce-13bc-622e6bb2bb6c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D774:27873:C06D15:10D3D05:6970BC4C |
| html-safe-nonce | a246b6658508c22358254c13150d613cb29a98ff32ed6b484f6056f32c7c5786 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzc0OjI3ODczOkMwNkQxNToxMEQzRDA1OjY5NzBCQzRDIiwidmlzaXRvcl9pZCI6IjU0NjQxOTQ5MzM0Nzc5MTU3MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0f7496dcd2277c431bc647d417d42586a316a6d5d54c2032fcddd9e479db2544 |
| hovercard-subject-tag | issue:217703506 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ndarray/ndarray/55/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7a5b533671154c3b1ef4cf78f5530d8d9c539a9572dcf7b03384318a2c9011af/ndarray/ndarray/issues/55 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a5b533671154c3b1ef4cf78f5530d8d9c539a9572dcf7b03384318a2c9011af/ndarray/ndarray/issues/55 |
| og:image:alt | Would it be possible to do bulk assignments to ndarrays, e.g., array[view(3)(0:2)] = { 1.0, 2.0 }; Naturally, the dimensions would need to match, which would probably restrict initializer list supp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kfindeisen |
| hostname | github.com |
| expected-hostname | github.com |
| None | bb43a7bc61aba1b91c3c5cf8e7d00342e1e77a0cfe55a141222dbd7f9782d26f |
| turbo-cache-control | no-preview |
| go-import | github.com/ndarray/ndarray git https://github.com/ndarray/ndarray.git |
| octolytics-dimension-user_id | 1451802 |
| octolytics-dimension-user_login | ndarray |
| octolytics-dimension-repository_id | 3487413 |
| octolytics-dimension-repository_nwo | ndarray/ndarray |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3487413 |
| octolytics-dimension-repository_network_root_nwo | 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 | 34817b01ad7cdf8b2beb35ea7b0e2a7609004eff |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width