/data/Documents/eclipse/workspace/ColorFull/Polynomial.h
Go to the documentation of this file.
int size() const Returns the number of terms in the Polynomial. Definition: Polynomial.h:72 void read_in_Polynomial(std::string filename) void write_out_Polynomial(std::string filename) const Col_amp operator*(const Col_amp &Ca, const int i) Define the operator * for Col_amps and integers. bool operator==(const Col_amp &Ca1, const Col_amp &Ca2) Define the operator == for two Col_amps. Col_amp operator+=(Col_amp &Ca, const Col_str &Cs) Define the operator += for two Col_amp+=Col_str. Polynomial() Default constructor, leaves polynomial empty=1. Definition: Polynomial.h:34 Definition: Col_amp.h:15 Definition: Polynomial.h:30 std::ostream & operator<<(std::ostream &out, const col_amp &ca) Define the operator << for col_amp. const Monomial & at(int i) const Returns Monomial at place i. Definition: Polynomial.h:66 void erase(int i) Erases the Monomial at place i. Definition: Polynomial.h:78 Col_amp operator+(const Col_amp &Ca, const Col_str &Cs) Define the operator + for Col_amp and Col_str, adds Col_str Cs to ca. std::complex< double > cnum A complex number, needed as amplitudes in general are complex. Definition: types.h:20 Monomial & at(int i) Returns Monomial at place i. Definition: Polynomial.h:69 Definition: Monomial.h:23 Col_amp operator*=(Col_amp &Ca1, const Col_amp &Ca2) Define the operator *= for two Col_amps. bool operator!=(const Col_amp &Ca1, const Col_amp &Ca2) Define the operator != for two Col_amps. void append(const Monomial Mon) Adding a Monomial term. Definition: Polynomial.h:75 void normal_order() void conjugate() Col_amp operator-(const Col_amp &Ca1, const Col_amp &Ca2) Generated on Fri Jun 2 2017 11:57:53 for ColorFull by 1.8.13 |