Skip to main content

Module statistical

Module statistical 

Source
Expand description

Statistical intrinsics — full migration to typed marshal layer.

Per the intrinsics-typed-CC migration’s per-file table (see docs/defections.md 2026-05-07 intrinsics-typed-CC entry’s predicted error-drop calibration subsection), all 4 statistical intrinsics (correlation, covariance, percentile, median) migrate to register_typed_fn_N typed entries via create_statistical_intrinsics_module.

percentile and median mutate an owned f64 copy — the marshal layer’s always-clone semantics for owned-data input ensure this is safe (per the let-vs-var Rust-like-lifetime analysis at docs/defections.md 2026-05-07 zero-copy entry lines 281-291).

Provides efficient implementations of correlation, covariance, percentiles, and other statistical measures.

Functions§

create_statistical_intrinsics_module
Create the statistical intrinsics module with 4 typed-marshal entry points.