Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 367 Bytes

Ones.to_linspace.md

File metadata and controls

26 lines (15 loc) · 367 Bytes

Ones.to_linspace (function)

def to_linspace(self)

Convert from Ones to Linspace (only supported for flat arrays in which shape is an integer, not a tuple).

Linspace(1, 1, self.shape)

Returns

Raises

  • NotImplementedError: if the shape is not flat.