Cadabra
Computer algebra system for field theory problems
Classes | Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
yngtab::filled_tableau< T > Class Template Reference

#include <YoungTab.hh>

Inheritance diagram for yngtab::filled_tableau< T >:
yngtab::tableau yngtab::tableau_base

Classes

class  const_iterator
 
class  const_iterator_base
 
class  in_column_const_iterator
 A const iterator which stays inside a given column of a tableau. More...
 
class  in_column_iterator
 An iterator which stays inside a given column of a tableau. More...
 
class  in_row_const_iterator
 
class  in_row_iterator
 An iterator which stays inside a given row of a tableau. More...
 
class  iterator
 An iterator over all boxes of a tableau, left to right, top to bottom. More...
 
class  iterator_base
 

Public Types

typedef T value_type
 

Public Member Functions

virtual ~filled_tableau ()
 
virtual unsigned int number_of_rows () const
 
virtual unsigned int row_size (unsigned int row) const
 
virtual void add_box (unsigned int row)
 
virtual void remove_box (unsigned int row)
 
std::pair< int, int > find (const T &) const
 
virtual void clear ()
 
void copy_shape (const tableau &)
 
T & operator() (unsigned int row, unsigned int col)
 
const T & operator() (unsigned int row, unsigned int col) const
 
const T & operator[] (unsigned int boxnum) const
 
void add_box (unsigned int rownum, T val)
 
void swap_columns (unsigned int c1, unsigned int c2)
 
bool compare_without_multiplicity (const filled_tableau< T > &other) const
 
bool has_nullifying_trace () const
 
void sort_within_columns ()
 
void sort_columns ()
 
void canonicalise ()
 Sort equal-length columns and sort within columns. More...
 
std::pair< int, int > nonstandard_loc () const
 
template<class StrictWeakOrdering >
void sort_within_columns (StrictWeakOrdering comp)
 
template<class StrictWeakOrdering >
void sort_columns (StrictWeakOrdering comp)
 
template<class StrictWeakOrdering >
void canonicalise (StrictWeakOrdering comp, bool only_col_ex=false)
 
void projector (combin::symmetriser< T > &, bool modulo_monoterm=false) const
 
void projector (combin::symmetriser< T > &, combin::range_vector_t &) const
 
yngrat_t projector_normalisation () const
 
filled_tableau< T > & operator= (const filled_tableau< T > &)
 
in_column_iterator begin_column (unsigned int column_number)
 
in_column_iterator end_column (unsigned int column_number)
 
in_column_const_iterator begin_column (unsigned int column_number) const
 
in_column_const_iterator end_column (unsigned int column_number) const
 
in_column_const_iterator cbegin_column (unsigned int column_number) const
 
in_column_const_iterator cend_column (unsigned int column_number) const
 
in_row_iterator begin_row (unsigned int row_number)
 
in_row_iterator end_row (unsigned int row_number)
 
in_row_const_iterator begin_row (unsigned int row_number) const
 
in_row_const_iterator end_row (unsigned int row_number) const
 
in_row_const_iterator cbegin_row (unsigned int row_number) const
 
in_row_const_iterator cend_row (unsigned int row_number) const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
template<class OutputIterator >
OutputIterator Garnir_set (OutputIterator, unsigned int, unsigned int) const
 
- Public Member Functions inherited from yngtab::tableau
virtual ~tableau ()
 
tableauoperator= (const tableau &)
 
- Public Member Functions inherited from yngtab::tableau_base
 tableau_base ()
 
virtual ~tableau_base ()
 
virtual unsigned int column_size (unsigned int col) const
 
virtual void add_row (unsigned int row_size)
 
yngint_t dimension (unsigned int) const
 
unsigned long hook_length (unsigned int row, unsigned int col) const
 
yngint_t hook_length_prod () const
 

Private Types

typedef std::vector< T > box_row
 
typedef std::vector< box_rowrow_stack
 

Private Attributes

row_stack rows
 

