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 1996

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

Search the Archive

Re: HELP:problems simplifying big matrices

  • To: mathgroup at
  • Subject: [mg4740] Re: [mg4720] HELP:problems simplifying big matrices
  • From: Allan Hayes <hay at haystack>
  • Date: Mon, 2 Sep 1996 01:51:29 -0400
  • Sender: owner-wri-mathgroup at

"Stephen O'Sullivan" <so at>
[mg4720] HELP:problems simplifying big matrices
I wish to simplify large matrices by identifying occurrences of  
specific algebraic expressions and replacing them with a variable  
name. The problem is that unless the expressions to be
replaced occur in precisely the form specified by the given  
transformation rule it doesn't spot them. Any simple solutions?

I wonder if something along the lines of

{1/x +x, (1+x^2)/x}/. r_/;MatchQ[Simplify[r],1/x +x] ->p

	{p, p}

might help (you may need to use something else instead of Simplify).

Allan Hayes
hay at


  • Prev by Date: Re: Books
  • Next by Date: Re: 2-D Levy motion
  • Previous by thread: Re: Books
  • Next by thread: Re: 2-D Levy motion