A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/ref/ArrayReduce.html below:

ArrayReduce—Wolfram Language Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technology expertise.

WolframConsulting.com

BUILT-IN SYMBOL

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.

Details Examples Basic Examples  (3)

Compute the mean of every row of a matrix:

Compute the mean of every column of a matrix:

Define an array of rank 3:

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:

Define an array of rank 5:

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. Text

Wolfram Research (2020), ArrayReduce, Wolfram Language function, https://reference.wolfram.com/language/ref/ArrayReduce.html.

CMS

Wolfram Language. 2020. "ArrayReduce." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ArrayReduce.html.

APA

Wolfram 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