Skip to main content

mean_1d

Function mean_1d 

Source
pub fn mean_1d(data: &[f64], n: usize, m: usize) -> Vec<f64>
Expand description

Compute the mean function across all samples (1D).

§Arguments

  • data - Column-major matrix (n x m)
  • n - Number of samples
  • m - Number of evaluation points

§Returns

Mean function values at each evaluation point