Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@asmeurer

Description

@asmeurer
Issue body actions

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.RFC feature request which has been accepted.RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.topic: FFTFast Fourier transforms.Fast Fourier transforms.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.