def mmul( self, other ):
        if other.dim==2: return Mat( map(self.mmul, other.tr()) ).tr()
        assert NPRE or self.cols == len(other)
        return Vec( map(other.dot, self) )
Matrix multiply by another matrix or a column vector
dataset/ETHPy150Open sunlightlabs/clearspending/completeness/statlib/matfunc.py/Matrix.mmul