E-20
• Example: To add Vector A = (1 –2 3) to Vector B = (4 5
–6). (Result:
(5 3 –3)
)
(3-dimensional Vector A) A
z
1(Dim)
1(A)
3 =
(Element input) 1 =
D 2 =
3 = t
(3-dimensional Vector B) A
z
1(Dim)
2(B)
3 =
(Element input) 4 =
5 =
D 6 = t
(VctA + VctB) A
z
3(Vct)
1(A)
+
A
z
3(Vct)
2(B)
=
• An error occurs in the above procedure if you specify
vectors of different dimensions.
kCalculating the Scalar Product of
a Vector
Use the procedure shown below to obtain the scalar
product (fixed multiple) of a vector.
• Example: To multiply Vector C = (–7.8 9) by 5.
(Result:
(–39 45)
)
(2-dimensional Vector C) A
z
1(Dim)
3(C)
2 =
(Element input) D 7 l 8 =
9 = t
(5҂VctC) 5 - A
z
3(Vct)
3(C)
=
kCalculating the Inner Product of
TwoVectors
Use the procedure described below to obtain the inner
product (
⋅
) for two vectors.
• Example: To calculate the inner product of Vector A and
Vector B (Result:
–24
)
(VctA
⋅
VctB) A
z
3(Vct)
1(A)
A
z
r
1(Dot)
A
z
3(Vct)
2(B)
=
• An error occurs in the above procedure if you specify
vectors of different dimensions.