You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but when I change a[0] ,the value in Rx will not change . It seems that my way of array assembly will break the forward-mode
So how can I assemble a new array and still hold the forward mode.
The text was updated successfully, but these errors were encountered:
for example:
a = ch.array(5)
Rx = ch.array([[1, 0, 0],
[0, ch.cos(a), -ch.sin(a)],
[0, ch.sin(a), ch.cos(a)]])
but when I change a[0] ,the value in Rx will not change . It seems that my way of array assembly will break the forward-mode
So how can I assemble a new array and still hold the forward mode.
The text was updated successfully, but these errors were encountered: