pub struct Result {
pub val: f64,
pub err: f64,
}
Expand description
The error handling form of the special functions always calculate an error estimate along with the value of the result. Therefore, structures are provided for amalgamating a value and error estimate.
Fields§
§val: f64
Contains the value.
err: f64
Contains an estimate of the absolute error in the value.
Implementations§
Trait Implementations§
source§impl From<gsl_sf_result_struct> for Result
impl From<gsl_sf_result_struct> for Result
source§fn from(v: gsl_sf_result) -> Self
fn from(v: gsl_sf_result) -> Self
Converts to this type from the input type.
impl Copy for Result
Auto Trait Implementations§
impl RefUnwindSafe for Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl UnwindSafe for Result
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more