Calculate partial cross-section area from DAWG-formatted width and height matrices

calcdA_mat(w, h, zero = c("first", "minimum", "median"))

Arguments

w

Matrix of widths

h

Matrix of heights

zero

Where to reference the zero value of dA?