Cannot replace a simple for loop by a fori_loop #19576
Unanswered
joacorapela
asked this question in
Q&A
Replies: 1 comment
-
Hi - this seems related to your other question at #19561. The problem is that your code attempts to create dynamically-shaped arrays, and these are not supported within |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have several matrices
Ai
and vectorsbi
of different dimensions and a simple for loop that solves the linear systemsAi xi = bi
. I want to replace the for loop by a fori_loop, but I cannot do it with the code below. Can this be done?The following example calculates
solves_for
but when trying to calculatesolves_fori_loop
I get the error below.Error message:
Beta Was this translation helpful? Give feedback.
All reactions