8000 fft(pack): The overwrite_x parameter can be confusing · Issue #10241 · scipy/scipy · GitHub
[go: up one dir, main page]

Skip to content
fft(pack): The overwrite_x parameter can be confusing #10241
@peterbell10

Description

@peterbell10

Related to #10238

Some people find the argument overwrite_x to be confusing (cupy/cupy#1988). The argument allows the implementation to use the input array as scratch space which may or may not have the output written to it. However, some users interpret it as an inplace transform where the output is written back to the input array.

It has been suggested to remove it entirely but could also be renamed. FFTW calls this FFTW_DESTROY_INPUT which makes it clearer that this is not a guarunteed inplace transform/out-parameter.

See also: #2155, #8500

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-decisionItems that need further discussion before they are merged or closedscipy.fft

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0