linalg.py 文件源码

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

项目:product-taz 作者: TheAnomalieZ 项目源码 文件源码
def chol_add(L, A):
    N = L.shape[0]
    S12 = spla.solve_triangular(L, A[:N,N:], lower=True)
    S22 = spla.cholesky(A[N:,N:] - S12.T.dot(S12)).T
    L_update = np.zeros(A.shape)
    L_update[:N,:N] = L
    L_update[N:,:N] = S12.T
    L_update[N:,N:] = S22
    return L_update
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号