pub trait SamplerStats<M: Math> {
type Stats: Storable<StatsDims>;
type StatsOptions: Copy + Send + Sync;
// Required method
fn extract_stats(
&self,
math: &mut M,
opt: Self::StatsOptions,
) -> Self::Stats;
}