Mathematica 9 is now available
Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Common factors in a list

  • To: mathgroup at
  • Subject: [mg58358] Re: Common factors in a list
  • From: "Jens-Peer Kuska" <kuska at>
  • Date: Tue, 28 Jun 2005 21:56:53 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <d9r50q$568$>
  • Sender: owner-wri-mathgroup at


ClearAttributes[Times, Listable]

{a x, a y, a z} /. {a*b_, c___} :> a*{b, Sequence 
@@ (#/a & /@ {c})}



"John Reed" <nospamjreed at> schrieb im 
Newsbeitrag news:d9r50q$568$1 at
> 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

  • Prev by Date: Re: exact integer from Log[ ]
  • Next by Date: Re: Common factors in a list
  • Previous by thread: Re: Common factors in a list
  • Next by thread: Re: Common factors in a list