![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
File containing permutation class and associated functions. More...
#include <iostream>
#include <cstdlib>
#include <string>
#include <fstream>
#include <sstream>
#include <vector>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_permutation.h>
#include <o2scl/err_hnd.h>
#include <o2scl/string_conv.h>
#include <o2scl/uvector_tlate.h>
#include <o2scl/array.h>
#include <o2scl/vector.h>
Go to the source code of this file.
Definition in file permutation.h.
Data Structures | |
class | permutation |
A class for representing permutations. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const permutation &p) |
Output operator for permutations. |
std::ostream& operator<< | ( | std::ostream & | os, |
const permutation & | p | ||
) |
A space is output between the permutation elements but no space or endline character is output after the last element.
If the size is zero, this function outputs nothing and does not call the error handler.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).