-
Notifications
You must be signed in to change notification settings - Fork 30
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
Adjoint of polynomials and complex numbers #116
Comments
Conjugation is not an algebraic operation, so there is a priori no conjugation of variables. |
Okay, I see your point. So the difference lies in viewing the polynomial as an element in the polynomial ring or as a function? |
Coincidentally, I experienced this point of confusion yesterday when taking to Sascha. I think of them as functions too and I was hoping to add complex polynomial extensions to multivariatepolynomials and sumofsquares to enable modeling and solving complex sum-of-squares optimization problems (which involve real-valued/Hermitian complex polynomial functions). I will try to discuss with @blegat and @saschatimme in the next couple days. How do you intend to use conjugation? |
I'm not using it directly, I came across it while facing JuliaAlgebra/DynamicPolynomials.jl#49. |
Yes exactly :) |
It seems that the implementation of adjoint is neglecting the fact that the unknowns of polynomials can be replaced by complex numbers.
MultivariatePolynomials.jl/src/operators.jl
Line 116 in fe0d7ca
The above piece of code yields
3+4im
but the result should actually be5
.The text was updated successfully, but these errors were encountered: