pub struct CaptureSummary {
pub elements: u64,
pub finite: u64,
pub non_finite: u64,
pub nan: u64,
pub positive_infinity: u64,
pub negative_infinity: u64,
pub min: Option<f64>,
pub max: Option<f64>,
pub mean: Option<f64>,
pub rms: Option<f64>,
}Expand description
Values are converted to F32 before statistics; finite-only aggregates are then accumulated in F64. Integer raw captures remain exact; integer statistics may round. Empty/all-nonfinite inputs have None aggregates, never fabricated zeros.
Fields§
§elements: u64Total element count, including non-finite values.
finite: u64Number of finite values after F32 conversion.
non_finite: u64Combined NaN and infinity count after F32 conversion.
nan: u64Number of NaNs after F32 conversion.
positive_infinity: u64Number of positive infinities after F32 conversion.
negative_infinity: u64Number of negative infinities after F32 conversion.
min: Option<f64>Minimum finite value; absent when there are no finite values.
max: Option<f64>Maximum finite value; absent when there are no finite values.
mean: Option<f64>Finite-only arithmetic mean; absent when there are no finite values.
rms: Option<f64>Finite-only root mean square; absent when there are no finite values.
Trait Implementations§
Source§impl Clone for CaptureSummary
impl Clone for CaptureSummary
Source§fn clone(&self) -> CaptureSummary
fn clone(&self) -> CaptureSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more