We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
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.
DetailsCompute the mean of every row of a matrix:
Compute the mean of every column of a matrix:
Compute the standard deviation over the second dimension:
The resulting array is of rank 2, and the second axis has been removed:
Visualize the input and output arrays:
Reduce the dimensions of the array by computing the total over dimensions 2 and 4:
Wolfram Research (2020), ArrayReduce, Wolfram Language function, https://reference.wolfram.com/language/ref/ArrayReduce.html. TextWolfram Research (2020), ArrayReduce, Wolfram Language function, https://reference.wolfram.com/language/ref/ArrayReduce.html.
CMSWolfram Language. 2020. "ArrayReduce." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ArrayReduce.html.
APAWolfram Language. (2020). ArrayReduce. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ArrayReduce.html
BibTeX@misc{reference.wolfram_2025_arrayreduce, author="Wolfram Research", title="{ArrayReduce}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ArrayReduce.html}", note=[Accessed: 12-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_arrayreduce, organization={Wolfram Research}, title={ArrayReduce}, year={2020}, url={https://reference.wolfram.com/language/ref/ArrayReduce.html}, note=[Accessed: 12-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4