Skip to content

Commit

Permalink
Fixed typo in MultivariateNormal PDF equation
Browse files Browse the repository at this point in the history
  • Loading branch information
SleepySpaceBear authored and YeungOnion committed Dec 3, 2024
1 parent 748aa55 commit ab55c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distribution/multivariate_normal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ where
/// # Formula
///
/// ```text
/// (2 * π) ^ (-k / 2) * det(Σ) ^ (1 / 2) * e ^ ( -(1 / 2) * transpose(x - μ) * inv(Σ) * (x - μ))
/// (2 * π) ^ (-k / 2) * det(Σ) ^ (-1 / 2) * e ^ ( -(1 / 2) * transpose(x - μ) * inv(Σ) * (x - μ))
/// ```
///
/// where `μ` is the mean, `inv(Σ)` is the precision matrix, `det(Σ)` is the determinant
Expand Down

0 comments on commit ab55c61

Please sign in to comment.