next up previous contents
Next: Vectors Up: Matrices Previous: Entering Matrices   Contents

Manipulating Matrices

Manipulating the matrix on the stack

So now that you have a matrix on the stack what are you going to do with it?? gcalcRPN gives you many choices. If you have 2 matrices on the stack you can add or subtract them just with the add or subtract buttons (as long as they are the same size). You can multiply 2 matrices if they are of proper size, and you can multiply a matrix by a scalar by putting a scalar (real number) on the stack and pressing multiply. You can also multiply a matrix by a vector to get another vector but we haven't gotten that far yet (The next section in on vectors).

There are other matrix operations that you can choose also. Remember when you put the matrix on the stack and you had the choice to create a new matrix or perform a matrix operation.

\includegraphics[]{matrix_first.eps}

You can choose the matrix operations button to see a list of matrix operations that you can use. (Actually, at the time of this writing I haven't added that yet but it will be there soon!)

gcalcRPN is into giving you a choice, and you always have a choice of how to perform an operation using the func button.

\includegraphics[]{func_entry.eps}

Pressing func on the main screen will bring up an entry screen where you can enter any function that you want. Try typing in inverse to this and see what happens. The matrix that was on the stack will be replaced by it's inverse

you can also type the name of the desired operation into the main window entry field, and gcalcrpn will perform the operation.

You can also solve systems with gcalcrpn. to solve the system $A\vec{x} = B$, where a is a matrix and B is a vector of matrix, Place A into the stack, then place B onto the stack as either a vector or matrix, and choose solve system for the matrix operations menu.


next up previous contents
Next: Vectors Up: Matrices Previous: Entering Matrices   Contents
Eli Faulkner 2002-05-30