(self, j, f)
In-place operation on col j using two-arg functor whose args are
        interpreted as (self[i, j], i).

        Examples
        ========

        >>> from sympy.matrices import eye
        >>> M = eye(3)
        >>> M.col_op(1, lambda v, i: v + 2*M[i, 0]); M
        Matrix([
        [1, 2, 0],
        [0, 1, 0],
        [0, 0, 1]])

        See Also
        ========
        col
        row_op
In-place operation on col j using two-arg functor whose args are
        interpreted as (self[i, j], i).
In - place operation on col j using two - arg functor whose args are interpreted as ( self [ i j ] i ) .
def col_op(self, j, f):
        """In-place operation on col j using two-arg functor whose args are
        interpreted as (self[i, j], i).

        Examples
        ========

        >>> from sympy.matrices import eye
        >>> M = eye(3)
        >>> M.col_op(1, lambda v, i: v + 2*M[i, 0]); M
        Matrix([
        [1, 2, 0],
        [0, 1, 0],
        [0, 0, 1]])

        See Also
        ========
        col
        row_op
        """
        self._mat[j::self.cols] = list(map(lambda t: f(*t),
            list(zip(self._mat[j::self.cols], list(range(self.rows))))))
def col_op ( self , j , f ) : self . _mat [ j : : self . cols ] = list ( map ( lambda t : f ( * t ) , list ( zip ( self . _mat [ j : : self . cols ] , list ( range ( self . rows ) ) ) ) ) )