OnlineWoerterBuecher.de
Internes

Lexikon


DeMorgan' s theorem


A logical theorem which states that the complement of a conjunction is the disjunction of the complements or vice versa. In symbols: not (x and y) = (not x) or (not y) not (x or y) = (not x) and (not y) E.g. if it is not the case that I am tall and thin then I am either short or fat (or both). The theorem can be extended to combinations of more than two terms in the obvious way. The same laws also apply to sets, replacing logical complement with set complement, conjunction ("and") with set intersection, and disjunction ("or") with set union. A (C) programmer might use this to re-write if (!foo && !bar) ... as if (!(foo || bar)) ... thus saving one operator application (though an {optimising compiler} should do the same, leaving the programmer free to use whichever form seemed clearest). (1995-12-14)

In addition suitable contents:
[ 2 ] [ = ] [ al ] [ am ] [ an ] [ app ] [ application ] [ ar ] [ arc ] [ as ] [ at ] [ av ] [ aw ] [ b ] [ ba ] [ bar ] [ be ] [ bi ] [ bo ] [ bot ] [ bv ] [ C ] [ ca ] [ case ] [ cat ] [ ch ] [ ci ] [ cl ] [ co ] [ com ] [ combination ] [ compiler ] [ complement ] [ con ] [ conjunction ] [ de ] [ do ] [ du ] [ E ] [ ec ] [ ed ] [ ee ] [ er ] [ era ] [ es ] [ et ] [ extend ] [ fi ] [ file ] [ fo ] [ for ] [ fr ] [ free ] [ gh ] [ gi ] [ gr ] [ h ] [ hat ] [ hr ] [ ht ] [ hu ] [ id ] [ il ] [ in ] [ int ] [ io ] [ is ] [ it ] [ la ] [ law ] [ ld ] [ Lex ] [ li ] [ logical ] [ logical complement ] [ ls ] [ ly ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ ms ] [ na ] [ nc ] [ ne ] [ ng ] [ ni ] [ no ] [ ns ] [ om ] [ op ] [ operator ] [ optimising compiler ] [ pe ] [ ph ] [ pl ] [ ply ] [ pr ] [ program ] [ programmer ] [ pt ] [ query ] [ rc ] [ re ] [ ro ] [ sa ] [ sam ] [ se ] [ set ] [ set complement ] [ sh ] [ si ] [ sj ] [ so ] [ st ] [ state ] [ sy ] [ T ] [ th ] [ to ] [ tw ] [ ug ] [ union ] [ us ] [ ve ] [ vi ] [ write ] [ ws ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (5009 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.0987 Seconds, with 17 Database-Queries
Zurück zur Startseite