Skip to content

Missed simplification opportunity for productmeasure #133

Open
@cscherrer

Description

In this measure

julia> d = productmeasure(fill(Lebesgue(), 5))
ProductMeasure([Lebesgue(ℝ), Lebesgue(ℝ), Lebesgue(ℝ), Lebesgue(ℝ), Lebesgue(ℝ)])

we have

julia> Base.issingletontype(eltype(marginals(d)))
true

But this guarantees we could instead have written it as a power measure. Let's update the powermeasure to account for this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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