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

Add \ for Sym/Tri/Bi/Diagonal and support non-commutative numbers #39701

Merged
merged 8 commits into from
Feb 26, 2021

Conversation

dlfivefifty
Copy link
Contributor

No description provided.

Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de>
@dkarrasch
Copy link
Member

Are these rules correct also in the non-commutative case? I see we're using this "flip the order" pattern frequently...

@dlfivefifty
Copy link
Contributor Author

I agree it doesn't look good for non-commutativit, but this is true also for *. Let me push a better variant and see if tests pass.

@dlfivefifty
Copy link
Contributor Author

Do you know if there's a non-commutative type <: Number in the tests I can use? Otherwise I can add a quick-and-dirty Quaternion.

@dkarrasch
Copy link
Member

We have a Quaternion type in the testhelpers folder.

@dkarrasch
Copy link
Member

I think Diagonal is missing the same \ method, BTW.

@dlfivefifty dlfivefifty changed the title Add \ for Sym/Tridiagonal Add \ for Sym/Tri/Bi/Diagonal and support non-commutative numbers Feb 17, 2021
@dlfivefifty
Copy link
Contributor Author

OK I added the overload for Diagonal too

@dkarrasch dkarrasch added the linear algebra Linear algebra label Feb 17, 2021
@dlfivefifty
Copy link
Contributor Author

I believe the test failure is not related.

@dkarrasch
Copy link
Member

Let's run CI again and then merge.

@dkarrasch dkarrasch closed this Feb 26, 2021
@dkarrasch dkarrasch reopened this Feb 26, 2021
@dkarrasch
Copy link
Member

Only failure is a timeout, but way after the LinearAlgebra tests.

@dkarrasch dkarrasch merged commit 76698ea into JuliaLang:master Feb 26, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
…liaLang#39701)

Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de>
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
…liaLang#39701)

Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants