numpy_fft.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:mpiFFT4py 作者: spectralDNS 项目源码 文件源码
def dct(a, b, type=2, axis=0, **kw):
    if iscomplexobj(a):
        b.real[:] = dct1(a.real, type=type, axis=axis)
        b.imag[:] = dct1(a.imag, type=type, axis=axis)
        return b

    else:
        b[:] = dct1(a, type=type, axis=axis)
        return b

# Define functions taking both input array and output array
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号