Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11145 > unrolled thread

Evaluation of boolean functions in Mathematica 8

Started bylalwani.akhil@gmail.com
First post2012-08-01 08:57 +0000
Last post2012-08-01 08:57 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Evaluation of boolean functions in Mathematica 8 lalwani.akhil@gmail.com - 2012-08-01 08:57 +0000

#11145 — Evaluation of boolean functions in Mathematica 8

Fromlalwani.akhil@gmail.com
Date2012-08-01 08:57 +0000
SubjectEvaluation of boolean functions in Mathematica 8
Message-ID<jvar10$72g$1@smc.vnet.net>
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.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web