Skip to content

Commit 966acc6

Browse files
committed
adding copyright header
1 parent 5f821fd commit 966acc6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

SparseMatrix.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#
2+
# Name: SparseMatrix Python
3+
# Author: Max Base
4+
# Date: 2022/11/01
5+
# Repository: https://github.com/BaseMax/SparseMatrixPy
6+
#
7+
18
class SparseMatrix:
29
def __init__(self, rows, cols):
310
self.rows = rows

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Create main function
55
def main():
66
print("Hello World")
7-
7+
88
# Define a sparse matrix
99
m1 = sm.SparseMatrix(3, 3)
1010
m1[0, 0] = 1

0 commit comments

Comments
 (0)