Function pineappl_capi::pineappl_grid_fill_array
source · #[no_mangle]
pub unsafe extern "C" fn pineappl_grid_fill_array(
grid: *mut Grid,
x1: *const f64,
x2: *const f64,
q2: *const f64,
orders: *const usize,
observables: *const f64,
lumis: *const usize,
weights: *const f64,
size: usize
)
Expand description
Fill grid
with as many points as indicated by size
.
§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
.