MathGroup Archive 2005

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

Search the Archive

Re: Simplify Expressions with Non commutative multiplication


Hello,

One problem with patterns of the form a___,something,b___ (or even more 
complicated variants) is that they can work, but involve a combinatorial 
explosion of possiblities - so things get hopelessly too slow when you 
scale the code up to work on real problems.

A more efficient approach might be to treat the contents of your myDot 
as a list and process it from left to right either recursively or even 
indexing the terms explicitly using [[k]].

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: Looking for n for which all 2-partitions are prime partitions.
  • Next by Date: Timed Notebooks for Student Take-home examinations
  • Previous by thread: Simplify Expressions with Non commutative multiplication
  • Next by thread: Re: Simplify Expressions with Non commutative multiplication