矩陣的乘法
Author: 柯奕辰

a_1_1

a_1_2

b_1_1

b_1_2

c_1_1

c_1_2

d_1_1

d_1_2

d_1_3

e_1_1

e_1_2

e_1_3

a1 = 1
a2 = 1
b1 = 2
b2 = 2
c1 = 3
c2 = 3
d1 = 4
d2 = 4
d3 = 4
e1 = 5
e2 = 5
e3 = 55
text1: "A=\left [ \begin{array}{} " + (LaTeX[a1]) + " & " + (LaTeX[a2]) + " \\ " + (LaTeX[b1]) + " & " + (LaTeX[b2]) + " \\ " + (LaTeX[c1]) + " & " + (LaTeX[c2]) + " \end{array}  \right ]  B=\left [ \begin{array}{} " + (LaTeX[d1]) + " & " + (LaTeX[d2]) + " & " + (LaTeX[d3]) + " \\ " + (LaTeX[e1]) + " & " + (LaTeX[e2]) + " & " + (LaTeX[e3]) + " \\ \end{array}  \right ] "
D1 = 0
inputBox1 = Textfield(a1)
inputBox2 = Textfield(a2)
inputBox3 = Textfield(b1)
inputBox4 = Textfield(b2)
inputBox5 = Textfield(c1)
inputBox6 = Textfield(c2)
inputBox7 = Textfield(d1)
inputBox8 = Textfield(d2)
inputBox9 = Textfield(d3)
inputBox10 = Textfield(e1)
inputBox11 = Textfield(e2)
inputBox12 = Textfield(e3)
text2: "AB=\left [ \begin{array}{} " + (LaTeX[a1 * d1 + a2 * e1]) + " & " + (LaTeX[a1 * d2 + a2 * e2]) + " & " + (LaTeX[a1 * d3 + a2 * e3]) + " \\ " + (LaTeX[b1 * d1 + b2 * e1]) + " & " + (LaTeX[b1 * d2 + b2 * e2]) + " & " + (LaTeX[b1 * d3 + b2 * e3]) + " \\ " + (LaTeX[c1 * d1 + c2 * e1]) + " & " + (LaTeX[c1 * d2 + c2 * e2]) + " & " + (LaTeX[c1 * d3 + c2 * e3]) + " \\ \end{array} \right ] "