Skip to content

default numpy.zeros() dtype is float #1

Description

@vberthiaume

What a great ressource! Thank you so much for this.

As per here, it appears that this in matlab
zeros(3,5)
is simply this in numpy (in numpy.float64):
np.zeros((3,5))
So no need for this:
zeros((3,5),Float)

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