We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technical expertise
ArrayComponents[array]
gives an array in which all identical elements of array are replaced by an integer index representing the component in which the element lies.
ArrayComponents[array,level]
finds the identical elements at the specified level in array
ArrayComponents[array,level,rules]
uses a rule or a list of rules for specifying the labels.
DetailsComponents in a symbolic array:
Components in the first level of an array:
Label identical elements in a list:
Scope (3)ArrayComponents works with arbitrarily nested lists of symbols:
Label all positive integers with a specific label:
Use a specific label for a component:
Applications (1)Normalize a label matrix with missing labels:
Wolfram Research (2010), ArrayComponents, Wolfram Language function, https://reference.wolfram.com/language/ref/ArrayComponents.html (updated 2012). TextWolfram Research (2010), ArrayComponents, Wolfram Language function, https://reference.wolfram.com/language/ref/ArrayComponents.html (updated 2012).
CMSWolfram Language. 2010. "ArrayComponents." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/ArrayComponents.html.
APAWolfram Language. (2010). ArrayComponents. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ArrayComponents.html
BibTeX@misc{reference.wolfram_2025_arraycomponents, author="Wolfram Research", title="{ArrayComponents}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/ArrayComponents.html}", note=[Accessed: 17-August-2025]}
BibLaTeX@online{reference.wolfram_2025_arraycomponents, organization={Wolfram Research}, title={ArrayComponents}, year={2012}, url={https://reference.wolfram.com/language/ref/ArrayComponents.html}, note=[Accessed: 17-August-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