Mackey  V3.1
A C++ library for computing RO(G) graded homology
Green< group_t > Class Template Reference

The result of multiplying generators in a Green functor. More...

#include <Green.hpp>

Collaboration diagram for Green< group_t >:
[legend]

Public Member Functions

 Green ()
 Sets to zero. More...
 
 Green (const Chains< rank_t, diff_t > &, const Chains< rank_t, diff_t > &, int, int, int)
 Computes the product of generators given chains, degrees and level. More...
 
template<typename T , typename S >
auto getNormalBasis (const T &, const S &) const
 Returns the (normalized) product of the given two elements (not necessarily generators) More...
 
template<typename T = int, typename S >
auto getNormalBasis (int i, const S &b) const
 Returns the (normalized) product of the selected generator with another element. More...
 
template<typename T , typename S = int>
auto getNormalBasis (const T &a, int j) const
 Returns the (normalized) product of the given element with the selected generator. More...
 
template<typename T = int, typename S = int>
auto getNormalBasis (int i, int j) const
 Returns the (normalized) product of the selected generators. More...
 
bool operator== (const Green< group_t > &) const
 

Public Attributes

AbelianGroup< rank_t > Groups
 The homology group the product lives in. More...
 
bool isZero
 1 if the homology group the product lives in is 0. More...
 
IDGenerators< rank_t > boxID
 Identifies the generators of the homology group the product lives in. More...
 

Friends

template<typename >
class internal::GreenCompute
 
template<typename Archive , typename T >
void serialize (Archive &, Green< T > &)
 

Detailed Description

template<typename group_t>
class Mackey::Green< group_t >

The result of multiplying generators in a Green functor.

Constructor & Destructor Documentation

◆ Green() [1/2]

Green ( )

Sets to zero.

◆ Green() [2/2]

Green ( const Chains< rank_t, diff_t > &  ,
const Chains< rank_t, diff_t > &  ,
int  ,
int  ,
int   
)

Computes the product of generators given chains, degrees and level.

Member Function Documentation

◆ getNormalBasis() [1/4]

auto getNormalBasis ( const T &  ,
const S &   
) const

Returns the (normalized) product of the given two elements (not necessarily generators)

◆ getNormalBasis() [2/4]

auto getNormalBasis ( int  i,
const S &  b 
) const

Returns the (normalized) product of the selected generator with another element.

◆ getNormalBasis() [3/4]

auto getNormalBasis ( const T &  a,
int  j 
) const

Returns the (normalized) product of the given element with the selected generator.

◆ getNormalBasis() [4/4]

auto getNormalBasis ( int  i,
int  j 
) const

Returns the (normalized) product of the selected generators.

◆ operator==()

bool operator== ( const Green< group_t > &  ) const

Friends And Related Function Documentation

◆ internal::GreenCompute

friend class internal::GreenCompute
friend

◆ serialize

void serialize ( Archive &  ,
Green< T > &   
)
friend

Member Data Documentation

◆ Groups

AbelianGroup<rank_t> Groups

The homology group the product lives in.

◆ isZero

bool isZero

1 if the homology group the product lives in is 0.

◆ boxID

IDGenerators<rank_t> boxID

Identifies the generators of the homology group the product lives in.


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