Fix descriptions of erfc and erfcf
As described in the second paragraph of the docs for these functions, they are the complementary error function, not the error function.
This commit is contained in:
parent
5653205326
commit
929b5841db
2 changed files with 2 additions and 2 deletions
|
|
@ -263,7 +263,7 @@ pub fn erf(x: f64) -> f64 {
|
|||
}
|
||||
}
|
||||
|
||||
/// Error function (f64)
|
||||
/// Complementary error function (f64)
|
||||
///
|
||||
/// Calculates the complementary probability.
|
||||
/// Is `1 - erf(x)`. Is computed directly, so that you can use it to avoid
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ pub fn erff(x: f32) -> f32 {
|
|||
}
|
||||
}
|
||||
|
||||
/// Error function (f32)
|
||||
/// Complementary error function (f32)
|
||||
///
|
||||
/// Calculates the complementary probability.
|
||||
/// Is `1 - erf(x)`. Is computed directly, so that you can use it to avoid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue