#NEWLINE# def _mul_vector( self , other ) : #NEWLINE# #INDENT# ( M , N ) = self . shape #NEWLINE# result = np . zeros ( M , dtype = upcast_char ( self . dtype . char , other . dtype . char ) ) #NEWLINE# fn = getattr ( _sparsetools , ( self . format + '_matvec' ) ) #NEWLINE# fn ( M , N , self . indptr , self . indices , self . data , self , result ) #NEWLINE# return result