Function pineappl_capi::pineappl_grid_bin_limits_right
source · #[no_mangle]
pub unsafe extern "C" fn pineappl_grid_bin_limits_right(
grid: *const Grid,
dimension: usize,
right: *mut f64
)
Expand description
Write the right limits for the specified dimension into right
.
§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. The parameter right
must point to an array that is as
large as grid
has bins. If dimension
is larger or equal the number of dimensions for this
grid, nothing is written into right
, the result is undefined.