def laplace_transform(f, t, s, **hints):
 if (isinstance(f, MatrixBase) and hasattr(f, 'applyfunc')):
  return f.applyfunc((lambda fij: laplace_transform(fij, t, s, **hints)))
 return LaplaceTransform(f, t, s).doit(**hints)

def laplace_transform ( f , t , s , ** hints ) : if ( isinstance ( f , MatrixBase ) and hasattr ( f , 'applyfunc' ) ) : return f . applyfunc ( ( lambda fij : laplace_transform ( fij , t , s , ** hints ) ) ) return LaplaceTransform ( f , t , s ) . doit ( ** hints )
compute the laplace transform f(s) of f(t) .