Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5390 > unrolled thread
| Started by | "tenons@gmail.com" <tenons@gmail.com> |
|---|---|
| First post | 2011-10-05 08:07 +0000 |
| Last post | 2011-10-05 08:07 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
NumberMultiplier usage "tenons@gmail.com" <tenons@gmail.com> - 2011-10-05 08:07 +0000
| From | "tenons@gmail.com" <tenons@gmail.com> |
|---|---|
| Date | 2011-10-05 08:07 +0000 |
| Subject | NumberMultiplier usage |
| Message-ID | <j6h37a$71b$1@smc.vnet.net> |
Can anyone shed any light on why Times[3, 2^z] appears as 3 x 2^z but Times[-3,2^x] appears as -3 2^z ? For presentation purposes (for freshmen!), I would like the NumberMultiplier to show up in the second case as well. I realize I can do something like: Unprotect[Times]; Format[Times[x_?(NumericQ[#] && Negative[#] &), z_] := x\[Cross]z]: Protect[Times] but this seems clumsy, a little dangerous, doesn't affect input lines and produces the result with parentheses which I don't care for: (-3)x2^z Does anybody else care about such things? Michael Williams [ I have NumberMultiplier set to \[Cross] in all the various *Forms and the $FrontEnd and AutoMultiplicationSymbol -> True ]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web