ArrayReshape[list,dims]
list の要素を次元 dims の矩形配列に並べる.
ArrayReshape[list,dims,padding]
list に十分な要素がない場合は指定された充填を行う.
ArrayReshape
ArrayReshape[list,dims]
list の要素を次元 dims の矩形配列に並べる.
ArrayReshape[list,dims,padding]
list に十分な要素がない場合は指定された充填を行う.
詳細
- ArrayReshapeは,常に指定された次元の矩形配列を与える.必要な場合は最後の要素を無視したり新しい要素を付け加えたりする.
- 要素は,長さまではFlatten[ArrayReshape[list,dims]]がFlatten[list]と等しくなるように,結果の配列に並べられる.
- ArrayReshape[list,dims,padding]では,ArrayPadでサポートされているすべての形の充填を指定することができる.デフォルトの充填値は0である.
- ArrayReshapeはSparseArrayオブジェクトに使うことができる.
関連するガイド
テキスト
Wolfram Research (2012), ArrayReshape, Wolfram言語関数, https://reference.wolfram.com/language/ref/ArrayReshape.html.
CMS
Wolfram Language. 2012. "ArrayReshape." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ArrayReshape.html.
APA
Wolfram Language. (2012). ArrayReshape. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ArrayReshape.html
BibTeX
@misc{reference.wolfram_2025_arrayreshape, author="Wolfram Research", title="{ArrayReshape}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/ArrayReshape.html}", note=[Accessed: 14-December-2025]}
BibLaTeX
@online{reference.wolfram_2025_arrayreshape, organization={Wolfram Research}, title={ArrayReshape}, year={2012}, url={https://reference.wolfram.com/language/ref/ArrayReshape.html}, note=[Accessed: 14-December-2025]}