Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* First draft for complex-valued interface * Adjust imaginary part * Slight updates * Add exports * Rename ordvar to ordinary_variable * Change assert to error * Code style * Remove real_coefficient_type_polynomial_like * Change comparisons to comparison functions * Explain _show in comment * Shortcuts for conj * Add explicit isreal/iscomplex for monomial vectors * Fix * Improve real/imag of APL * Replace zip by powers Co-authored-by: Benoît Legat <[email protected]> * Fix * Explain choice of function signature * Format * Documentation * Fix iscomplex detection * Docstring update, new function spelling * Test for complex case * Remove missing references to Base functions * Format test * Format * Compatibility in tests * Fix adjoint issues with new interface * Revert APL adjoint implementation (mutable coefficients would be aliased) * Add copy_if_mutable safeguards * Remove complex branch CI * Update src/complex.jl Co-authored-by: Benoît Legat <[email protected]> * Update src/complex.jl Co-authored-by: Benoît Legat <[email protected]> * Update src/complex.jl Co-authored-by: Benoît Legat <[email protected]> * Avoid splatting * Remove iscomplex * Improve documentation --------- Co-authored-by: Benoît Legat <[email protected]>
- Loading branch information