-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement get_row_* for Matrix, MatrixSlice and MatrixSliceMut (#8)
* implement get_row_* for Matrix, MatrixSlice and MatrixSliceMut - get_row - get_row_mut - get_row_unchecked - get_row_mut_unchecked Note: For MatrixSlices, get_row and get_row_unchecked are implemented directly on BaseSlice trait, as it already provides all necessary methods. Similarly, moved get_unchecked slice implementations directly into the trait * rename get_row_mut_unchecked into get_row_unchecked_mut To follow std::slice syntax * use if/else instead of return
- Loading branch information
1 parent
4fc41c6
commit d4ea5f6
Showing
2 changed files
with
174 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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 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