-
-
Notifications
You must be signed in to change notification settings - Fork 216
Closed
Labels
Description
Moving this discussion here from #29. We currently have a consistent way of treating complex numbers that's useful in the case of real-valued output (for gradient descent) but not always aligned with other notions of the complex derivative. At best it's only a conjugate away from a useful derivative, and at worst it's partial information (only one column of a 2x2 Jacobian).
@ssfrr suggests separating the gradient function from a derivative function that uses the more traditional definition, and can also make numerical checks that the derivative is a valid operation.