-
Notifications
You must be signed in to change notification settings - Fork 330
As standard layout method #616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jturner314
merged 30 commits into
rust-ndarray:master
from
andrei-papou:as-contiguous-method
Jun 19, 2019
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
b39a0bb
Merge pull request #1 from rust-ndarray/master
c0890db
Implemented `as_contiguous` method
4ea2c7d
Added content check for the new array to the tests
5cdae91
Return CowArray from as_contiguous instead of Array
c82359a
Removed unused import
5ce8d31
Fixed wording + minor improvements
2a67f25
Added more tests + 2 methods for ArrayCow
2d453c7
Split single test into multiple ones
0d54de5
Fix try_ensure_unique for CowRepr
jturner314 1f4499f
Remove into_view/owned_array from ArrayCow
jturner314 2ede464
Relax to A: Clone for RawDataClone impl of CowRepr
jturner314 17e074b
Implement DataMut for CowRepr
jturner314 5506113
Impl clone_from_with_ptr for differing CowRepr variants
jturner314 556bd59
Add Cow types to preludes
jturner314 3101ca3
Move ArrayCow method impls into separate module
jturner314 131aea7
Replace from_view/owned_array with From impls
jturner314 0d68ea6
Add docs for ArrayCow
jturner314 b84b3ec
Remove A: Clone bound from CowRepr
jturner314 ebd6cc4
Use .raw_dim() instead of .dim()
jturner314 b14b3de
Replace .map(|x| x.clone()) with .cloned()
jturner314 9ec732a
Merge pull request #4 from jturner314/as-contiguous-method
efd686d
Merge pull request #5 from rust-ndarray/master
1417bcb
Removed ArrayCow changes
8cd5d5a
Merge pull request #8 from rust-ndarray/master
d85d4a8
Merge branch 'master' of github.com:andrei-papou/ndarray into as-cont…
4c2d2dd
Updated the tests
ac51cfd
Fixed rustfmt errors
c2ae416
Changes:
02d181d
Refine as_standard_layout docs
jturner314 f669f0f
Add as_standard_layout example
jturner314 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.