Commit 1533eb0a by “安晓东”

托普利茨矩阵

parent c173dd80
# 托普利茨矩阵
def isToeplitzMatri(matrix): def isToeplitzMatri(matrix):
line = len(matrix) - 1 # 行的大小 line = len(matrix) - 1 # 行的大小
row = len(matrix[0]) - 1 # 列的大小 row = len(matrix[0]) - 1 # 列的大小
...@@ -16,3 +16,5 @@ matrix = [ ...@@ -16,3 +16,5 @@ matrix = [
] ]
print(isToeplitzMatri(matrix)) print(isToeplitzMatri(matrix))
18069816026
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment