JuliaMath / JuliaMath/MeasureBase.jl

Infrastructure for superpositions

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
32
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Users can build a `SuperpositionMeasure` in a few ways. We need `a + b` and `sum((a,b))` to result in the same thing. I think we should have one method to handle both cases. Whether that's a method on Tuples or a `...` method mostly comes down to performance and which is more natural to code.

There's a fair amount more to do for general superpositions. In the end we need a data structure that encodes how the base measures are related, storing everything in a tree structure. That will make it easy to compute things efficiently, since it will let us share log-density computations. It will also make it easier to fold more measures into an existing superposition.

We'll also need to build the `logmass` API we've talked about before.

_Originally posted by @cscherrer in https://github.com/cscherrer/MeasureBase.jl/pull/46#discussion_r863853741_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.