Constants
例題
すべて開く すべて閉じる例 (3)
以下では,a と b の両方が x に依存するとみなされる:
Dt[a x ^ 2 + b, x]Constantsオプションを使って a が x に依存しないように指定する:
Dt[a x ^ 2 + b, x, Constants -> {a}]Dt[a x ^ 2 + b, x, Constants -> {a, b}]スコープ (3)
TagSetを使って定数を規定する:
y/:Dt[y, x] = 0Dt[x ^ 2 y, x]SetAttributesを使って定数を規定する:
SetAttributes[a, Constant]Dt[a x ^ 2, x]f が定数のとき,任意の式 f[expr]もまた定数であるとみなされる:
Dt[x ^ 2 f[x], x, Constants -> {f}]関連項目
テクニカルノート
-
▪
- 全微分
履歴
1988 で導入 (1.0)
テキスト
Wolfram Research (1988), Constants, Wolfram言語関数, https://reference.wolfram.com/language/ref/Constants.html.
CMS
Wolfram Language. 1988. "Constants." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Constants.html.
APA
Wolfram Language. (1988). Constants. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Constants.html
BibTeX
@misc{reference.wolfram_2026_constants, author="Wolfram Research", title="{Constants}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Constants.html}", note=[Accessed: 13-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_constants, organization={Wolfram Research}, title={Constants}, year={1988}, url={https://reference.wolfram.com/language/ref/Constants.html}, note=[Accessed: 13-September-2026]}