8000 Array creation type issue · Issue #13 · grimmerk/numjs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Array creation type issue #13
Open
@fullmetalfelix

Description

@fullmetalfelix

The instructions indicate that
nj.array(new Uint8Array([1, 2, 3]));
and
nj.array([1, 2, 3], "uint8");
are the same, but in fact the first one returns an object with dtype="array", while the second one returns an object with dtype="uint8".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0