covered_volume_mc: Total volume of union of rectangles using Monte Carlo...

View source: R/covercorr_internal.R

covered_volume_mcR Documentation

Total volume of union of rectangles using Monte Carlo integration

Description

Total volume of union of rectangles using Monte Carlo integration

Usage

covered_volume_mc(zmin_s, zmax_s, M)

Arguments

zmin_s

n x d matrix of bottomleft coordinates, one row per rectangle

zmax_s

n x d matrix of topright coordinates, one row per rectangle

M

number of Monte Carlo integration sample points

Details

This is a wrapper of the C_covered_volume_mc function in C

Value

a list of the estimated volume of the union and its standard error


covercorr documentation built on Aug. 25, 2025, 5:11 p.m.