Cadabra
Computer algebra system for field theory problems
Classes | Typedefs | Functions
yngtab Namespace Reference

Generic Young tableaux routines. More...

Classes

class  tableau_base
 
class  tableau
 
class  tableaux
 
class  filled_tableau
 

Typedefs

typedef filled_tableau< std::pair< int, int > > keeptrack_tab_t
 

Functions

std::ostream & operator<< (std::ostream &str, const tableau &tab)
 
template<>
void add_box (tableau &tab1, unsigned int row1, const tableau &, unsigned int, unsigned int)
 
bool legal_box (const std::vector< std::pair< int, int > > &prev, const std::vector< std::pair< int, int > > &ths, int colpos, int trypos)
 
template<class T , class OutputIterator >
void LR_tensor (const tableaux< T > &tabs1, const T &tab2, unsigned int maxrows, OutputIterator out, bool alltabs=false)
 
template<class T1 , class T2 >
void add_box (T1 &tab1, unsigned int row1, const T2 &tab2, unsigned int row2, unsigned int col2)
 
template<class T1 >
void add_box (T1 &tab1, unsigned int row1, const tableau &, unsigned int, unsigned int)
 
template<class Tab , class OutputIterator >
void LR_add_box (const Tab &tab2, Tab &newtab, unsigned int currow2, unsigned int curcol2, unsigned int startrow, unsigned int maxrows, OutputIterator outit, keeptrack_tab_t &Ycurrent, bool alltabs)
 
template<class Tab , class OutputIterator >
void LR_tensor (const Tab &tab1, const Tab &tab2, unsigned int maxrows, OutputIterator outit, bool alltabs=false)
 
template<class T , class OutputIterator >
void LR_tensor (const tableaux< T > &, bool, unsigned int, OutputIterator)
 
template<class T >
std::ostream & operator<< (std::ostream &, const tableaux< T > &)
 
template<class T >
std::ostream & operator<< (std::ostream &, const filled_tableau< T > &)
 

Detailed Description

Generic Young tableaux routines.

Typedef Documentation

◆ keeptrack_tab_t

typedef filled_tableau<std::pair<int, int> > yngtab::keeptrack_tab_t

Function Documentation

◆ add_box() [1/3]

template<class T1 , class T2 >
void yngtab::add_box ( T1 &  tab1,
unsigned int  row1,
const T2 &  tab2,
unsigned int  row2,
unsigned int  col2 
)

◆ add_box() [2/3]

template<class T1 >
void yngtab::add_box ( T1 &  tab1,
unsigned int  row1,
const tableau ,
unsigned int  ,
unsigned int   
)

◆ add_box() [3/3]

template<>
void yngtab::add_box ( tableau tab1,
unsigned int  row1,
const tableau ,
unsigned int  ,
unsigned int   
)

◆ legal_box()

bool yngtab::legal_box ( const std::vector< std::pair< int, int > > &  prev,
const std::vector< std::pair< int, int > > &  ths,
int  colpos,
int  trypos 
)

◆ LR_add_box()

template<class Tab , class OutputIterator >
void yngtab::LR_add_box ( const Tab &  tab2,
Tab &  newtab,
unsigned int  currow2,
unsigned int  curcol2,
unsigned int  startrow,
unsigned int  maxrows,
OutputIterator  outit,
keeptrack_tab_t Ycurrent,
bool  alltabs 
)

◆ LR_tensor() [1/3]

template<class Tab , class OutputIterator >
void yngtab::LR_tensor ( const Tab &  tab1,
const Tab &  tab2,
unsigned int  maxrows,
OutputIterator  outit,
bool  alltabs = false 
)

◆ LR_tensor() [2/3]

template<class T , class OutputIterator >
void yngtab::LR_tensor ( const tableaux< T > &  ,
bool  ,
unsigned int  ,
OutputIterator   
)

◆ LR_tensor() [3/3]

template<class T , class OutputIterator >
void yngtab::LR_tensor ( const tableaux< T > &  tabs1,
const T &  tab2,
unsigned int  maxrows,
OutputIterator  out,
bool  alltabs = false 
)

◆ operator<<() [1/3]

template<class T >
std::ostream & yngtab::operator<< ( std::ostream &  str,
const filled_tableau< T > &  tab 
)

◆ operator<<() [2/3]

template<class T >
std::ostream & yngtab::operator<< ( std::ostream &  str,
const tableaux< T > &  tabs 
)

◆ operator<<() [3/3]

std::ostream & yngtab::operator<< ( std::ostream &  str,
const tableau tab 
)