Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12316
| From | "Dave Snead" <dsnead6@charter.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Implicit Times |
| Date | 2012-11-11 20:56 +0000 |
| Message-ID | <k7p3di$c9h$1@smc.vnet.net> (permalink) |
| References | <20121109000050.A731368E1@smc.vnet.net> <20121110070632.836E26951@smc.vnet.net> |
| Organization | Time-Warner Telecom |
Thanks, but the issue is not defining the operator. The issue is Mathematica's implicit assumption of a Times (*) when there's a space between variables. The NonCommutativeMultiply (**) already exists. So when I input x y//FullForm I want Mathematica to return NonCommutativeMultiply[x,y] instead of Times[x,y] Of course I want the explicit Times (*) to still work the same as before, x*y//FullForm yielding Times[x,y] --Dave Snead -----Original Message----- From: James Stein Sent: Friday, November 09, 2012 11:06 PM Subject: Re: Implicit Times Read this Mathematica reference on "operators without built-in meanings". I assume you could define, e.g., 'CircleTimes' to return whatever function (including non-commutative multiply) you wish. On Thu, Nov 8, 2012 at 4:00 PM, Dave Snead <dsnead6@charter.net> wrote: > Hi all, > > Mathematica assumes Times (*) when two expressions are > juxtaposed with no explicit intervening binary operator > (ex., x y is interpreted as x*y). > I want to change this behavior so it assumes a > NonCommutativeMultiply (**) instead. > Is this possible? > > Thanks in advance, > Dave Snead > > >
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Implicit Times "Dave Snead" <dsnead6@charter.net> - 2012-11-11 20:56 +0000 Re: Implicit Times David Bailey <dave@removedbailey.co.uk> - 2012-11-14 06:50 +0000
csiph-web