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

DomainSets.jl #19

Closed
wants to merge 24 commits into from
Closed

DomainSets.jl #19

wants to merge 24 commits into from

Conversation

cscherrer
Copy link
Collaborator

@cscherrer cscherrer commented Sep 7, 2021

This PR adds a dependency on DomainSets.jl. DomainSets also depends on CompositeTypes, which makes it easy to work with "components". This could be independently useful for us, for things like product measures or superpositions.

Q&A

What's the point of this?

In lots of cases, we need to work with the support of a given measure. It's important to have a way to test for inclusion and take sums, products, intersections, and unions. We currently have a very hacky approach to this, but DomainSets is built for exactly this purpose. Without it or something similar, we'd eventually have to build something like it at some point. Better to re-use an existing package, both for us and for the ecosystem as a whole.

Will this affect ManifoldMeasures?

My guess is that it should be straightforward to set up some basic functionality converting between the two, in cases where that makes sense. But we need to confirm this with @sethaxen.

What about the StaticArrays dependency?

Yes, DomainSets depends on StaticArrays. The potential concern here is that MeasureBase is intended to be relatively light-weight. Whather this is a problem is maybe more of a question for you, for example @torfjelde and @devmotion have both pointed out the importance of a lightweight core package.

I don't know if StaticArrays could be made an optional dependency of DomainSets, but I've raised the issue in
JuliaApproximation/DomainSets.jl#91.

@codecov
Copy link

codecov bot commented Sep 7, 2021

Codecov Report

Merging #19 (cfe59e6) into master (0a69cef) will decrease coverage by 0.56%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   36.47%   35.91%   -0.57%     
==========================================
  Files          29       29              
  Lines         636      632       -4     
==========================================
- Hits          232      227       -5     
- Misses        404      405       +1     
Impacted Files Coverage Δ
src/MeasureBase.jl 33.33% <ø> (ø)
src/domains.jl 0.00% <0.00%> (-35.72%) ⬇️

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 0a69cef...cfe59e6. Read the comment docs.

@github-actions
Copy link

github-actions bot commented Sep 7, 2021

Package name latest stable
MeasureTheory.jl
Mitosis.jl
Soss.jl

@github-actions
Copy link

github-actions bot commented Sep 7, 2021

Package name latest stable
MeasureTheory.jl

@cscherrer cscherrer mentioned this pull request Sep 7, 2021
@github-actions
Copy link

github-actions bot commented Sep 7, 2021

Package name latest stable
MeasureTheory.jl

@github-actions
Copy link

github-actions bot commented Oct 4, 2021

Package name latest stable
MeasureTheory.jl

@cscherrer cscherrer closed this May 9, 2022
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.

1 participant