python - 如何在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}
解决方案
推荐阅读
- vba - 此项目中的代码必须更新才能在 64 位系统上使用
- angular - Angular 依赖提供者
- php - 我的查询仅针对一个帐户执行
- python-3.x - 如何将字母表中的每个字母单独添加到字典中
- swift - 关闭 UIAlertController 后如何重新加载 UIView
- php - 如何在 PHP 中访问第二级多维数组?
- python - 不同类型的列作为特征
- google-cloud-platform - Big Query 无法查询 Cloud Storage 存储分区中的某些 csv
- linked-list - 链表/二叉树作为存储和搜索数据结构的优缺点
- javascript - 没有找到类“com.facebook.marketing.internal.MarketingInitProvider”