AutoDiff
AutoDiff copied to clipboard
Add complex number support.
Most masked functions are differentiable on the complex plane. np.absolute is the main exception.
Current plan for np.absolute:
- Add a warning if applying np.absolute to a complex object
- Assume that x.imag ~~ 0 and then differentiate along the real line.