-
Notifications
You must be signed in to change notification settings - Fork 11
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
"The Stencil operator: ⌺
" revision
#11
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Revision
Here I include all of the things that, to the best of my knowledge and experience, should be changed/corrected.
To consider
In here I include things that, from my point of view, would be nice additions/modifications. Tick them as you ponder on them, feel free to disregard.
You could very well only have runs of length 3 with elements from the vector:
What's happening here is that stencil goes farther than just the argument. Stencil goes up to the point where the original array ends at the centre of the window, regardless of that window size dividing the original vector length or not.
For example, with windows of size 7, the final window will be
6 7 8 9 0 0 0
:For even lengths, stencil goes up until the element to the right of the centre, and that's why there's no padding on windows of size
2
.The text was updated successfully, but these errors were encountered: