pub trait Error {
// Required methods
fn error(self) -> Self;
fn compl_error(self) -> Self;
fn inv_error(self) -> Self;
}
Expand description
Error functions.
Required Methods§
sourcefn compl_error(self) -> Self
fn compl_error(self) -> Self
Compute the complementary error function.
sourcefn inv_error(self) -> Self
fn inv_error(self) -> Self
Compute the inverse of the error function.
The code is based on a C implementation by Alijah Ahmed.
Object Safety§
This trait is not object safe.