Skip to content

Replace exp(lbeta(a,b)) with beta(a,b) #1218

@andrjohns

Description

@andrjohns

Description

Several functions are calling exp(lbeta(a, b)) (i.e. the exponential of the log of the beta function), which could be replaced with the introduction of the beta function.

Example

Can be seen in prim/scal/fun/grad_reg_inc_beta and prim/scal/prob/beta_binomial_cdf (among others

Current Version:

v2.19.1

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