Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c7a0d6d

Browse files
articuno12norvig
authored andcommitted
Adding missing docstring in utils.py (aimacode#342)
1 parent 8e0bfd3 commit c7a0d6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def scalar_vector_product(X, Y):
174174

175175

176176
def scalar_matrix_product(X, Y):
177+
"""Return matrix as a product of a scalar and a matrix"""
177178
return [scalar_vector_product(X, y) for y in Y]
178179

179180

0 commit comments

Comments
 (0)