Example 1.2.7

> restart;

> with(linalg):

Warning, new definition for norm

Warning, new definition for trace

> A:='A': A:=vector(3, [1,3,7]);

[Maple Math]

> B:='B': B:=vector(3, [-1,0,6]);

[Maple Math]

> C:=vector(3, [0,-1,-2]);

[Maple Math]

Because D is reserved for the differential operator, let us use the other symbol E for the vector D .

> E:=vector(3, [-2,-4,-3]);

[Maple Math]

> evalm(B-A);

[Maple Math]

> evalm(E-C);

[Maple Math]

> evalm((B-A)-(E-C));

[Maple Math]