sgcrf.py 文件源码

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

项目:sgcrfpy 作者: dswah 项目源码 文件源码
def chol_inv(B, lower=True):
    """
    Returns the inverse of matrix A, where A = B*B.T,
    ie B is the Cholesky decomposition of A.

    Solves Ax = I
    given B is the cholesky factorization of A.
    """
    return cho_solve((B, lower), np.eye(B.shape[0]))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号