Skip to content

Commit

Permalink
Added information to ln_beta argument
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-lieser committed Oct 3, 2024
1 parent a818b57 commit d29f860
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/beta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ pub trait Beta {
/// [1]: http://people.sc.fsu.edu/~jburkardt/c_src/asa109/asa109.html
/// [2]: http://www.jstor.org/stable/2346797
/// [3]: http://www.jstor.org/stable/2346887
///
/// ln_beta should be precomputed as `p.ln_beta(q)`.
fn inc_beta(self, p: Self, q: Self, ln_beta: Self) -> Self;

/// Compute the inverse of the regularized incomplete beta function.
Expand All @@ -27,6 +29,8 @@ pub trait Beta {
/// [1]: http://people.sc.fsu.edu/~jburkardt/c_src/asa109/asa109.html
/// [2]: http://www.jstor.org/stable/2346798
/// [3]: http://www.jstor.org/stable/2346887
///
/// ln_beta should be precomputed as `p.ln_beta(q)`.
fn inv_inc_beta(self, p: Self, q: Self, ln_beta: Self) -> Self;

/// Compute the natural logarithm of the beta function.
Expand Down

0 comments on commit d29f860

Please sign in to comment.