Skip to content

value_and_hessian? #14146

Answered by jakevdp
joglekara asked this question in Ideas
Discussion options

You must be logged in to vote

Not directly; see #762 for related discussion. Fortunately, there's a good workaround in many cases: just compute the value and the hessian normally as separate statements, wrap the whole function with JIT, and rely on the compiler for deduplication of operations.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joglekara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants