Herwig 7.3.0
|
Class for containing vector of Polynomials, and functions for Polynomial vectors. More...
#include <Poly_vec.h>
Public Member Functions | |
Poly_vec () | |
Default constructor, leaves pv empty. | |
Poly_vec (poly_vec poly_v) | |
Makes a Poly_vec of a poly_vec. | |
const Polynomial & | at (int i) const |
Returns the Polynomial at place i. | |
Polynomial & | at (int i) |
Returns the Polynomial at place i. | |
uint | size () const |
Return the number of Polynomials in the vector, i.e., the size of the member pv. | |
void | clear () |
Erases the information in vector. | |
void | append (Polynomial Poly) |
Appends a Polynomial to data member pv. | |
bool | empty () const |
Is the vector empty? | |
void | remove_CF () |
Remove CF in the poly_vec member pv, i.e., replace CF by TR*Nc -TR/Nc. | |
void | normal_order () |
Normal order all Polynomials in the poly_vec member pv (uses the Polynomial.normal_order function.) | |
void | simplify () |
Simplifies all polynomials in the poly_vec member pv (uses the simplify member function in Polynomial). | |
void | conjugate () |
Conjugates the Poly_vec. | |
void | read_in_Poly_vec (std::string filename) |
Reads in a Polynomial vector of form {Poly1, Poly2,...} to the member pv from the file filename. | |
void | write_out_Poly_vec (std::string filename) const |
Writes out the vector to the file filename. | |
Public Attributes | |
poly_vec | pv |
To actually contain the polynomial information. | |
Class for containing vector of Polynomials, and functions for Polynomial vectors.
Definition at line 25 of file Poly_vec.h.
|
inline |
Default constructor, leaves pv empty.
Definition at line 31 of file Poly_vec.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void ColorFull::Poly_vec::read_in_Poly_vec | ( | std::string | filename | ) |
Reads in a Polynomial vector of form {Poly1, Poly2,...} to the member pv from the file filename.
Comments starting with # are allowed at the top of the file.
|
inline |
Return the number of Polynomials in the vector, i.e., the size of the member pv.
Definition at line 47 of file Poly_vec.h.
References pv.
poly_vec ColorFull::Poly_vec::pv |
To actually contain the polynomial information.
Definition at line 37 of file Poly_vec.h.
Referenced by append(), at(), clear(), empty(), Poly_vec(), and size().