skzeros.Rectangle¶
- class skzeros.Rectangle(bottom_left, top_right, /, *, parent=None)¶
Rectangle region in the complex plane.
- Parameters:
- __init__(bottom_left, top_right, /, *, parent=None)¶
Methods
__init__(bottom_left, top_right, /, *[, parent])argument_principle(f, f_z, *[, method, ...])contour_integral(f, *[, method, quadrature_args])Compute the contour integral of f around the region.
plot(ax)Plot the rectangle on a given matplotlib axis.
sample_boundary(t)Sample points on the boundary of the rectangle.
subdivide(*[, offset])Subdivide the rectangle into two smaller rectangles.
Attributes
childrenbottom_leftBottom left corner of the rectangle.
cornersReturns the corners of the rectangle in a counter clockwise order starting from the bottom left.
parenttop_rightTop right corner of the rectangle.