def expm_multiply(A, B, start=None, stop=None, num=None, endpoint=None):
 if all(((arg is None) for arg in (start, stop, num, endpoint))):
  X = _expm_multiply_simple(A, B)
 else:
  (X, status) = _expm_multiply_interval(A, B, start, stop, num, endpoint)
 return X

def expm_multiply ( A , B , start = None , stop = None , num = None , endpoint = None ) : if all ( ( ( arg is None ) for arg in ( start , stop , num , endpoint ) ) ) : X = _expm_multiply_simple ( A , B ) else : ( X , status ) = _expm_multiply_interval ( A , B , start , stop , num , endpoint ) return X
compute the action of the matrix exponential of a on b .