Herwig 7.3.0
|
Class for containing a Polynomial matrix, and functions for Polynomial matrices. More...
#include <Poly_matr.h>
Public Member Functions | |
Poly_matr () | |
Default constructor, leaves pm empty. | |
const Poly_vec & | at (int i) const |
Returns the Poly_vec at place i. | |
Poly_vec & | at (int i) |
Returns the Poly_vec at place i. | |
Polynomial & | at (int i, int j) |
Returns the matrix element at i, j. | |
const Polynomial & | at (int i, int j) const |
Returns the matrix element at i, j. | |
bool | empty () const |
Is the matrix, stored in pm, empty? | |
uint | size () const |
Returns the size of the matrix, the number of Poly_vec's in the member pm. | |
void | clear () |
Erases the matrix information. | |
void | append (Poly_vec Pv) |
Appends a Poly_vec to data member pm. | |
void | remove_CF () |
Remove CF in the poly_matr member pm, i.e., replace CF by TR (Nc^2-1)/Nc. | |
void | normal_order () |
Normal orders all polynomials in the poly_matr member pm, (uses Polynomial.normal_order.) | |
void | simplify () |
Simplifies all polynomials in the poly_matr member pm, (uses Polynomial.simplify.) | |
void | conjugate () |
Conjugates the matrix. | |
void | read_in_Poly_matr (std::string filename) |
Reads in the matrix from the file filename. | |
void | write_out_Poly_matr (std::string filename) const |
Writes out the matrix to the file filename. | |
Public Attributes | |
poly_matr | pm |
To actually contain the matrix of Polynomials. | |
Class for containing a Polynomial matrix, and functions for Polynomial matrices.
Definition at line 26 of file Poly_matr.h.
|
inline |
Default constructor, leaves pm empty.
Definition at line 31 of file Poly_matr.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
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.
|
inline |
Returns the size of the matrix, the number of Poly_vec's in the member pm.
Definition at line 53 of file Poly_matr.h.
References pm.
poly_matr ColorFull::Poly_matr::pm |