Skip to content

Change bind to compound? #227

Open
Open
@cscherrer

Description

@cscherrer

For push-forwards, we have

pushfwd(f, m)

If the f of a pushforward is noisy, it becomes a kernel, and the pushforward becomes a compound measure:
https://en.wikipedia.org/wiki/Compound_probability_distribution

This is currently called bind, because it matches the monadic bind operation from functional programming. But bind is unfamiliar to most users.

Maybe this should instead be

compound(k, m)

where k is a kernel. For functions, we'd have

compound(f::Function, m::AbstractMeasure) = compound(kernel(f), m)

For more discussion, see #226

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions