Common factors in a list

*To*: mathgroup at smc.vnet.net*Subject*: [mg58327] Common factors in a list*From*: "John Reed" <nospamjreed at alum.mit.edu>*Date*: Tue, 28 Jun 2005 05:13:27 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

I'm working with a list (vector) that's composed of functions such as complex exponentials and Bessel functions. Some of the functions are common to each element of the list. I'm trying to find a way to do the following: {a x, a y, a z}-> a *{x, y, z} In this expression, a, x, y, z are polynomials, exponentials and/or Bessel functions. So far I haven't had any luck with this. Does anyone have a simple solution? John Reed

**Follow-Ups**:**Re: Common factors in a list***From:*Andrzej Kozlowski <akozlowski@gmail.com>