NeoPZ
Classes | Functions
tpzpermutation.h File Reference

Contains declaration of the TPZPermutation class which generates all permutations of n values. More...

#include "pzmanvector.h"
#include "TPZSavable.h"
Include dependency graph for tpzpermutation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TPZPermutation
 This class generates all permutations of n values. Utility. More...
 

Functions

std::ostream & operator<< (std::ostream &out, TPZPermutation &obj)
 Overloading operator << to print permutation object at ostream out. More...
 

Detailed Description

Contains declaration of the TPZPermutation class which generates all permutations of n values.

Definition in file tpzpermutation.h.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
TPZPermutation obj 
)
inline

Overloading operator << to print permutation object at ostream out.

Definition at line 64 of file tpzpermutation.h.

References TPZPermutation::Counter(), TPZVec< T >::NElements(), and TPZPermutation::Order().