boulderopalscaleup.common.LinspaceIterable

class boulderopalscaleup.common.LinspaceIterable(*, dtype='linspace', start, stop, count=101)

A linear space of float values.

Creates evenly spaced values over a specified interval, similar to numpy.linspace.

Variables

  • dtype (Literal [ "linspace" ]) – Type discriminator for serialization.
  • start (float) – The starting value of the sequence.
  • stop (float) – The final value of the sequence.
  • count (int) – The number of values to generate. Defaults to 101.

Was this useful?