GINAC_ASSERT(is_canonical());
}
+add::add(epvector && vp)
+{
+ overall_coeff = _ex0;
+ construct_from_epvector(std::move(vp));
+ GINAC_ASSERT(is_canonical());
+}
+
add::add(epvector && vp, const ex & oc)
{
overall_coeff = oc;
for (auto & it : seq)
s.push_back(expair(it.rest.diff(y), it.coeff));
- return dynallocate<add>(std::move(s), _ex0);
+ return dynallocate<add>(std::move(s));
}
int add::compare_same_type(const basic & other) const