|
[Date Index]
[Thread Index]
[Author Index]
Re: Precedence of Infix Operator
- To: mathgroup at smc.vnet.net
- Subject: [mg84102] Re: [mg84073] Precedence of Infix Operator
- From: DrMajorBob <drmajorbob at bigfoot.com>
- Date: Mon, 10 Dec 2007 20:34:09 -0500 (EST)
- References: <26690411.1197238731307.JavaMail.root@m35> <op.t23ykpuxqu6oor@monster.gateway.2wire.net>
- Reply-to: drmajorbob at bigfoot.com
Oops! I just realized I didn't answer the question. You said "some less
common infox operator".
I do see a Help topic -- "Precedence of Operators in Notations" -- that
might help... if you're willing to debug the Notations package.
Bobby
On Mon, 10 Dec 2007 01:18:15 -0600, DrMajorBob <drmajorbob at bigfoot.com>
wrote:
> There's a table at tutorial/InputSyntax#23301 showing several symbols
> with precedence higher than Times, including SmallCircle, CircleDot,
> NonCommutativeMultiply...
>
> For instance
>
> CircleDot[a_, b_] := a + b
> 2~CircleDot~3~Times~4
>
> 20
>
> (Addition occurred before multiplication.)
>
> PrecedenceForm may be of use, too.
>
> Bobby
>
> On Sun, 09 Dec 2007 05:34:08 -0600, David Park <djmpark at comcast.net>
> wrote:
>
>> I would like to use some less common infix operator, such as Colon or
>> VerticalBar, but give it a precedence on input greater than Times. Is
>> there
>> a way to do this?
>>
>
>
>
--
DrMajorBob at bigfoot.com
Prev by Date:
Re: How do I let them know about a bug ?
Next by Date:
question about For
Previous by thread:
Re: Precedence of Infix Operator
Next by thread:
Re: Precedence of Infix Operator
|