SELECT tupleHammingDistance(tuple(1), tuple(1));
SELECT tupleHammingDistance(tuple(1, 3), tuple(1, 2));

SELECT tuple(1, 2) + tuple(3, 4) * tuple(5, 1) - tuple(6, 3);
SELECT vectorDifference(tuplePlus(tuple(1, 2), tuple(3, 4)), tuple(5, 6));
SELECT tupleMinus(vectorSum(tupleMultiply(tuple(1, 2), tuple(3, 4)), tuple(5, 6)), tuple(31, 41));

SELECT tupleDivide(tuple(5, 8, 11),tuple(-2, 2, 4));
SELECT tupleNegate(tuple(1, 0, 3.5));

SELECT tupleMultiplyByNumber(tuple(1, 2, 3), 0.5);
SELECT tupleDivideByNumber(tuple(1, 2.5, 3), 0.5);
SELECT tupleMultiplyByNumber(tuple(1), 1);
SELECT tupleDivideByNumber(tuple(1), 1);

SELECT dotProduct(tuple(1, 2, 3), tuple(2, 3, 4));
SELECT scalarProduct(tuple(-1, 2, 3.002), tuple(2, 3.4, 4));

SELECT L1Norm(tuple(-1, 2, -3));
SELECT L1Norm(tuple(-1, 2.5, -3.6));
SELECT L2Norm(tuple(1, 1));
SELECT L2Norm(tuple(3, 4));

SELECT max2(1, 1.5);
SELECT min2(-1, -3);
SELECT LinfNorm(tuple(1, -2.3, 1.7));

SELECT LpNorm(tuple(-1), 3);
SELECT LpNorm(tuple(-1.1), 3);
SELECT LpNorm(tuple(95800, 217519, 414560), 4);
SELECT LpNorm(tuple(13, -84.4, 91, 63.1), 2) = L2Norm(tuple(13, -84.4, 91, 63.1));
SELECT LpNorm(tuple(13, -84.4, 91, 63.1), 1) = L1Norm(tuple(13, -84.4, 91, 63.1));
SELECT LpNorm(tuple(-1, -2), 11);

SELECT L1Distance(tuple(1, 2, 3), tuple(2, 3, 1));
SELECT L2Distance(tuple(1, 1), tuple(3, -1));
SELECT LinfDistance(tuple(1, 1), tuple(1, 2));
SELECT L2Distance(tuple(5, 5), tuple(5, 5));
SELECT LpDistance(tuple(1800, 1900), tuple(18, 59), 12) - LpDistance(tuple(-22), tuple(1900), 12); 
