Skip to main content

ArrayReduce

ArrayReduce[f,array,n] reduces dimension n of array by applying f.

ArrayReduce[f,array,n1;;n2] reduces dimensions n1 through n2.

ArrayReduce[f,array,{n1,n2,…}] reduces dimensions n1, n2, etc.

ArrayReduce[f,array,{{n11,n12,…},{n21,n22,…},…}] applies f to arrays formed by combining all dimensions nij to make each dimension i.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.