Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7101
| From | Chris Young <cy56@comcast.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Preventing unwanted threading by Inner |
| Date | 2011-12-10 12:44 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jbvk6h$j6v$1@smc.vnet.net> (permalink) |
| References | <jbni23$47f$1@smc.vnet.net> <jbq43r$irr$1@smc.vnet.net> |
On 2011-12-08 10:38:51 +0000, Oleksandr Rasputinov said:
> Redefining built-in functions in such a drastic way is seldom a good idea
> because Mathematica makes assumptions about the way these functions
> operate and does not handle alterations gracefully. In this case it seems
> that Inner does not check to see if the Attributes set on Times have been
> changed and instead uses a direct internal (kernel) function call as if it
> had the default Attributes.
>
> I assume you want this form for display purposes or because you want to
> keep the coordinates as isolated entities. In that case, rather than
> redefining Times, you could use:
>
> coordinate /: Format[coordinate[pts_List]] := pts
>
> {a, b, c} . coordinate /@ {{A, \[Alpha]}, {B, \[Beta]}, {C, \[Chi]}}
Thanks, I'm filing this away also.
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Preventing unwanted threading by Inner Chris Young <cy56@comcast.net> - 2011-12-07 11:18 +0000
Re: Preventing unwanted threading by Inner "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-12-08 10:38 +0000
Re: Preventing unwanted threading by Inner Chris Young <cy56@comcast.net> - 2011-12-10 12:44 +0000
Re: Preventing unwanted threading by Inner Ray Koopman <koopman@sfu.ca> - 2011-12-08 10:42 +0000
Re: Preventing unwanted threading by Inner Chris Young <cy56@comcast.net> - 2011-12-10 12:43 +0000
Re: Preventing unwanted threading by Inner DrMajorBob <btreat1@austin.rr.com> - 2011-12-11 08:52 +0000
Re: Preventing unwanted threading by Inner Ray Koopman <koopman@sfu.ca> - 2011-12-08 10:42 +0000
Re: Preventing unwanted threading by Inner Chris Young <cy56@comcast.net> - 2011-12-10 12:29 +0000
Re: Preventing unwanted threading by Inner DrMajorBob <btreat1@austin.rr.com> - 2011-12-09 10:58 +0000
Re: Preventing unwanted threading by Inner Vince Virgilio <blueschi@gmail.com> - 2011-12-10 12:30 +0000
csiph-web