src/vector.cpp
/**
 *  @brief Vector constructor
 *
 *  Construct an array containing
 *  the given parameters.
 *
 *  @param x X value
 *  @param y Y value
 */
@brief Vector constructor
Construct an array containing
the given parameters.

@param x X value
@param y Y value
@brief Vector constructor Construct an array containing the given parameters . @param x X value @param y Y value
Vector::Vector(double x, double y) {
    coordinates.resize(2);
    this->set(0, x);
    this->set(1, y);
}
Vector :: Vector ( double x , double y ) { coordinates . resize ( 2 ) ; this -> set ( 0 , x ) ; this -> set ( 1 , y ) ; }
@brief Vector constructor
  Construct an array containing
  the given parameters.
@brief Vector constructor Construct an array containing the given parameters .