-
-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added intermediate member access structures which map direct member access and mutation into indirect one as provided by eigen an most other representations. This should _almost_ always just work, but in some cases template specialization consuming these values might fail in which case dereferencing them should work. Sadly there's no way of providing `T&` access to values because actual data layout and representation can be wildly different between different architectures. Even if eigen wasn't being used, if we want to make use of SIMD we have to provide access through separate getters and setters. All this abstraction should be optimized away by the compiler, so it's just adding API ergonomics. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
- Loading branch information
Showing
7 changed files
with
377 additions
and
202 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
Oops, something went wrong.