|
SOLUTIONS
|
MATHEMATICA 内置符号
BooleanVariables
BooleanVariables[expr]
给出布尔表达式 expr 中布尔变量的列表.
BooleanVariables[bf]
给出 BooleanFunction 对象 bf 中布尔变量的数量.
更多信息更多信息
- 在 BooleanVariables[expr] 中,表达式 expr 可以包含布尔函数的任意组合,例如 And,Or,Not,以及 BooleanFunction 和相关函数.
- 在 BooleanVariables[bf] 中,表达式 bf 必须是单个 BooleanFunction 对象.
- BooleanVariables[expr] 按照 Sort 返回的顺序给出变量列表.
版本 7 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
