Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

dot minus operator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73182] dot minus operator
  • From: "Brambilla Roberto Luigi \(CESIRICERCA\)" <Roberto.Brambilla at cesiricerca.it>
  • Date: Tue, 6 Feb 2007 03:51:10 -0500 (EST)

Hi All,

How can I define in the the infix style the (integer) operation

minus[a_,b_]:=If[a>b,a-b,0]

In std texts it is usually noted by a minus with a dot over it.
It would be fine to use the same notation.

Thanks in advance Roberto



  • Prev by Date: Integrating SphericalHarmonicY
  • Next by Date: RE: NIntegrate - problems with HoldAll property(?)
  • Previous by thread: Re: Integrating SphericalHarmonicY
  • Next by thread: Re: dot minus operator