luis . gallardo on Sun, 16 Oct 2022 01:24:36 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: suggestion about sum and prod procs


Hi Bill,

like forstep compared with for

e.g., step = 2

sum(X=1,7,2,X) = 1+3+5+7


cordially,
luis
***


Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> a écrit :

On Sat, Oct 15, 2022 at 11:05:56AM +0200, luis.gallardo@math.cnrs.fr wrote:
Hi,

Nice new version!

What about to add some basic versions of sum and prod?

sum by steps

prod by steps

Hi Luis,

Could you give an example ?

Thanks for using PARI/GP!
Bill.