Shape of Problem.jacobian(free) // shape of Problem.jacobianstructure() #280
Unanswered
Peter230655
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Probably a typo. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the opty documentation release 1.4.0.dev0 on page 129 it says:
jacobian(free)
Returns.....
Return type
ndarray.shape((2n + q + r + s) * (n(N-1) + o ), )
but in my tests it returns
ndarray.shape((2n + q + r + s) * (n(N-1)) + o, ) The bracket to the right of o is moved to the left.
Is there a mistale in my tests or is this a typo in the documentation?
When I tested Problem.jacobianstructure()
also the shape did not seem to match the shape given on page 129, but I found no alternative formula.
Beta Was this translation helpful? Give feedback.
All reactions