Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Adding missing docstring in utils.py
  • Loading branch information
articuno12 committed Mar 9, 2017
commit d8ee2c32a99019b57bfb535ccf164b75a5ecb8b4
1 change: 1 addition & 0 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def scalar_vector_product(X, Y):


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


Expand Down