MathGroup Archive 2004

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

Search the Archive

Re: Re: finite domains

  • To: mathgroup at
  • Subject: [mg52733] Re: [mg52691] Re: finite domains
  • From: Andrzej Kozlowski <akoz at>
  • Date: Sat, 11 Dec 2004 05:21:44 -0500 (EST)
  • References: <cp3t2v$9ai$> <>
  • Sender: owner-wri-mathgroup at

The issue of using Element does not arise unless you overload the built 
in definition yourself, since it only works (naturally) with the built 
in domains.

MerberQ works with any list but of course will not work with functions 
like Simplify etc that make use of Element.

Computers are not human ... sigh...

Andrzej Kozlowski
Chiba, Japan

On 10 Dec 2004, at 10:22, Drago Ganic wrote:

> Hi group,
> Here is another question:
> Should we use Element for finite domains, or should we use **only** 
> MemberQ
> for them ??!
> Greetings from Croatia,
> Drago Ganic
> "János" <janos.lobb at> wrote in message
> news:cp3t2v$9ai$1 at
>> Hi,
>> When I look the book I see just infinite built-in domains, like 
>> Integer
>> etc...  I am wondering if finite domains can be created and if all the
>> domain related functions would work on it.  As an example, I have
>> {North, West, South, East} in mind.
>> Thanks ahead,
>> János
>> ----------------------------------------------
>> Trying to argue with a politician is like lifting up the head of a
>> corpse.
>> (S. Lem: His Master Voice)

  • Prev by Date: Re: Solve bug?
  • Next by Date: Re: a strange line of code
  • Previous by thread: Re: finite domains
  • Next by thread: Re: Re: finite domains