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

More general division by triangular matrices #837

Merged
merged 1 commit into from
Oct 16, 2020

Conversation

mateuszbaran
Copy link
Collaborator

I've added right division by triangular matrices, division of structured matrices and removed some related dead code.

Copy link
Member

@c42f c42f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As always, I love a good PR which removes code... but this adds functionality as well, very nice :)

@inline transpose(A::UnitUpperTriangular{<:Any,<:StaticMatrix}) =
UnitLowerTriangular(transpose(A.data))
@inline adjoint(A::UnitUpperTriangular{<:Any,<:StaticMatrix}) =
UnitLowerTriangular(adjoint(A.data))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's surprising that Base doesn't seem to include these rules.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth opening an issue in Julia repository?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I can't think of a reason these shouldn't be structure-preserving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants