1#include <symengine/polys/msymenginepoly.h>
6RCP<const Basic> MIntPoly::as_symbolic()
const
9 for (
const auto &p : get_poly().dict_) {
12 for (
auto sym : get_vars()) {
25 for (
auto var : get_vars())
28 for (
auto &p : get_poly().dict_) {
36integer_class MIntPoly::eval(
41 for (
auto bucket : get_poly().dict_) {
44 for (
auto sym : get_vars()) {
54RCP<const Basic> MExprPoly::as_symbolic()
const
57 for (
const auto &p : get_poly().dict_) {
58 RCP<const Basic>
res = (p.second.get_basic());
60 for (
auto sym : get_vars()) {
73 for (
auto var : get_vars())
76 for (
auto &p : get_poly().dict_) {
89 for (
auto bucket : get_poly().dict_) {
92 for (
auto sym : get_vars()) {
101unsigned int reconcile(vec_uint &
v1, vec_uint &
v2, set_basic &s,
102 const set_basic &
s1,
const set_basic &
s2)
106 unsigned int pos = 0;
113 s.insert(
s2.begin(),
s2.end());
hash_t __hash__() const override
hash_t __hash__() const override
Main namespace for SymEngine package.
bool eq(const Basic &a, const Basic &b)
Checks equality for a and b
void hash_combine(hash_t &seed, const T &v)
RCP< const Basic > mul(const RCP< const Basic > &a, const RCP< const Basic > &b)
Multiplication.
RCP< const Basic > add(const RCP< const Basic > &a, const RCP< const Basic > &b)
Adds two objects (safely).
std::enable_if< std::is_integral< T >::value, RCP< constInteger > >::type integer(T i)