diff options
Diffstat (limited to 'doc/source/user/tutorial-svd.rst')
-rw-r--r-- | doc/source/user/tutorial-svd.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/source/user/tutorial-svd.rst b/doc/source/user/tutorial-svd.rst index ba65988a9..e1918f394 100644 --- a/doc/source/user/tutorial-svd.rst +++ b/doc/source/user/tutorial-svd.rst @@ -62,7 +62,7 @@ image. We'll use the ``face`` image from the `scipy.misc` module: Now, ``img`` is a NumPy array, as we can see when using the ``type`` function:: >>> type(img) - numpy.ndarray + <class 'numpy.ndarray'> We can see the image using the `matplotlib.pyplot.imshow` function:: @@ -266,6 +266,11 @@ have a second axis. Executing :: >>> s @ Vt + Traceback (most recent call last): + ... + ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, + with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 1024 is different from + 768) results in a ``ValueError``. This happens because having a one-dimensional array for ``s``, in this case, is much more economic in practice than building a |