pomerol  2.1
Public Member Functions | Data Fields | Friends
Pomerol::Permutation4 Struct Reference

Permutation of 4 elements. More...

#include <Misc.hpp>

Public Member Functions

bool operator== (Permutation4 const &rhs) const
 
bool operator!= (Permutation4 const &rhs) const
 

Data Fields

const std::array< std::size_t, 4 > perm
 A permuted list of integers (0, 1, 2, 3) More...
 
const int sign
 Signature of the permutation. More...
 

Friends

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

Detailed Description

Permutation of 4 elements.

Definition at line 142 of file Misc.hpp.

Member Function Documentation

◆ operator!=()

bool Pomerol::Permutation4::operator!= ( Permutation4 const &  rhs) const

◆ operator==()

bool Pomerol::Permutation4::operator== ( Permutation4 const &  rhs) const

Friends And Related Function Documentation

◆ operator<<

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

Output stream insertion operator.

Parameters
[out]osOutput stream.
[in]pPermutation to be inserted.
Returns
Reference to the output stream.

Field Documentation

◆ perm

const std::array<std::size_t, 4> Pomerol::Permutation4::perm

A permuted list of integers (0, 1, 2, 3)

Definition at line 144 of file Misc.hpp.

◆ sign

const int Pomerol::Permutation4::sign

Signature of the permutation.

Definition at line 146 of file Misc.hpp.


The documentation for this struct was generated from the following file: