Skip to content
This repository was archived by the owner on Dec 2, 2023. It is now read-only.
This repository was archived by the owner on Dec 2, 2023. It is now read-only.

numpy.fft #94

@hfarazi

Description

@hfarazi

Hi,

Do you think the following is correct?

def fft2(x):
    return np.fft.fft2(x)
@adjoint(fft2)
def dfft2(y, x):
    d[x] = np.fft.fft2(d[y])

    
def ifft2(x):
    return np.fft.ifft2(x)
@adjoint(ifft2)
def difft2(y, x):
    d[x] = np.fft.ifft2(d[y])

    
def conjugate(x):
    return np.conjugate(x)
@adjoint(conjugate)
def dconjugate(y, x):
    d[x] = np.conjugate(d[y])

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