7 template<
typename Coeff,
typename Ordering,
typename Policies>
9 std::vector<ContextPolynomial<Coeff, Ordering, Policies>> res;
11 res.emplace_back(p.
context(), f);
16 template<
typename Coeff,
typename Ordering,
typename Policies>
21 template<
typename Coeff,
typename Ordering,
typename Policies>
carl is the main namespace for the library.
auto irreducible_factors(const ContextPolynomial< Coeff, Ordering, Policies > &p, bool constants=true)
auto discriminant(const ContextPolynomial< Coeff, Ordering, Policies > &p)
auto resultant(const ContextPolynomial< Coeff, Ordering, Policies > &p, const ContextPolynomial< Coeff, Ordering, Policies > &q)
The general-purpose multivariate polynomial class.
const UnivariatePolynomial< MultivariatePolynomial< Coeff, Ordering, Policies > > & content() const
const Context & context() const