We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f821fd commit 966acc6Copy full SHA for 966acc6
SparseMatrix.py
@@ -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
+
8
class SparseMatrix:
9
def __init__(self, rows, cols):
10
self.rows = rows
example.py
@@ -4,7 +4,7 @@
# Create main function
def main():
print("Hello World")
-
# Define a sparse matrix
m1 = sm.SparseMatrix(3, 3)
m1[0, 0] = 1
0 commit comments