-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor
blade_type_from(_dimension)
traits
Define trait `blade_type_from_dimension`, which determines the `blade` type given the algebra type and a random access range as a non-type template parameter. The random access range specifies the dimensions of the `blade`. Update the `blade_type_from` trait to take an algebra type and a non-type template parameter that is either a mask or a range of dimensions. A range of `bool` is interpreted as a mask. A range of `std::size_t` is interpreted as dimensions. Change-Id: I08d04592475f294e755e5fef88d1dfd7cbfdaea6
- Loading branch information
Showing
3 changed files
with
71 additions
and
30 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
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