def c2f(r, i, ctype_name):
"""
Convert strings to complex number instance with specified numpy type.
"""
ftype = c2f_dict[ctype_name]
return np.typeDict[ctype_name](ftype(r) + 1j * ftype(i))
packers.py 文件源码
python
阅读 30
收藏 0
点赞 0
评论 0
评论列表
文章目录