Additional Inherited Members

- Public Attributes inherited from yngtab::tableau_base
yngrat_t multiplicity
 
int selfdual_column
 

Member Typedef Documentation

◆ box_row

template<class T>
typedef std::vector<T> yngtab::filled_tableau< T >::box_row
private

◆ row_stack

template<class T>
typedef std::vector<box_row> yngtab::filled_tableau< T >::row_stack
private

◆ value_type

template<class T>
typedef T yngtab::filled_tableau< T >::value_type

Constructor & Destructor Documentation

◆ ~filled_tableau()

template<class T >
yngtab::filled_tableau< T >::~filled_tableau ( )
virtual

Member Function Documentation

◆ add_box() [1/2]

template<class T >
void yngtab::filled_tableau< T >::add_box ( unsigned int  row)
virtual

Reimplemented from yngtab::tableau.

◆ add_box() [2/2]

template<class T>
void yngtab::filled_tableau< T >::add_box ( unsigned int  rownum,
val 
)

◆ begin() [1/2]

template<class T >
filled_tableau< T >::iterator yngtab::filled_tableau< T >::begin ( )

◆ begin() [2/2]

template<class T >
filled_tableau< T >::const_iterator yngtab::filled_tableau< T >::begin ( ) const

◆ begin_column() [1/2]

template<class T >
filled_tableau< T >::in_column_iterator yngtab::filled_tableau< T >::begin_column ( unsigned int  column_number)

◆ begin_column() [2/2]

template<class T >
filled_tableau< T >::in_column_const_iterator yngtab::filled_tableau< T >::begin_column ( unsigned int  column_number) const

◆ begin_row() [1/2]

template<class T >
filled_tableau< T >::in_row_iterator yngtab::filled_tableau< T >::begin_row ( unsigned int  row_number)

◆ begin_row() [2/2]

template<class T >
filled_tableau< T >::in_row_const_iterator yngtab::filled_tableau< T >::begin_row ( unsigned int  row_number) const

◆ canonicalise() [1/2]

template<class T >
void yngtab::filled_tableau< T >::canonicalise ( )

Sort equal-length columns and sort within columns.

◆ canonicalise() [2/2]

template<class T >
template<class StrictWeakOrdering >
void yngtab::filled_tableau< T >::canonicalise ( StrictWeakOrdering  comp,
bool  only_col_ex = false 
)

◆ cbegin()

template<class T >
filled_tableau< T >::const_iterator yngtab::filled_tableau< T >::cbegin ( ) const

◆ cbegin_column()

template<class T >
filled_tableau< T >::in_column_const_iterator yngtab::filled_tableau< T >::cbegin_column ( unsigned int  column_number) const

◆ cbegin_row()

template<class T >
filled_tableau< T >::in_row_const_iterator yngtab::filled_tableau< T >::cbegin_row ( unsigned int  row_number) const

◆ cend()

template<class T >
filled_tableau< T >::const_iterator yngtab::filled_tableau< T >::cend ( ) const

◆ cend_column()

template<class T >
filled_tableau< T >::in_column_const_iterator yngtab::filled_tableau< T >::cend_column ( unsigned int  column_number) const

◆ cend_row()

template<class T >
filled_tableau< T >::in_row_const_iterator yngtab::filled_tableau< T >::cend_row ( unsigned int  row_number) const

◆ clear()

template<class T >
void yngtab::filled_tableau< T >::clear ( )
virtual

Reimplemented from yngtab::tableau.

◆ compare_without_multiplicity()

template<class T>
bool yngtab::filled_tableau< T >::compare_without_multiplicity ( const filled_tableau< T > &  other) const

◆ copy_shape()

template<class T >
void yngtab::filled_tableau< T >::copy_shape ( const tableau other)

◆ end() [1/2]

template<class T >
filled_tableau< T >::iterator yngtab::filled_tableau< T >::end ( )

◆ end() [2/2]

