GatherBy
GatherBy[list,f]
list 中の要素を,f を適用したときに同じ値を返す要素ごとのサブリストにする.
GatherBy[list,{f1,f2,…}]
list をレベル i で fiを使うネストしたサブリストにする.
例題
すべて開くすべて閉じるアプリケーション (6)
Wolfram Research (2008), GatherBy, Wolfram言語関数, https://reference.wolfram.com/language/ref/GatherBy.html.
テキスト
Wolfram Research (2008), GatherBy, Wolfram言語関数, https://reference.wolfram.com/language/ref/GatherBy.html.
CMS
Wolfram Language. 2008. "GatherBy." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GatherBy.html.
APA
Wolfram Language. (2008). GatherBy. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GatherBy.html