treewalk.py 文件源码

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

项目:pykdgrav 作者: omgspace 项目源码 文件源码
def GetPotentialParallel(x,tree, G, theta):
    result = empty(x.shape[0])
    for i in prange(x.shape[0]):
        result[i] = G*PotentialWalk(x[i],0.,tree,theta)
    return result
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号