Macaulay2 Engine
Loading...
Searching...
No Matches

◆ PRINT_ELEMENTS()

template<typename T>
void PRINT_ELEMENTS ( const T & collection,
const std::string & prefix )
inline

Definition at line 80 of file monomial-collection.hpp.

81{
82 std::cout << prefix;
83 for (const auto& elem : collection) {
84 std::cout << elem << ' ';
85 }
86 std::cout << std::endl;
87}
Word prefix(const Word vec, int lengthOfPrefix)

References prefix(), and T.