/*
* Copyright (c) 2026 Jakub Górnikowski
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see
*/
#ifndef VECTORS_HPP
#define VECTORS_HPP
#include
#include
#include
#include
#include
#include
// Drukuje elegancko sformatowany wektor jako wiersz
std::ostream& operator<<(std::ostream& os, const std::vector& v);
// Dodawanie wektorów
std::vector operator+(const std::vector& a, const std::vector& b);
// Odejmowanie wektorów
std::vector operator-(const std::vector& a, const std::vector& b);
// Lewostronne mnożenie przez skalar
std::vector operator*(const double a, const std::vector& v);
// Prawostronne mnożenie przez skalar
std::vector operator*(const std::vector& v, const double a);
// Nadpisanie wektora pomnożonego o skalar
std::vector& operator*=(std::vector& v, const double a);
#endif