First
例題
すべて開く すべて閉じる例 (5)
First[{a, b, c}]First[{{a, b}, {c, d}}]First[<|1 -> a, 2 -> b|>]頭部はListではなくてもよい:
First[a ^ 2 + b ^ 2]First[{}, x]First[{a, b}, x]一般化と拡張 (2)
FirstはSparseArrayオブジェクトに使うことができる:
First[SparseArray[Range[100]]]Firstは,Association中の最初の値を抽出する:
First[<|a -> x, b -> y|>]特性と関係 (1)
First[expr]は expr[[1]]と等価である:
First[{a, b, c}]{a, b, c}[[1]]テクニカルノート
-
▪
- 部分リストの構成
関連するガイド
-
▪
- 式の部分 ▪
- リストの要素 ▪
- リスト操作 ▪
- GPU計算 ▪
- バイナリデータ ▪
- NVIDIAを使ったGPU計算 ▪
- Appleを使ったGPU計算
履歴
1988 で導入 (1.0) | 2014 で更新 (10.0) ▪ 2015 (10.3)
テキスト
Wolfram Research (1988), First, Wolfram言語関数, https://reference.wolfram.com/language/ref/First.html (2015年に更新).
CMS
Wolfram Language. 1988. "First." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/First.html.
APA
Wolfram Language. (1988). First. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/First.html
BibTeX
@misc{reference.wolfram_2026_first, author="Wolfram Research", title="{First}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/First.html}", note=[Accessed: 17-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_first, organization={Wolfram Research}, title={First}, year={2015}, url={https://reference.wolfram.com/language/ref/First.html}, note=[Accessed: 17-November-2026]}