Thanks to visit codestin.com
Credit goes to github.com

Skip to content

RFC: add support for a dtype kwarg to fftfreq and rfftfreq #717

Closed
@asmeurer

Description

@asmeurer

The specs for fftfreq and rfftfreq say

"The returned array must have a real-valued floating-point data type determined by Type Promotion Rules."

But there is no type promotion here, since none of the input arguments are arrays. Presumably it should say that the return type should have the default real floating-point dtype.

But that also begs the question of whether these functions should have a dtype argument like the other array creation functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedRFC feature request which has been accepted.RFCRequest for comments. Feature requests and proposed changes.topic: FFTFast Fourier transforms.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions