mirtorch.linear.basics.Diffnd

class mirtorch.linear.basics.Diffnd(size_in: Sequence[int], dims: Sequence[int])

A multidimensional finite difference operator, with the periodic boundary condition.

dims

assign the dimension to apply operation

__init__(size_in: Sequence[int], dims: Sequence[int])

Initiate the linear operator.

Methods

__init__(size_in, dims)

Initiate the linear operator.

adjoint(x)

Apply the adjoint operator

apply(x)

Apply the forward operator

to(*args, **kwargs)

Copy to different devices

Attributes

H

Apply the (Hermitian) transpose