|
template<typename T > |
std::ostream & | madness::operators::operator<< (std::ostream &s, const std::complex< T > &c) |
| Easy printing of complex numbers. More...
|
|
template<typename T > |
std::ostream & | madness::operators::operator<< (std::ostream &s, const std::list< T > &c) |
| Easy printing of lists. More...
|
|
template<typename T , typename U > |
std::ostream & | madness::operators::operator<< (std::ostream &s, const std::pair< T, U > &p) |
| Easy printing of pairs. More...
|
|
template<typename T > |
std::ostream & | madness::operators::operator<< (std::ostream &s, const std::vector< T > &c) |
| Easy printing of vectors. More...
|
|
template<typename T , std::size_t N> |
std::enable_if<!std::is_same< T, char >::value, std::ostream & >::type | madness::operators::operator<< (std::ostream &s, const T(&v)[N]) |
| Easy printing of fixed dimension arrays. More...
|
|
template<typename T , typename... Ts> |
void | madness::print (const T &t, const Ts &... ts) |
| Print items to std::cout (items separated by spaces) and terminate with a new line. More...
|
|
void | madness::print_centered (const char *s, int column=40, bool underline=true) |
| Print a string centered at the given column with optional underlining. More...
|
|
template<typename T , typename... Ts> |
void | madness::print_error (const T &t, const Ts &... ts) |
| Print items to std::cerr (items separated by spaces) and terminate with a new line. More...
|
|
void | madness::print_header1 (const std::string &s) |
| big section heading More...
|
|
void | madness::print_header2 (const std::string &s) |
| medium section heading More...
|
|
void | madness::print_header3 (const std::string &s) |
| small section heading More...
|
|
std::ostream & | madness::print_helper (std::ostream &out) |
| Helper function for print . Base case. More...
|
|
template<typename T , typename... Ts> |
std::ostream & | madness::print_helper (std::ostream &out, const T &t, const Ts &... ts) |
| Helper function for print . Prints the first item (t ) and recursively passes on the other items. More...
|
|
void | madness::print_justified (const char *s, int column=0, bool underline=true) |
| Print a string justified on the left to start at the given column with optional underlining. More...
|
|
void | madness::printf_msg_energy_time (const std::string msg, const double energy, const double time) |
|
Defines simple templates for printing to std::cout
"a la Python".