This package provides types and methods that are useful for working with curves and regions in the complex plane.
Most functionality is provided through Julia types. Per Julia conventions, these are all capitalized. You use these capitalized names to create values of the type; e.g., Segment and Circle.
Other methods may create values of these types, but since they are not distinct types themselves, they are not capitalized. For example, the n_gon method creates a Polygon.
The methods in this package should work not only with the built-in Complex type, but also with the Polar and Spherical types from the ComplexValues package, which it re-exports.
Please see the documentation for more details.
Please open an issue if you encounter any problems.
The package can be installed with Julia's package manager:
julia> import Pkg
julia> Pkg.add("ComplexRegions")Or, just type ] add ComplexRegions at the usual command prompt.
Claude has been used since version 0.3.6 to assist with finding bugs, identifying and fixing performance issues such as type stability, updating package maintenance tools, and consultations on making refactors and improvements. All AI work has been incremental and human-supervised. The original handwritten tests have never been removed.