template<class T >
filled_tableau< T >::const_iterator yngtab::filled_tableau< T >::end ( ) const

◆ end_column() [1/2]

template<class T >
filled_tableau< T >::in_column_iterator yngtab::filled_tableau< T >::end_column ( unsigned int  column_number)

◆ end_column() [2/2]

template<class T >
filled_tableau< T >::in_column_const_iterator yngtab::filled_tableau< T >::end_column ( unsigned int  column_number) const

◆ end_row() [1/2]

template<class T >
filled_tableau< T >::in_row_iterator yngtab::filled_tableau< T >::end_row ( unsigned int  row_number)

◆ end_row() [2/2]

template<class T >
filled_tableau< T >::in_row_const_iterator yngtab::filled_tableau< T >::end_row ( unsigned int  row_number) const

◆ find()

template<class T>
std::pair< int, int > yngtab::filled_tableau< T >::find ( const T &  obj) const

◆ Garnir_set()

template<class T >
template<class OutputIterator >
OutputIterator yngtab::filled_tableau< T >::Garnir_set ( OutputIterator  it,
unsigned int  row,
unsigned int  col 
) const

◆ has_nullifying_trace()

template<class T >
bool yngtab::filled_tableau< T >::has_nullifying_trace ( ) const

◆ nonstandard_loc()

template<class T >
std::pair< int, int > yngtab::filled_tableau< T >::nonstandard_loc ( ) const

◆ number_of_rows()

template<class T >
unsigned int yngtab::filled_tableau< T >::number_of_rows ( ) const
virtual

Reimplemented from yngtab::tableau.

◆ operator()() [1/2]

template<class T >
T & yngtab::filled_tableau< T >::operator() ( unsigned int  row,
unsigned int  col 
)

◆ operator()() [2/2]

template<class T >
const T & yngtab::filled_tableau< T >::operator() ( unsigned int  row,
unsigned int  col 
) const

◆ operator=()

template<class T>
filled_tableau< T > & yngtab::filled_tableau< T >::operator= ( const filled_tableau< T > &  other)

◆ operator[]()

template<class T >
const T & yngtab::filled_tableau< T >::operator[] ( unsigned int  boxnum) const

◆ projector() [1/2]

template<class T>
void yngtab::filled_tableau< T >::projector ( combin::symmetriser< T > &  sym,
bool  modulo_monoterm = false 
) const

◆ projector() [2/2]

template<class T>
void yngtab::filled_tableau< T >::projector ( combin::symmetriser< T > &  sym,
combin::range_vector_t sublengths_scattered 
) const

anti-symmetrise over boxes in columns

◆ projector_normalisation()

template<class T >
yngrat_t yngtab::filled_tableau< T >::projector_normalisation ( ) const

◆ remove_box()

template<class T >
void yngtab::filled_tableau< T >::remove_box ( unsigned int  row)
virtual

Reimplemented from yngtab::tableau.

◆ row_size()

template<class T >
unsigned int yngtab::filled_tableau< T >::row_size ( unsigned int  row) const
virtual

Reimplemented from yngtab::tableau.

◆ sort_columns() [1/2]

template<class T >
void yngtab::filled_tableau< T >::sort_columns ( )

◆ sort_columns() [2/2]

template<class T >
template<class StrictWeakOrdering >
void yngtab::filled_tableau< T >::sort_columns ( StrictWeakOrdering  comp)

◆ sort_within_columns() [1/2]

template<class T >
void yngtab::filled_tableau< T >::sort_within_columns ( )

◆ sort_within_columns() [2/2]

template<class T >
template<class StrictWeakOrdering >
void yngtab::filled_tableau< T >::sort_within_columns ( StrictWeakOrdering  comp)

◆ swap_columns()

template<class T >
void yngtab::filled_tableau< T >::swap_columns ( unsigned int  c1,
unsigned int  c2 
)

Member Data Documentation

◆ rows

template<class T>
row_stack yngtab::filled_tableau< T >::rows
private

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