Skip to content

vstack behavior different to NumPy #83

@ajz34

Description

@ajz34

Currently, stacking 1-dim vectors vertically to 2-dim seems work different to NumPy:

rt::vstack([v1, v2]) // stack to 1-dim, which is different to NumPy
rt::stack(([v1, v2], -1)) // this is the working solution that corresponds to np.vstack

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions