@@ -1,4 +1,4 @@
#模 范数
def Norm(x,v):
if len(x[0]) == 1:
if v == 1:
@@ -13,7 +13,7 @@ def Norm(x,v):
elif v == float("inf"):
return max([sum([abs(i) for i in x[j]]) for j in range(len(x))])
return None
# 计算矩阵的点积
def Dot(A,B):
if len(A[0]) != len(B):
The note is not visible to the blocked user.