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

Permutation of 3 elements. More...

#include <Misc.hpp>

Public Member Functions

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

Data Fields

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

Friends

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

Detailed Description

Permutation of 3 elements.

Definition at line 124 of file Misc.hpp.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
Permutation3 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, 3> Pomerol::Permutation3::perm

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

Definition at line 126 of file Misc.hpp.

◆ sign

const int Pomerol::Permutation3::sign

Signature of the permutation.

Definition at line 128 of file Misc.hpp.


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