Wrapper unrestricted to restricted #42
Unanswered
ordinary-slim
asked this question in
Q&A
Replies: 1 comment
-
Hi, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as I understand the wrappers (e.g. VecSubVectorWrapper) take a restricted vector and give you an unrestricted one. Is there a way to go in the opposite direction? In particular, I want to take this product:
and I am looking for a clean and efficient way to go about this.
EDIT: So far the solution I found looks like this
The costliest line here is the first one although not by a big margin. Let me know if you find something better.
Beta Was this translation helpful? Give feedback.
All reactions