首页 > 解决方案 > 如何在Python中用稀疏矩阵求解具有cholesky分解的线性系统?

问题描述

我有一个稀疏矩阵,我用 Theano 用这条线进行了 Cholesky 分解:

theano.tensor.slinalg.Cholesky(lower=True) 

它说它有效并显示了这一点:

Cholesky{lower=<32x32 sparse matrix of type '<class 'numpy.float64'>'
    with 154 stored elements in Compressed Sparse Row format>, destructive=False, on_error='raise'}

我应该如何解决系统并找到x?我试过了,theano.tensor.slinalg.Solve但它返回了这个:

Solve{A_structure='general', lower=False, overwrite_A=False, overwrite_b=False}

标签: pythonlinear-algebratheano

解决方案


推荐阅读