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

Autonne-Takagi decomposition #154

Merged
merged 6 commits into from Mar 30, 2020
Merged

Autonne-Takagi decomposition #154

merged 6 commits into from Mar 30, 2020

Conversation

nquesada
Copy link
Collaborator

Adds the ability to perform the Autonne-Takagi decomposition of a complex-symmetric matrix.

@codecov
Copy link

codecov bot commented Mar 29, 2020

Codecov Report

Merging #154 into master will not change coverage by %.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #154   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          939       955   +16     
=========================================
+ Hits           939       955   +16     
Impacted Files Coverage Δ
thewalrus/symplectic.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39f14cc...7b66a75. Read the comment docs.

@nquesada nquesada requested review from josh146 and thisac March 29, 2020 23:44
Copy link
Contributor

@thisac thisac left a comment

Choose a reason for hiding this comment

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

Looks great! Nice tests. 💯


Returns:
tuple[array, array]: (r, U), where r are the singular values,
and U is the Autonne-Takagi unitary, such that :math:`A = U \diag(r) U^T`.
Copy link
Contributor

Choose a reason for hiding this comment

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

What does the \diag(r) in :math:'A = U \diag(r) U^T' print? I don't think that's a regular latex command, or does it somehow work differently in Sphinx?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nothing really. Typically we just use a macro defined somewhere to replace \diag to \text{diag}.

@nquesada nquesada merged commit 7a6c4a1 into master Mar 30, 2020
@nquesada nquesada deleted the autonne branch March 30, 2020 17:59

Returns:
tuple[array, array]: (r, U), where r are the singular values,
and U is the Autonne-Takagi unitary, such that :math:`A = U \diag(r) U^T`.
Copy link
Member

Choose a reason for hiding this comment

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

A bit late, but there is a typo here, this line should be de-indented!

        tuple[array, array]: (r, U), where r are the singular values,
        and U is the Autonne-Takagi unitary, such that :math:`A = U \diag(r) U^T`.

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.

None yet

3 participants