[][src]Function pineappl_capi::pineappl_lumi_add

#[no_mangle]pub unsafe extern "C" fn pineappl_lumi_add(
    lumi: *mut Lumi,
    combinations: usize,
    pdg_id_pairs: *const i32,
    factors: *const f64
)

Adds a linear combination of initial states to the luminosity function lumi.

Safety

The parameter lumi must point to a valid Lumi object created by pineappl_lumi_new. pdg_id_pairs must be an array with length 2 * combinations, and factors with length of combinations.