#ifndef VECTOR_HPP #define VECTOR_HPP class Vector { public: unsigned int dimension; float * coordinates; // const, dest Vector(); Vector(unsigned int d); Vector(unsigned int d, float default_val); ~Vector(); // output operator friend ostream& operator<<(ostream& os, const Vector& a); // easy access float& Vector::operator[](const unsigned int index); // vector rekenen Vector& operator=(const Vector& a); // faaloperatoren // Vector operator+(const Vector a) const; // Vector operator*(const float a) const; }; #endif // VECTOR_HPP