MathGroup Archive 2005

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

Search the Archive

Matrix/Array Simplification


Mathematica will happilly simplify scalar expressions such as

Simplify[a*x + a*y] = a*(x+y)


My question is: Is there a simple way to simplfy matrices in a similar way?

For example suppose you have the diagonal matrix
m = {{a x, 0}, {0, a y }}

can this matrix be simplified to the form



a * {{ x, 0}, {0,  y }}



Many thansk

Jon Palmer









  • Prev by Date: DSolve problem
  • Next by Date: Re: Elementary Calculation
  • Previous by thread: Re: DSolve problem
  • Next by thread: Re: Matrix/Array Simplification