NOMAD Source  Version 4.0.0 Beta
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ArrayOfPoint.cpp
Go to the documentation of this file.
1 /**
2  \file ArrayOfPoint.cpp
3  \brief Vector of NOMAD::Points (implementation)
4  \author Viviane Rochon Montplaisir
5  \date August 2019
6  \see ArrayOfPoint.hpp
7  */
8 #include "../Math/ArrayOfPoint.hpp"
9 
10 
11 
12 std::ostream& NOMAD::operator<< (std::ostream& out, const NOMAD::ArrayOfPoint& aop)
13 {
14  for (size_t i = 0; i < aop.size(); i++)
15  {
16  if (i > 0)
17  {
18  out << " ";
19  }
20  out << aop[i].display();
21  }
22  return out;
23 }
24 
25 
26 
27 
28 
29 
30 
31 
32 
std::vector< Point > ArrayOfPoint
Representation of a vector of points.
std::ostream & operator<<(std::ostream &os, const Algorithm &algo)
Operator to write parameters used for hot restart.