]> www.ginac.de Git - ginac.git/commit
Minor refactoring in factor.cpp.
authorRichard Kreckel <kreckel@ginac.de>
Thu, 29 Dec 2022 20:00:36 +0000 (21:00 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Thu, 29 Dec 2022 20:08:28 +0000 (21:08 +0100)
commit3b979da1d5bbbc57dda660a5d9ba67abea30f70c
tree9d5e493a61cf71528c2d1091efcd3641f01d3003
parent3dde1c1a46cda22f908c8005771550a51c5aec33
Minor refactoring in factor.cpp.

- Substitute the misnamed expt_pos(a,q) with the more specialized
  expt_pos_Q(w,a,q,r) function, for use by distinct_degree_factor().
- Rework canonicalize function and change semantics of its hint
  argument to be more natural.
- Use the hint argument of canonicalize() in rem().
- Add some documenting comments.
ginac/factor.cpp