The simplest way to think about SCAN is that it applies a custom calculation to each element in a range/array and returns every intermediate result it produces along the way. If that sounds abstract, ...
Department of Electronic Engineering, Chang Gung University, Guishan Dist., 33302 Taoyuan, Taiwan Artificial Intelligence Research Center, Chang Gung University, Guishan Dist., 33302 Taoyuan, Taiwan ...