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

MathGroup Archive 2010

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

Search the Archive

Re: SetAttributes[CenterDot, Flat]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113903] Re: SetAttributes[CenterDot, Flat]
  • From: "Ted Ersek" <ersekt at md.metrocast.net>
  • Date: Thu, 18 Nov 2010 07:01:03 -0500 (EST)

Dave Snead discovered problems with the following definitions: 

 

SetAttributes[CenterDot, Flat]

CenterDot[] := 1

CenterDot[a_] :=a

 

That caused a problem with exceeding  $IterationLimit  when he tried to
evaluate  

         CenterDot[x, y]

 

-----------------------------------------------

I brought up this problem years ago, and you can see how to get around it if
you goto 

  http://www.verbeia.com/mathematica/tips/Tricks.html

Scroll down and click on Flat

Then see the discussion of  (A problem with the Flat attribute and how to
solve it.)

 

---------------------------------------------

You can down load my whole notebook of Tricks from 

http://library.wolfram.com/infocenter/MathSource/4557/

 

-- Ted Ersek --



  • Prev by Date: Re: Mathematica 8
  • Next by Date: Mathematica 8 "natural language" capabilities
  • Previous by thread: Re: Comparing versions of notebooks
  • Next by thread: Mathematica 8 "natural language" capabilities