I am pretty new to using Mathematica as more than a calculator. Essentially my problem is that I am trying to calculate a quantity vector quantity
$x=x_0 - A^{-1}F(x_0)$
where $x_0$ is a 3-entry column vector (of numbers), $A^{-1}$ is the inverse of a 3x3 matrix of functions of three variables, and $F$ is a column vector of three functions of the same three variables. Clearly in order to get a numerical result I need to multiply $A^{-1}$ and $F$ together and replace the three variables with numerical values.
I tried doing it like
x=x_0 - ((AIinv * F)/.{x_1->1, x_2->1, x_3->1})
where those numerical values for the variables are just some that I made up just now. The thing is that when I apply the replacement rules the term (AInv * F) loses its matrix form and turns into a "multidimensional array", which prevents me from subtracting it from $x_0$. In order to fix it I have tried applying MatrixForm[] and Flatten[] and the two in combination to the (AInv*F) term but it does not help. It seems like this would all work great if this wasn't happening. I would appreciate anybody's help!! Thanks much
FandA1invinto your post. In addition, whilex_0can be interpreted asSubscript[x,0], it's better if you post code in completely correct Mathematica code format, so that potential answerers on this site can copy and paste your code into their own copies of Mathematica, facilitating quick answers. – march Feb 11 '16 at 04:53Dot(used e.g. for matrix-times-vector) and alsoMatrixForm. That latter is a wrapper for formatting and will change theHeadfromListtoMatrixForm, which will make further computation difficult. – Daniel Lichtblau Feb 11 '16 at 15:30