

Gather
Examples
open all close allBasic Examples (2)
Applications (3)
Properties & Relations (2)
DeleteDuplicates[list] is equivalent to Gather[list][[All,1]]:
For a large list, DeleteDuplicates is much faster:
GatherBy[list,f] is equivalent to Gather[list,(f[#1]===f[#2])&]:
Gather the rows by Norm and display with the common norm of each group:
Compare to the result of Gather:
Possible Issues (1)
When the test cannot be identified as an equality comparison, Gather may be much slower:
Related Guides
History
Text
Wolfram Research (2008), Gather, Wolfram Language function, https://reference.wolfram.com/language/ref/Gather.html.
CMS
Wolfram Language. 2008. "Gather." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Gather.html.
APA
Wolfram Language. (2008). Gather. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Gather.html
BibTeX
@misc{reference.wolfram_2025_gather, author="Wolfram Research", title="{Gather}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Gather.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_gather, organization={Wolfram Research}, title={Gather}, year={2008}, url={https://reference.wolfram.com/language/ref/Gather.html}, note=[Accessed: 15-August-2025]}