Replies: 1 comment 4 replies
-
It looks like this could be done in a vectorized fashion, but I don't know what |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Edited:
Hi, I was wondering if it would be possible to transition such a for loop in this function to a built-in array-oriented function?
Complete Minimal Example:
I can't seem to see how to incorporate the if condition, here is my attempt:
If not would an alternative solution to avoid roundoff error be to use lax.foriloop. I attempted to transition the function using this, but it doesn't seem to work since i depends on a condition, thanks!
Beta Was this translation helpful? Give feedback.
All reactions