Open
Description
Our domains.jl is currently kind of hacked together. When I wondered about replacing this with ManifoldsBase, @gdalle reminded me about DomainSets.jl:
Just popping by to mention https://github.com/JuliaApproximation/DomainSets.jl as part of the discussion of
AbstractDomain
s.Originally posted by @gdalle in #7 (comment)
Funnily enough, we had some brief discussion about this three years ago here.
There are a few places domains come up, though we don't currently have a uniform interface for managing them
- For determining a bijection to a real vector space
- To anticipate error conditions in
logdensity
and replace these cases with-Inf
- With
⊆
, for≪
computations (nested supports are necessary for absolute continuity) - With
∩
for supports of pointwise product (⊙
) - With
∪
for superposition (+
)
Some potential concerns:
- Can this play nice with ManifoldMeasures? (cc @sethaxen)
- DomainSets currently depends on
StaticArrays
, which is a heavy dependency for a core library like this. Would it be possible to refactor DomainSets somewhat to use Static.jl instead, possibly with an optional StaticArrays dependency? Or maybe there's a better approach? (This part should probably be a new issue in DomainsSets, cc @daanhb @dlfivefifty)
Metadata
Metadata
Assignees
Labels
No labels