Home | History | Annotate | Download | only in Polynomials

Lines Matching full:polynomial

16  * \returns the evaluation of the polynomial at x using Horner algorithm.
18 * \param[in] poly : the vector of coefficients of the polynomial ordered
19 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial
21 * \param[in] x : the value to evaluate the polynomial at.
37 * \returns the evaluation of the polynomial at x using stabilized Horner algorithm.
39 * \param[in] poly : the vector of coefficients of the polynomial ordered
40 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial
42 * \param[in] x : the value to evaluate the polynomial at.
64 * \returns a maximum bound for the absolute value of any root of the polynomial.
66 * \param[in] poly : the vector of coefficients of the polynomial ordered
67 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial
71 * <dd> the leading coefficient of the input polynomial poly must be non zero </dd>
73 template <typename Polynomial>
75 typename NumTraits<typename Polynomial::Scalar>::Real cauchy_max_bound( const Polynomial& poly )
77 typedef typename Polynomial::Scalar Scalar;
90 * \returns a minimum bound for the absolute value of any non zero root of the polynomial.
91 * \param[in] poly : the vector of coefficients of the polynomial ordered
92 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial
95 template <typename Polynomial>
97 typename NumTraits<typename Polynomial::Scalar>::Real cauchy_min_bound( const Polynomial& poly )
99 typedef typename Polynomial::Scalar Scalar;
115 * Given the roots of a polynomial compute the coefficients in the
116 * monomial basis of the monic polynomial with same roots and minimal degree.
117 * If RootVector is a vector of complexes, Polynomial should also be a vector
119 * \param[in] rv : a vector containing the roots of a polynomial.
120 * \param[out] poly : the vector of coefficients of the polynomial ordered
121 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial
124 template <typename RootVector, typename Polynomial>
125 void roots_to_monicPolynomial( const RootVector& rv, Polynomial& poly )
128 typedef typename Polynomial::Scalar Scalar;