ellipse_grid, an Octave code which generates a grid of points over the interior of an ellipse in 2D.
The library allows the user to define an ellipse by choosing its center and the length of its major and minor axes. The user also choose N, the number of subintervals into which the minor radius will be subdivided. It then returns the gridpoints defined by that choice.
The computer code and data files described and made available on this web page are distributed under the MIT license
ellipse_grid is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
ellipse, an Octave code which performs various geometric calculations for ellipses and ellipsoids.
ellipse_monte_carlo an Octave code which uses the Monte Carlo method to estimate the value of integrals over the interior of an ellipse in 2D.
matlab_grid, an Octave code which generates a regular grid of points inside a variety of regions in one, two, three or many dimensions.