Skip to content

Commit

Permalink
Adjust a few docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Dec 12, 2024
1 parent 66d9045 commit dc93933
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/beta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ use crate::Gamma;
pub trait Beta {
/// Compute the regularized incomplete beta function.
///
/// `ln_beta` should be precomputed as `p.ln_beta(q)`.
///
/// The code is based on a [C implementation][1] by John Burkardt. The
/// original algorithm was published in Applied Statistics and is known as
/// [Algorithm AS 63][2] and [Algorithm AS 109][3].
///
/// `ln_beta` should be precomputed as `p.ln_beta(q)`.
///
/// [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
fn inc_beta(self, p: Self, q: Self, ln_beta: Self) -> Self;

/// Compute the inverse of the regularized incomplete beta function.
///
/// `ln_beta` should be precomputed as `p.ln_beta(q)`.
///
/// The code is based on a [C implementation][1] by John Burkardt. The
/// original algorithm was published in Applied Statistics and is known as
/// [Algorithm AS 64][2] and [Algorithm AS 109][3].
///
/// `ln_beta` should be precomputed as `p.ln_beta(q)`.
///
/// [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
Expand Down

0 comments on commit dc93933

Please sign in to comment.