#include <algorithm>
#include <cmath>
+#include <ostream>
#include <stdexcept>
namespace Msp {
return r.normalize();
}
+template<typename T>
+inline std::ostream &operator<<(std::ostream &s, const DynamicVector<T> &v)
+{
+ s << "DynamicVector" << v.size() << '(';
+ for(unsigned i=0; i<v.size(); ++i)
+ {
+ if(i)
+ s << ", ";
+ s << v[i];
+ }
+ s << ')';
+ return s;
+}
+
} // namespace LinAL
} // namespace Msp