-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
矩阵求逆
class InverseSolver
Source code: lam/inverse/inverse.py
逆矩阵的求解器,可以用Gauss-Jordan消元法求逆矩阵,以及输出消元过程
InverseSolver(mat)
将需要求解的矩阵作为参数输入,构造一个求解器。
Parameters
- mat: MutableDenseMatrix
property
- course: List[MutableDenseMatrix] 存储消元的过程
- mat: MutableDenseMatrix 存储输入的原始矩阵mat
- is_Invertible: bool 标识mat是否可逆
getCourse(self) -> List[MutableDenseMatrix]
获取用Gauss-Jordan消元法对mat求逆的过程,返回一个列表。
getInverse(self) -> MutableDenseMatrix
直接返回mat的逆矩阵。
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request