Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complex-valued variables #213

Merged
merged 41 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
a6e9b84
First draft for complex-valued interface
projekter Jun 11, 2022
a84d217
Adjust imaginary part
projekter Jun 12, 2022
26a471f
Merge remote-tracking branch 'upstream/master'
projekter Dec 26, 2022
73a0bc6
Slight updates
projekter Dec 26, 2022
98905be
Add exports
projekter Dec 26, 2022
9ab15da
Rename ordvar to ordinary_variable
projekter Apr 21, 2023
9679a99
Change assert to error
projekter May 9, 2023
2606f9c
Code style
projekter May 9, 2023
5df604c
Remove real_coefficient_type_polynomial_like
projekter May 9, 2023
9280e2d
Change comparisons to comparison functions
projekter May 9, 2023
8e0424f
Explain _show in comment
projekter May 9, 2023
b897034
Shortcuts for conj
projekter May 9, 2023
064f0e5
Add explicit isreal/iscomplex for monomial vectors
projekter May 9, 2023
f4606e7
Fix
projekter May 9, 2023
7a4c107
Improve real/imag of APL
projekter May 9, 2023
5889093
Replace zip by powers
projekter May 9, 2023
ef5ad13
Fix
projekter May 10, 2023
8e463a8
Merge branch 'master' of https://github.com/projekter/MultivariatePol…
projekter May 10, 2023
0687b19
Explain choice of function signature
projekter May 19, 2023
cc76af5
Merge branch 'master' of https://github.com/JuliaAlgebra/Multivariate…
projekter May 19, 2023
76fa39a
Format
projekter May 19, 2023
718a92e
Documentation
projekter May 22, 2023
7ba9cc6
Merge branch 'master' of https://github.com/JuliaAlgebra/Multivariate…
projekter May 28, 2023
8c53052
Fix iscomplex detection
projekter May 28, 2023
e7d57d6
Docstring update, new function spelling
projekter May 28, 2023
d5784cc
Test for complex case
projekter May 28, 2023
a72912f
Remove missing references to Base functions
projekter May 28, 2023
1ddcd0c
Format test
projekter May 28, 2023
cf96129
Merge branch 'master' of https://github.com/JuliaAlgebra/Multivariate…
projekter Jul 7, 2023
7223c0c
Format
projekter Jul 7, 2023
cfa73d0
Compatibility in tests
projekter Jul 10, 2023
12ad263
Fix adjoint issues with new interface
projekter Jul 10, 2023
60f1a58
Revert APL adjoint implementation (mutable coefficients would be alia…
projekter Jul 22, 2023
25b8e02
Add copy_if_mutable safeguards
projekter Aug 17, 2023
a09ca39
Remove complex branch CI
projekter Aug 17, 2023
ebc3c6e
Update src/complex.jl
projekter Aug 24, 2023
7624bd7
Update src/complex.jl
projekter Aug 24, 2023
e479b43
Update src/complex.jl
projekter Aug 24, 2023
a8ac55e
Avoid splatting
projekter Aug 24, 2023
c19afba
Remove iscomplex
projekter Sep 1, 2023
3190908
Improve documentation
projekter Sep 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/src/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ name_base_indices
variable_union_type
similar_variable
@similar_variable
conj(::AbstractVariable)
real(::AbstractVariable)
imag(::AbstractVariable)
isreal(::AbstractVariable)
isrealpart
isimagpart
isconj
ordinary_variable
```

## Monomials
Expand Down Expand Up @@ -47,6 +55,8 @@ coefficient_type
monomial
constant_term
zero_term
degree_complex
halfdegree
```

## Polynomials
Expand Down Expand Up @@ -75,6 +85,16 @@ monic
map_coefficients
map_coefficients!
map_coefficients_to!
conj(::_APL)
real(::_APL)
imag(::_APL)
isreal(::_APL)
mindegree_complex
minhalfdegree
maxdegree_complex
maxhalfdegree
extdegree_complex
exthalfdegree
```

## Rational Polynomial Function
Expand All @@ -90,4 +110,8 @@ monomial_vector_type
empty_monomial_vector
sort_monomial_vector
merge_monomial_vectors
conj(::AbstractVector{<:AbstractMonomial})
real(::AbstractVector{<:AbstractMonomial})
imag(::AbstractVector{<:AbstractMonomial})
isreal(::AbstractVector{<:AbstractMonomial})
```
1 change: 1 addition & 0 deletions src/MultivariatePolynomials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ include("hash.jl")
include("promote.jl")
include("conversion.jl")

include("complex.jl")
include("operators.jl")
include("comparison.jl")

Expand Down
Loading
Loading