Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Is it doable in Mathematica? How?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39724] Re: Is it doable in Mathematica? How?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Mon, 3 Mar 2003 23:49:38 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <b3v7ef$k96$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

and

toBoolean[0] := False
toBoolean[_Integer] := True

Table[toBoolean[i] && toBoolean[j], {i, 0, 1}, {j, 0, 1}]

is not working ?

Regards
  Jens

Konrad Den Ende wrote:
> 
> I'd like to create a truth table for, say, A, B and C, as
> well as two different expression, say, A&&B&&C and
> (A||B) -> C. How do i go about that?
> 
> I have tried Table, but since True/False are not allowed
> there i got stuck. The help in Mathematica was of little
> help in this case. Any hints or suggestions?
> 
> --
> 
> Vänligen
> Konrad
> ---------------------------------------------------
> phone #1:  (+46/0) 708 - 70 73 92
> phone #2: (+46/0) 704 - 79 96 95
> url: http://konrads.webbsida.com
> e-mail: chamsterkonrad at bigfoot.com
> -----------------------------------
> 
> Sleep - thing used by ineffective people
>             as a substitute for coffee
> 
> Ambition - a poor excuse for not having
>                  enough sence to be lazy
> ---------------------------------------------------


  • Prev by Date: Re: How to evaluate a NIntegrate expression properly
  • Next by Date: RE: ugly Plot Eigenvalues ?
  • Previous by thread: Re: Is it doable in Mathematica? How?
  • Next by thread: Re: Is it doable in Mathematica? How?