I need to know how many flops does this code have and where
n=length(x); sm=0; dif=0;
dif=(sm-temp) - y;
So the flpop count is approximatly 4n possibly as much as 5n.
Of course this function does nothing as the return value is never assigned.