Skip to content

Some built in stan functions are missing #10

@nsiccha

Description

@nsiccha

An incomplete list of missing built in stan functions or signatures and how to add some of them:

@deffun begin 
    positive_infinity()::real
    negative_infinity()::real
    logit(::real)::real
    bernoulli_lpmf(::int, theta)
    bernoulli_lpmf(::int[n], theta)
    bernoulli_rng(::vector[n])::int[n]
    bernoulli_lpmfs(y::int, args...) = bernoulli_lpmf(y, args...)
    bernoulli_lpmfs(y::int[n], args...) = jbroadcasted(bernoulli_lpmfs, y, args...)
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions