Closed
Description
I naively tried ForwardDiff.gradient(det, A)
and compared it to the output of (det(A) * inv(A))' * A)
(Jacobi's Formula for a real square matrix A
. They should be the same value, but they are radically different.
What am I getting wrong here? Shouldn't ForwardDiff support det
out of the box since it's a core function of Julia?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels