Question: using Coefficient = double; class UnivariatePolynomial { public: UnivariatePolynomial ( ) = default; / / constructor from an initializer list of coefficients UnivariatePolynomial ( std::vector

using Coefficient = double; class UnivariatePolynomial { public: UnivariatePolynomial()= default; // constructor from an initializer list of coefficients UnivariatePolynomial(std::vector); // the degree of the polynomial; for simplicity, we will let the degree // of the zero polynomial be -1 int degree() const; // change the symbol for the polynomial such as 'y' or 'x' void setSymbol(char c); // get the symbol char symbol() const;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!