Function pineappl_capi::pineappl_grid_fill_all
source · #[no_mangle]
pub unsafe extern "C" fn pineappl_grid_fill_all(
grid: *mut Grid,
x1: f64,
x2: f64,
q2: f64,
order: usize,
observable: f64,
weights: *const f64
)
Expand description
Fill grid
for the given momentum fractions x1
and x2
, at the scale q2
for the given
value of the order
and observable
with weights
. The parameter of weight must contain a
result for entry of the luminosity function the grid was created with.
§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.