Calculates the area of intersection of rectangles, specified by position
both vectors of length 4, or both matrices with 4 columns.
Rectangles are specified as position vectors, that is
is the lower left corner,
x are width and height
of the rectangle. When
y are matrices, each row is
assumed to be a position vector specifying a rectangle.
Returns a scalar if
y are vectors. If
m-by-4 matrix, then it returns
R with entry
(i,j) being the area
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.