Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11145
| From | lalwani.akhil@gmail.com |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Evaluation of boolean functions in Mathematica 8 |
| Date | 2012-08-01 08:57 +0000 |
| Message-ID | <jvar10$72g$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hello, I want to evaluate a Boolean function by substituting True and False values for its variables, to get a True or False value at the output. Example, g = BooleanConvert[And[p, q, r], "BFF"] g[True,True,True] But the above statement does not evaluate g at the data-point given, but instead returns the statement, BooleanFunction[<3>][p,q,r][True,True,True] Can anybody please suggest how to proceed? Thanks a lot.
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Evaluation of boolean functions in Mathematica 8 lalwani.akhil@gmail.com - 2012-08-01 08:57 +0000
csiph-web