kalker/tests/vectors.kalker

11 lines
339 B
Plaintext

(2, 3, 5) + (7, 11, 13) = (9, 14, 18) and
(2, 3, 5) - (7, 11, 13) = (-5, -8, -8) and
(2, 3, 5) * (7, 11, 13) = 112 and
(8, 9, 25) / (2, 3, 5) = (4, 3, 5) and
(2, 3, 5) + 2 = (4, 5, 7) and
(2, 3, 5) - 2 = (0, 1, 3) and
(2, 3, 5) * 2 = (4, 6, 10) and
(4, 8, 16) / 2 = (2, 4, 8) and
abs([-3, 2, -5]) = (3, 2, 5) and
|[-3, 2, -5]| = (3, 2, 5)