Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Domains

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85300] Domains
  • From: Akki <lodhaakhil85 at gmail.com>
  • Date: Tue, 5 Feb 2008 19:39:03 -0500 (EST)

Hi,

How does one create a domain for a variable in Mathematica ?

For e.g. x is a variable and I would like to create a domain for x
consisting  of 3, 5, 7 only.
i.e. dom = {3,5,7} then use the condition \Element[x,dom]

Thanks,
Akki


  • Prev by Date: Re: Re: changing color of non-evaluatable cell
  • Next by Date: Re: calculating an inverse matrix
  • Previous by thread: Re: MapThread error with NET/Link function
  • Next by thread: Re: Domains