Commit d1f41c5
Complex-valued variables (JuliaAlgebra#213)
* 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 <benoit.legat@gmail.com>
* 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 <benoit.legat@gmail.com>
* Update src/complex.jl
Co-authored-by: Benoît Legat <benoit.legat@gmail.com>
* Update src/complex.jl
Co-authored-by: Benoît Legat <benoit.legat@gmail.com>
* Avoid splatting
* Remove iscomplex
* Improve documentation
---------
Co-authored-by: Benoît Legat <benoit.legat@gmail.com>1 parent 953a19b commit d1f41c5
File tree
9 files changed
+494
-9
lines changed- docs/src
- src
- test
9 files changed
+494
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
| |||
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| 58 | + | |
| 59 | + | |
50 | 60 | | |
51 | 61 | | |
52 | 62 | | |
| |||
75 | 85 | | |
76 | 86 | | |
77 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
78 | 98 | | |
79 | 99 | | |
80 | 100 | | |
| |||
90 | 110 | | |
91 | 111 | | |
92 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
93 | 117 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments