Difference between revisions of "Boolean domain"

MyWikiBiz, Author Your Legacy — Friday April 19, 2024
Jump to navigationJump to search
(add qv)
(HTML → TeX)
Line 1: Line 1:
A '''boolean domain''' '''B''' is a generic 2-element [[set]], say, '''B''' = {0, 1}, whose elements are interpreted as [[logical value]]s, typically, 0 = false and 1 = true.
+
A '''boolean domain''' <math>\mathbb{B}</math> is a generic 2-element [[set]], say, <math>\mathbb{B} = \{ 0, 1 \},</math> whose elements are interpreted as [[logical value]]s, typically, <math>0 = \operatorname{false}</math> and <math>1 = \operatorname{true}.</math>
  
A '''boolean variable''' ''x'' is a [[variable]] that takes its value from a boolean domain, as ''x''&nbsp;&isin;&nbsp;'''B'''.  
+
A '''boolean variable''' <math>x\!</math> is a [[variable]] that takes its value from a boolean domain, as <math>x \in \mathbb{B}.</math>
  
 
==See also==
 
==See also==

Revision as of 00:04, 22 October 2008

A boolean domain \(\mathbb{B}\) is a generic 2-element set, say, \(\mathbb{B} = \{ 0, 1 \},\) whose elements are interpreted as logical values, typically, \(0 = \operatorname{false}\) and \(1 = \operatorname{true}.\)

A boolean variable \(x\!\) is a variable that takes its value from a boolean domain, as \(x \in \mathbb{B}.\)

See also

Aficionados



<sharethis />