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