colorfull is hosted by Hepforge, IPPP Durham
ColorFull  1.1
ColorFull::Poly_matr Class Reference

#include <Poly_matr.h>

Public Member Functions

 Poly_matr ()
 
const Poly_vecat (int i) const
 
Poly_vecat (int i)
 
Polynomialat (int i, int j)
 
const Polynomialat (int i, int j) const
 
bool empty () const
 
uint size () const
 
void clear ()
 
void append (Poly_vec Pv)
 
void remove_CF ()
 
void normal_order ()
 
void simplify ()
 
void conjugate ()
 
void read_in_Poly_matr (std::string filename)
 
void write_out_Poly_matr (std::string filename) const
 

Public Attributes

poly_matr pm
 

Detailed Description

Class for containing a Polynomial matrix, and functions for Polynomial matrices.

Constructor & Destructor Documentation

◆ Poly_matr()

ColorFull::Poly_matr::Poly_matr ( )
inline

Default constructor, leaves pm empty.

Member Function Documentation

◆ append()

void ColorFull::Poly_matr::append ( Poly_vec  Pv)
inline

Appends a Poly_vec to data member pm.

◆ at() [1/4]

const Poly_vec& ColorFull::Poly_matr::at ( int  i) const
inline

Returns the Poly_vec at place i.

◆ at() [2/4]

Poly_vec& ColorFull::Poly_matr::at ( int  i)
inline

Returns the Poly_vec at place i.

◆ at() [3/4]

Polynomial& ColorFull::Poly_matr::at ( int  i,
int  j 
)
inline

Returns the matrix element at i, j.

◆ at() [4/4]

const Polynomial& ColorFull::Poly_matr::at ( int  i,
int  j 
) const
inline

Returns the matrix element at i, j.

◆ clear()

void ColorFull::Poly_matr::clear ( )
inline

Erases the matrix information.

◆ conjugate()

void ColorFull::Poly_matr::conjugate ( )

Conjugates the matrix.

◆ empty()

bool ColorFull::Poly_matr::empty ( ) const
inline

Is the matrix, stored in pm, empty?

◆ normal_order()

void ColorFull::Poly_matr::normal_order ( )

Normal orders all polynomials in the poly_matr member pm, (uses Polynomial.normal_order.)

◆ read_in_Poly_matr()

void ColorFull::Poly_matr::read_in_Poly_matr ( std::string  filename)

Reads in the matrix from the file filename. The file should be of the format {{Poly11,...,Poly1n}, ..., {Polyn1,...,Polynn}}, and may contain comment lines starting with # at the top.

◆ remove_CF()

void ColorFull::Poly_matr::remove_CF ( )

Remove CF in the poly_matr member pm, i.e., replace CF by TR (Nc^2-1)/Nc.

◆ simplify()

void ColorFull::Poly_matr::simplify ( )

Simplifies all polynomials in the poly_matr member pm, (uses Polynomial.simplify.)

◆ size()

uint ColorFull::Poly_matr::size ( ) const
inline

Returns the size of the matrix, the number of Poly_vec's in the member pm.

◆ write_out_Poly_matr()

void ColorFull::Poly_matr::write_out_Poly_matr ( std::string  filename) const

Writes out the matrix to the file filename.

Member Data Documentation

◆ pm

poly_matr ColorFull::Poly_matr::pm

To actually contain the matrix of Polynomials.


The documentation for this class was generated from the following file:
  • /data/Documents/eclipse/workspace/ColorFull/Poly_matr.h