Object-oriented Scientific Computing Library: Version 0.910
Data Structures | Functions
permutation.h File Reference

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.


Detailed Description

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.

Function Documentation

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.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.