[PURRS-devel] purrs/src compute_prod.cc
zaccagnini at cs.unipr.it
Fri Oct 15 15:28:28 CEST 2004
Module name: purrs
Changes by: zaccagnini at cs.unipr.it 2004-10-15 15:28:28
src : compute_prod.cc
Slightly amended some comments.
Added the case that deals with the simplifications of products of the form
prod(a,1,n,2*a-1) which had been overlooked.
Previuosly, only the case prod(a,1,n,2*a+1) had been considered.
This new case leads to more compact solution for the recurrence
x(n) = (-1+2*n)*x(-1+n)
More information about the PURRS-devel