plot_vector.h 233 B

123456789101112131415
  1. #ifndef IGL_PLOT_VECTOR_H
  2. #define IGL_PLOT_VECTOR_H
  3. namespace igl
  4. {
  5. template <typename T>
  6. inline void plot_vector( vector<T>& v)
  7. {
  8. for (int i=0; i<v.size(); ++i)
  9. cerr << v[i] << " ";
  10. cerr << endl;
  11. }
  12. }
  13. #endif