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

Introduces the manifold of centered matrices #185

Merged
merged 27 commits into from
May 30, 2020

Conversation

r-dornig
Copy link
Contributor

@r-dornig r-dornig commented May 7, 2020

Transfers the manifold of centered matrices from the Matlab package manopt ( see https://www.manopt.org/reference/manopt/manifolds/euclidean/centeredmatrixfactory.html) to Julia.

@r-dornig
Copy link
Contributor Author

r-dornig commented May 7, 2020

I added a test tolerance for manifold points and it seems to fail for fixed rank matrices on Julia 1.4. But it works locally on my Julia 1.4.

Copy link
Member

@kellertuer kellertuer left a comment

Choose a reason for hiding this comment

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

Thanks for the PR and getting it here. I checked the error we ran into, and actually setting the default atol=1 was not a good (also not for tangent). So I made the few changes as a review here. With the new default I also directly added the values required for centered matrices.

test/utils.jl Outdated Show resolved Hide resolved
test/centered_matrices.jl Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented May 22, 2020

Codecov Report

Merging #185 into master will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #185      +/-   ##
==========================================
+ Coverage   94.30%   94.34%   +0.04%     
==========================================
  Files          50       51       +1     
  Lines        3211     3234      +23     
==========================================
+ Hits         3028     3051      +23     
  Misses        183      183              
Impacted Files Coverage Δ
src/Manifolds.jl 100.00% <ø> (ø)
src/manifolds/CenteredMatrices.jl 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 4c07ec5...7cbf687. Read the comment docs.

@kellertuer kellertuer added the Ready-for-Review A label for pull requests that are feature-ready label May 29, 2020
@kellertuer kellertuer merged commit b0589f5 into JuliaManifolds:master May 30, 2020
@kellertuer kellertuer removed the Ready-for-Review A label for pull requests that are feature-ready label Aug 6, 2020
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.

3 participants