Hi,
you don't have to convert things to Strings:
Calc[M] /. $MU[1] -> a
is enough.
Regards,
Rolf
Am Dienstag, 21. Juni 2005 18:27 schrieben Sie:
> Thank you very much!!!
> Now that I understood that the $MU[1]s are just dummy indeces I also found
> another solution that gets rid of them:
>
> ToExpression[StringReplace[ToString[Calc[M] // StandardForm], "$MU[1]" ->
> "a"]]
>
> Again, thanks for your quick reply!!!
>
> Andreas
This archive was generated by hypermail 2b29 : 09/04/20-12:55:05 AM Z CEST