Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11162 > unrolled thread
| Started by | Daniel <dosadchy@its.jnj.com> |
|---|---|
| First post | 2012-08-02 08:48 +0000 |
| Last post | 2012-08-02 08:48 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Evaluation of boolean functions in Mathematica 8 Daniel <dosadchy@its.jnj.com> - 2012-08-02 08:48 +0000
| From | Daniel <dosadchy@its.jnj.com> |
|---|---|
| Date | 2012-08-02 08:48 +0000 |
| Subject | Re: Evaluation of boolean functions in Mathematica 8 |
| Message-ID | <jvdes7$c0o$1@smc.vnet.net> |
Mathematica cannot guess that you meant for p,q,r to be variables. You should write: g[p_, q_, r_] = BooleanConvert[And[p, q, r], "BFF"] or even better (this would work for any number of variables): g = BooleanConvert[And[##], "BFF"] &
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web