Re: Functions don't evaluate
- To: mathgroup at smc.vnet.net
- Subject: [mg34134] Re: Functions don't evaluate
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Sun, 5 May 2002 04:48:41 -0400 (EDT)
- References: <ab07sb$1tl$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Yaroslav, Could it be that you have tried to use a function fn before loading the package ijn which it is defined? If so, even after loading the package, the function will not work; but it will work after entering Remove[fn]. I get the following with your input In[13]:= <<DiscreteMath`ComputationalGeometry` In[14]:= ConvexHull[{{0,0},{1,0},{0,0},{2,0},{1,1}}] ConvexHull::duplicated: 1 duplicated points ignored. Out[14]= {4,5,1,2} -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 "Yaroslav Bulatov" <bulatov at engr.orst.edu> wrote in message news:ab07sb$1tl$1 at smc.vnet.net... > I've running into problems getting functions of some add-on packages > to evaluate. When I run the function, the answer is in unevaluated > form, and doing Evaluate[...] doesn't help. Here's an example. > > <<DiscreteMath`ComputationalGeometry` > > ConvexHull[{{0,0}, {1,0}, {0,0}, {2,0}, {1,1}}] > > And I get: > > ConvexHull[{{0, 0}, {1, 0}, {0, 0}, {2, 0}, {1, 1}}] > > I checked my add-ons directory, and ComputationalGeometry.m is there. > I have the same problem with NumericalMath package. > > Any idea what's causing this? > > Yaroslav >