permutation.h File Reference


Detailed Description

File containing permutation class and associated functions.

Definition in file permutation.h.

#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.

Data Structures

class  permutation
 A permutation. More...

Functions

std::ostream & operator<< (std::ostream &os, const permutation &p)
 Output operator for permutations.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const permutation p 
)

Output operator for permutations.

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 and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page