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

Why a real-valued scalar multiply a Hermitian matrix isn't be a Hermitian matrix? #2368

Open
7tosmoke opened this issue Mar 4, 2024 · 2 comments
Labels
enhancement good first issue help wanted We would appreciate contributions for this issue! A CVXPY member will provide guidance.

Comments

@7tosmoke
Copy link

7tosmoke commented Mar 4, 2024

Hello,I‘m new in cvxpy and I found a question when I coded.

Why a real-valued scalar multiply a Hermitian matrix isn't be a Hermitian matrix?
Like Y=1*X, while X = cp.Variable((3,3), hermitian=True).
Then, Y.is_hermitian() outputs False.
Could you help me?
Thanks a lot.

@rileyjmurray
Copy link
Collaborator

rileyjmurray commented Mar 4, 2024 via email

@7tosmoke
Copy link
Author

7tosmoke commented Mar 4, 2024

Thank you for your reply! I have already fixed my problem with adding other cvx functions. Hope your package become better!

@rileyjmurray rileyjmurray added enhancement help wanted We would appreciate contributions for this issue! A CVXPY member will provide guidance. good first issue labels Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue help wanted We would appreciate contributions for this issue! A CVXPY member will provide guidance.
Projects
None yet
Development

No branches or pull requests

2 participants