Alternate signs in a range

matovitch camille.brugel at laposte.net
Sun Jan 26 04:50:03 PST 2014


Hello !

I got a problem which I'm sure can be solved by a smart one 
liner. I would like to obtain the term by term product of a given 
range by the infinite cyclic range cycle([1,-1]). How can I do 
that ?


More information about the Digitalmars-d-learn mailing list