Struct ls_solver::api::Performance
source · pub struct Performance {
pub rel_err: f64,
pub time: u128,
pub iter: u32,
}
Expand description
Performace is a struct returned by compute_precision.
It contains three fields:
- rel_err: the relative error of the computed result against the correct one
- time: the time the routine take to solve the system
- iter: the number of iteration the routine take to solve the system
Fields§
§rel_err: f64
§time: u128
§iter: u32
Auto Trait Implementations§
impl RefUnwindSafe for Performance
impl Send for Performance
impl Sync for Performance
impl Unpin for Performance
impl UnwindSafe for Performance
Blanket Implementations§
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.