Skip to main content

linspace

lq.linspace(start, end, num=50, include-end=true)

Generates an array of evenly-spaced numbers in the interval [start, end) or [start, end].

Parameters

start : int | float

Start of the range.

end : int | float

End of the range.

num : int    default: 50

Number of evenly-spaced values to produce.

include-end : bool    default: true

Whether to include the end of the range. If true, samples are taken for the closed interval [start, end].