fjames86 / fpoly

Manipulate dense multivariate polynomials
0 stars 0 forks source link

accumulation #32

Open fjames86 opened 11 years ago

fjames86 commented 11 years ago

might be possible to write a macro to ease accumulation to prevent consing. something like

(accumulate-into poly ...body)

with terms like (incf poly ...) expanded into some code which checks variables/degrees and will only cons up a new coefficient array if needed. Might be useful, might not. is worth a try.