electrostatics.py 文件源码

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

项目:electrostatics 作者: tomduck 项目源码 文件源码
def lininterp2(x1, y1, x):
    """Linear interpolation at points x between numpy arrays (x1, y1).
    Only y1 is allowed to be two-dimensional.  The x1 values should be sorted
    from low to high.  Returns a numpy.array of y values corresponding to
    points x.
    """
    return splev(x, splrep(x1, y1, s=0, k=1))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号