BooleanVariables[expr]
ブール式 expr 中のブール変数のリストを与える.
BooleanVariables[bf]
BooleanFunctionオブジェクト bf 中のブール変数の数を与える.
BooleanVariables
BooleanVariables[expr]
ブール式 expr 中のブール変数のリストを与える.
BooleanVariables[bf]
BooleanFunctionオブジェクト bf 中のブール変数の数を与える.
詳細
- BooleanVariables[expr]において,式 expr はAnd,Or,NotやBooleanFunction等のブール関数および関連関数の任意の組合せを含むことができる.
- BooleanVariables[bf]では,式 bf は単一のBooleanFunctionオブジェクトでなければならない.
- BooleanVariables[expr]はSortで変数のリストを返される順で与える.
例題
すべて開く すべて閉じる例 (2)
BooleanVariables[a || !b && b]純BooleanFunctionオブジェクトの変数の数を求める:
BooleanVariables[BooleanFunction[30, 3]]スコープ (2)
BooleanVariables[Xor[a, And[b, Or[c, d]]]]BooleanVariables[BooleanCountingFunction[2, 3][a, b, c]]BooleanVariables[BooleanFunction[12345, 20]]BooleanVariables[BooleanCountingFunction[3, 17]]BooleanVariables[#1 && #199&]特性と関係 (2)
BooleanVariablesは,デフォルトで,BooleanTableの変数のリストとして使われる:
BooleanTable[And[c, Or[a, b]]]BooleanTable[And[c, Or[a, b]], BooleanVariables[And[c, Or[a, b]]]]BooleanVariablesを使ってSatisfiabilityInstancesの変数リストを得る:
v = BooleanVariables[And[c, Or[a, b]]]SatisfiabilityInstances[And[c, Or[a, b]], v]FindInstance[And[c, Or[a, b]], v]Conjunction[And[c, Or[a, b]], v]Disjunction[And[c, Or[a, b]], v]関連するガイド
-
▪
- ブール計算
テキスト
Wolfram Research (2008), BooleanVariables, Wolfram言語関数, https://reference.wolfram.com/language/ref/BooleanVariables.html.
CMS
Wolfram Language. 2008. "BooleanVariables." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BooleanVariables.html.
APA
Wolfram Language. (2008). BooleanVariables. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BooleanVariables.html
BibTeX
@misc{reference.wolfram_2026_booleanvariables, author="Wolfram Research", title="{BooleanVariables}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/BooleanVariables.html}", note=[Accessed: 12-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_booleanvariables, organization={Wolfram Research}, title={BooleanVariables}, year={2008}, url={https://reference.wolfram.com/language/ref/BooleanVariables.html}, note=[Accessed: 12-September-2026]}