TakeList
例題
すべて開く すべて閉じる例 (5)
特性と関係 (5)
TakeList[list,seqs]はFoldPairList[TakeDrop,list,seqs]に等しい:
TakeList[list,{n,…,n}]は,適切な数の取出し指定については,Partition[list,n]に等しい:
Partition[list,UpTo[n]]と同等のものには,さらに取出し指定をする必要があるかもしれない:
TakeListを使ってリストをさまざまな長さの部分リスに分割する:
Flattenを使うともとのリストを再構築することができる:
TakeListを使って配列をさまざまな大きさのブロックに分割する:
もとの行列はArrayFlattenで再構築することができる:
もとのリストは,TakeListを使って部分式の長さを与えることで再構築することができる:
関連するガイド
-
▪
- リストの並べ替えと再構築 ▪
- リスト操作 ▪
- リストの要素
テキスト
Wolfram Research (2017), TakeList, Wolfram言語関数, https://reference.wolfram.com/language/ref/TakeList.html.
CMS
Wolfram Language. 2017. "TakeList." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TakeList.html.
APA
Wolfram Language. (2017). TakeList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TakeList.html
BibTeX
@misc{reference.wolfram_2025_takelist, author="Wolfram Research", title="{TakeList}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/TakeList.html}", note=[Accessed: 16-September-2025]}
BibLaTeX
@online{reference.wolfram_2025_takelist, organization={Wolfram Research}, title={TakeList}, year={2017}, url={https://reference.wolfram.com/language/ref/TakeList.html}, note=[Accessed: 16-September-2025]}