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 1998

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

Search the Archive

[Q] Factoring arrays

  • To: mathgroup at
  • Subject: [mg14929] [Q] Factoring arrays
  • From: "Kevin Jaffe" <kj0 at>
  • Date: Fri, 27 Nov 1998 03:49:27 -0500
  • Organization: MailCity (
  • Sender: owner-wri-mathgroup at

I'm dealing with some large arrays of symbolic expressions; it often
happens that all the
elements of the array have an
obvious common factor.  These
arrays would become much more
readable if the common factor were
pulled out in front as a prefactor
for the array, but I can't figure
out how to get Mathematica to do
this.  As a (tiny) example:

{{v[2]^2 v[3], -v[1] v[2] v[3]}, {-v[1] v[2] v[3], v[1]^2 v[3]}}

Is there a way to get Mathematica
to pull out the common v[3] factor
from the array above?



Get your FREE Email at Get your PERSONALIZED

  • Prev by Date: Re: Many data points = frustration
  • Next by Date: HTMLSave - Help!
  • Previous by thread: Background Window?
  • Next by thread: HTMLSave - Help!