Inner product.
double dot(Vector2 other) { final otherStorage = other._v2storage; double sum; sum = _v2storage[0] * otherStorage[0]; sum += _v2storage[1] * otherStorage[1]; return sum; }