Lines Matching defs:operator
56 //double operator[](const int i) const { return (*this)[i];}
57 //double& operator[](const int i) { return (*this)[i];}
59 Poly operator+(const Poly& p) const {
75 Poly operator-(const Poly& p) const {
91 Poly operator-=(const Poly& p) {
103 Poly operator-(const double k) const {
114 Poly operator-() const {
123 Poly operator*(const double p) const {
146 Poly operator*(const Poly& p) const;
158 T operator()(T t) const { return (T)eval(t);}
178 pd[j] = pd[j]*x + operator[](i);
179 pd[0] = pd[0]*x + operator[](i);
196 inline Poly operator*(double a, Poly const & b) { return b * a;}
232 inline std::ostream &operator<< (std::ostream &out_file, const Poly &in_poly) {