Skip to content

Document element type returned by Array::zeros #1217

@dstansby

Description

@dstansby

Doing something like let xs = Array::zeros((100, 3));, it's not clear from the API or documentation for zeros what the return type is. Ie. are the elements integer, f64, f32 etc.? It would be good to document this, alongside the right way to construct arrays of zeros with different element datatypes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions