MathGroup Archive 1997

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

Search the Archive

Re: Replace expressions

hans.steffani at (Hans Steffani) writes:

>I want to replace all expressions
>Dot[a, xx]
>Dot[xx, a]
>for certain as by

To say it in other words
I have a list certainas, which contains a number of symbols.

This symbols are scalars and therefore I am allowed to substitute
Dot[a,b] by Times[a,b] if a or b is in the list certainas.

How can this be done.

The solutions I got do not fit to the problem.

Hans Friedrich Steffani
Hans Friedrich Steffani
Institut fuer Elektrische Maschinen und Antriebe, TU Chemnitz-Zwickau
mailto:hans.steffani at

  • Prev by Date: Re: Objects in packages
  • Next by Date: nested * and ** (rules for commutative quantities)
  • Previous by thread: Re: Replace expressions
  • Next by thread: Re: Replace expressions