View Source Imglab.Sequence (imglab v0.3.0)
Provides a set of functions to specify integer number sequences.
Link to this section Summary
Functions
Returns a geometric sequence of integer numbers inside an interval and with specific size as list.
Link to this section Functions
Returns a geometric sequence of integer numbers inside an interval and with specific size as list.
examples
Examples
iex> Imglab.Sequence.sequence(100, 8192)
[100, 134, 180, 241, 324, 434, 583, 781, 1048, 1406, 1886, 2530, 3394, 4553, 6107, 8192]
iex> Imglab.Sequence.sequence(100, 8192, 1)
[100]
iex> Imglab.Sequence.sequence(100, 8192, 2)
[100, 8192]
iex> Imglab.Sequence.sequence(100, 8192, 4)
[100, 434, 1886, 8192]
iex> Imglab.Sequence.sequence(70, 60, 6)
[70, 68, 66, 64, 62, 60]