Skip to content

Add asarray to ProductSpaceElement #1139

@adler-j

Description

@adler-j

Currently this works:

>>> np.asarray(vec)

but this does not

>>> vec.asarray()
AttributeError: 'ProductSpaceElement' object has no attribute 'asarray'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions