[PURRS-devel] purrs/src compute_prod.cc
Alessandro Zaccagnini
zaccagnini at cs.unipr.it
Fri Oct 15 15:28:28 CEST 2004
CVSROOT: /cvs/purrs
Module name: purrs
Changes by: zaccagnini at cs.unipr.it 2004-10-15 15:28:28
Modified files:
src : compute_prod.cc
Log message:
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)
for example.
Patches:
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/purrs/src/compute_prod.cc.diff?cvsroot=purrs&r1=1.19&r2=1.20
More information about the PURRS-devel
mailing list