I want to define something like:(adsbygoogle = window.adsbygoogle || []).push({});

[tex]A\left(\begin{matrix} x \\ y\end{matrix}\right) = \left(\begin{matrix} 1 & -1 \\ -1 & 1 \end{matrix}\right)\left(\begin{matrix} x \\ y\end{matrix}\right)[/tex]

[tex]B\left(\begin{matrix} x \\ y\end{matrix}\right) = \left(\begin{matrix} 0 & 1 \\ 2 & -1 \end{matrix}\right)\left(\begin{matrix} x \\ y\end{matrix}\right)+\left(\begin{matrix} 1 \\ 1\end{matrix}\right)[/tex]

And then I want to be able to evaluate compositions such as [itex]A \circ B \circ A\left(\begin{matrix} x \\ y\end{matrix}\right)[/itex] quickly and easily.

Currently I'm using this syntax:

A[x_,y_] = {{1,-1},{-1,1}}.{{x},{y}}

However, when I define such a function, the output is a column vector, not a list, and I can't input a column vector into the next function. How do I do ths?

**Physics Forums - The Fusion of Science and Community**

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

# Composition of Vector Functions in Mathematica

Loading...

Similar Threads - Composition Vector Functions | Date |
---|---|

MATLAB vector multiplication | Aug 28, 2017 |

Matlab A Q on multiplying two vectors | Mar 25, 2017 |

New to Matlab, help with vectors | Feb 20, 2016 |

Composite Simpsons 1/3 matlab code | May 12, 2014 |

Composition Functions Mathematica | Oct 13, 2009 |

**Physics Forums - The Fusion of Science and Community**