111
This commit is contained in:
11
227-4.py
11
227-4.py
@@ -1,8 +1,3 @@
|
||||
# 储存下三角矩阵 a11, a21, a22, a31, a32, a33 ...
|
||||
A = [4,2,2,-2,-3,14]
|
||||
|
||||
|
||||
b = [10,5,4]
|
||||
|
||||
#列 行
|
||||
def getIndexFromDownMatrix(col, row):
|
||||
@@ -41,5 +36,11 @@ def SqrtSolve(A,b):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# 储存下三角矩阵 a11, a21, a22, a31, a32, a33 ...
|
||||
A = [4,2,2,-2,-3,14]
|
||||
|
||||
|
||||
b = [10,5,4]
|
||||
|
||||
print("x:")
|
||||
print(SqrtSolve(A,b))
|
||||
|
||||
Reference in New Issue
Block a user