18 research outputs found
SciPy 1.0: fundamental algorithms for scientific computing in Python.
SciPy is an open-source scientific computing library for the Python programming language. Since its initial release in 2001, SciPy has become a de facto standard for leveraging scientific algorithms in Python, with over 600 unique code contributors, thousands of dependent packages, over 100,000 dependent repositories and millions of downloads per year. In this work, we provide an overview of the capabilities and development practices of SciPy 1.0 and highlight some recent technical developments
A Rectilinearity Measurement for Polygons
In this paper we define a function 7g(P) which is defined for any polygon P and which maps a given polygon P into a number from the interval (0, 1]. The number 7g(P) can be used as an estimate of the rectilinearity of P. The mapping 7(P) has the following desirable properties: - any polygon P has the estimated rectilinearity 7(P) which is a number from (0, 1]; - 7(P)=1 if and only if P is a rectilinear polygon, i.e., all interior angles of P belong to the set {,r/2, 3,r/2}; - inf 7(P) = 0, where H denotes the set of all polygons; PCH - a polygon's rectilinearity measure is invariant under similarity trans- formations