TensorSpace.element¶
- TensorSpace.element(inp=None, **kwargs)¶
Create a
LinearSpaceElement
frominp
or from scratch.If called without
inp
argument, an arbitrary element of the space is generated without guarantee of its state.If
inp in self
, this has returninp
or a view ofinp
, otherwise, a copy may or may not occur.- Parameters:
- inpoptional
Input data from which to create the element.
- kwargs
Optional further arguments.
- Returns:
- element
LinearSpaceElement
A new element of this space.
- element