I've defined A and B to be two affine transformations on [itex]\mathbb{R}^2[/itex]. Then, I defined C and D to be some kinds of compositions of A and B, for example:(adsbygoogle = window.adsbygoogle || []).push({});

C = Composition[A,B,B,A,A][{x,y}]

D = Composition[B,A,B,A,B][{x,y}]

Now, I want to evaluate expressions like:

X = Composition[C,D,C,C,D,C][{x,y}]

I know this seems like a silly thing to do, but it is actually quite necessary for the problem I'm doing. However, X does not explicitly evaluate to a column vector, Mathematica just keeps it as Composition[C,D,C,C,D,C][{x,y}].

How can I FORCE mathematica to evaluate an expression to the end? Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica does not completely evaluate expressions.

**Physics Forums | Science Articles, Homework Help, Discussion**