Functions to compute the Hadamard product, its residual, and its dual residual on counters. The code is written on top of the library ETVO ((Event|Time)-Variant Operators).