(self)
return out
Return the normalized version of ``self``.

        See Also
        ========

        norm
Return the normalized version of ``self``.
Return the normalized version of self .
def normalized(self):
        """Return the normalized version of ``self``.

        See Also
        ========

        norm
        """
        if self.rows != 1 and self.cols != 1:
            raise ShapeError("A Matrix must be a vector to normalize.")
        norm = self.norm()
        out = self.applyfunc(lambda i: i / norm)
        return out
def normalized ( self ) : if self . rows != 1 and self . cols != 1 : raise ShapeError ( "A Matrix must be a vector to normalize." ) norm = self . norm ( ) out = self . applyfunc ( lambda i : i / norm ) return out