Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add missing complex tests and rules (#216) * Fix indentation * Test \ on complex inputs * Test ^ on complex inputs * Test identity on complex inputs * Test muladd on complex inputs * Test binary functions on complex inputs * Test functions on complex inputs * Release type constraint on exp * Add _realconjtimes * Use _realconjtimes in abs/abs2 rules * Add complex rule for hypot * Add generic rule for adjoint * Add generic rule for real * Add generic rule for imag * Add complex rule for hypot * Add rules/tests for Complex * Test frule for identity * Add missing angle test * Make inline just in case * Unify abs rules * Introduce _imagconjtimes utility function * Unify angle rules * Unify sign rules * Multiply by correct variable * Fix argument order * Bump ChainRulesTestUtils version number * Restrict to Complex * Use muladd * Update src/rulesets/Base/fastmath_able.jl Co-authored-by: willtebbutt <[email protected]> Co-authored-by: willtebbutt <[email protected]> * rename differentials (#413) * rename DoesNotExist * rename Composite * bump version and compat * rename Zero * remove typos * reexport deprecated types manually * Rename to `realconjtimes` and `imagconjtimes` and export them * Add tests * Fix tests with Julia 1.0 * Rename to `realdot` and `imagdot` * Add dispatch for real arrays * Update src/utils.jl Co-authored-by: Seth Axen <[email protected]> * Generalize `::Complex` to `::Number` * Rename `utils.jl` to `complex_math.jl` * Remove `imagdot` * Add `realdot` * Update README * Apply suggestions from code review Co-authored-by: Seth Axen <[email protected]> * Update README.md * Update src/RealDot.jl Co-authored-by: Seth Axen <[email protected]> * Add test with quaternions * Fix quaternion multiplication Co-authored-by: Seth Axen <[email protected]> Co-authored-by: willtebbutt <[email protected]> Co-authored-by: Miha Zgubic <[email protected]>
- Loading branch information