Function pineappl_capi::pineappl_subgrid_fill_q2_slice[][src]

#[no_mangle]pub unsafe extern "C" fn pineappl_subgrid_fill_q2_slice(
    subgrid: *mut SubGrid,
    index: usize,
    slice: *const f64
)

Fills the slice with the given index of subgrid with the contents of slice.

Safety

The parameter subgrid must point to a valid SubGrid object and be non-null, index must be an index smaller than the parameter q2_bins the SubGrid was created with, and slice must be an array at least as large as the square of the parameter x_bins the SubGrid was created with.