DEFAULT_UNARCHIVE(pseries)
//////////
-// functions overriding virtual functions from bases classes
+// functions overriding virtual functions from base classes
//////////
void pseries::print(const print_context & c, unsigned level) const
++i;
}
return (new pseries(relational(var,point), newseq))
- ->setflag(status_flags::dynallocated | status_flags::expanded);
+ ->setflag(status_flags::dynallocated | (options == 0 ? status_flags::expanded : 0));
}
/** Implementation of ex::diff() for a power series. It treats the series as a
ex pseries::power_const(const numeric &p, int deg) const
{
// method:
+ // (due to Leonhard Euler)
// let A(x) be this series and for the time being let it start with a
// constant (later we'll generalize):
// A(x) = a_0 + a_1*x + a_2*x^2 + ...