- #1
Identity
- 152
- 0
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:
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
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