dimension() !== self::DIMENSION) { throw new \InvalidArgumentException('Vector must be ' . self::DIMENSION . ' dimensions'); } } }