44 #include "DenseLinAlgPack_PermOut.hpp"
45 #include "DenseLinAlgPack_IVector.hpp"
47 std::ostream& DenseLinAlgPack::operator<<(std::ostream& o,
const IVector& perm) {
48 int w = o.width(0) - 1;
49 o << perm.size() <<
"\n";
50 IVector::const_iterator
51 itr_perm = perm.begin(),
52 itr_perm_end = perm.end();
53 for(;itr_perm != itr_perm_end;)
54 o << std::setw(w) << *itr_perm++ <<
' ';