topical media & game development
lib-ch-example-sample-matrixCalculator.htm / htm
<! Created by Harry H. Cheng, 2/8/1996>
<! Last modified: 2/22/1996>
<HEAD>
<TITLE>
Web Matrix Calculator
</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000" vlink="#FF0000">
<H1>
Web Matrix Calculator
</H1>
<HR>
<P>
<H2>Calculations with a Single Matrix</H2>
<P>
<FORM method="POST" action="lib-ch-example-sample-matrixCalculator.cgi">
<INPUT type="hidden" name="matrixNum" value=1>
<INPUT type="hidden" name="rowA" value=3>
<INPUT type="hidden" name="colA" value=3>
A =
<BR>
<INPUT name="A11" value="1" size=5>
<INPUT name="A12" value="10" size=5>
<INPUT name="A13" value="0" size=5>
<BR>
<INPUT name="A21" value="0" size=5>
<INPUT name="A22" value="2" size=5>
<INPUT name="A23" value="0" size=5>
<BR>
<INPUT name="A31" value="0.5" size=5>
<INPUT name="A32" value="0" size=5>
<INPUT name="A33" value="5" size=5>
<P>
Expression
<BR>
<INPUT NAME="operation" SIZE="35" value="2*A">
<p>
<INPUT TYPE=submit VALUE="Calculate">
<INPUT TYPE=reset VALUE="Reset">
</FORM>
<HR>
To change the size of the matrix, specify the size
below, i.e. 4 for a 4x4 matrix.
<P>
<FORM method="POST" action=lib-ch-example-sample-matrixMaker.cgi>
<INPUT name="size" value="4" size=5>
<P>
<INPUT TYPE=submit VALUE="Submit">
<INPUT TYPE=reset VALUE="Reset">
</FORM>
<P>
<HR>
<P>
<H2>Calculations with Two Matrices</H2>
<P>
Specify the sizes of the matrices you wish to use.
<P>
<FORM method="POST" action=lib-ch-example-sample-matrixMaker.cgi>
A:
<INPUT name="rowsA" value="3" size=5>
X
<INPUT name="colA" value="3" size=5>
<P>
B:
<INPUT name="rowsB" value="3" size=5>
X
<INPUT name="colB" value="1" size=5>
<P>
<INPUT TYPE=submit VALUE="Submit">
<INPUT TYPE=reset VALUE="Reset">
</FORM>
<P>
<HR>
<A HREF="http://www.softintegration.com" target="_top">
<img src="poweredbych.gif" alt="Powered by Ch"></A>
</BODY>
</HTML>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.