Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface describing function options.

Hierarchy

Index

Properties

Properties

Optional dtype

dtype: DataType

Output array data type.

Notes

  • Must be a floating-point data type or 'generic'.
  • If both start and stop are the same type (either 'float64', 'complex64', or 'complex128'), the default output array data type is the same type as the input values (either 'float64', 'complex64', or 'complex128', respectively). Otherwise, the default output array data type is 'complex128'.

Optional endpoint

endpoint: undefined | false | true

Boolean indicating whether to include the stop value in the output array.

Notes

  • If false, the function generates length + 1 linearly spaced values over the interval [start, stop] and only writes length values to the output array, thus excluding stop from the output array. Accordingly, for a fixed length, the spacing between adjacent values in the output array changes depending on the value of endpoint.