def __init__(self, xshape, dtype, opt=None):
"""
Initialise an FISTADFT object with problem size and options.
Parameters
----------
xshape : tuple of ints
Shape of working variable X (the primary variable)
dtype : data-type
Data type for working variables
opt : :class:`FISTADFT.Options` object
Algorithm options
"""
if opt is None:
opt = FISTADFT.Options()
Nx = np.product(xshape)
super(FISTADFT, self).__init__(Nx, xshape, dtype, opt)
self.Xf = None
self.Yf = None
评论列表
文章目录