pineappl_grid_fill_array2

Function pineappl_grid_fill_array2 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pineappl_grid_fill_array2( grid: *mut Grid, orders: *const usize, observables: *const f64, ntuples: *const f64, channels: *const usize, weights: *const f64, size: usize, )
Expand description

Similar to pineappl_grid_fill_array but accepts any given momentum fractions {x1, …,xn} at various energy scalesfor the given value of the order, observable, and lumi with weight.

§Safety

If grid does not point to a valid Grid object, for example when grid is the null pointer, this function is not safe to call. Additionally, all remaining pointer parameters must be arrays as long as specified by size.