line_grid, an Octave code which generates a grid of points over the interior of a line segment in 1D.
The 1D line segment is the set of points X such that:
A <= X <= B
A set of parameters is specified:
The centering options allow the user to control the centering of the equally spaced points. Assume A = 0 and B = 1. Then, using N = 4, the centering options will produce 4 equally spaced points as follows:
The computer code and data files described and made available on this web page are distributed under the MIT license
line_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.
simplex_grid, an Octave code which generates a grid of points over the interior of a simplex in m dimensions.