Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7100
| From | Chris Young <cy56@comcast.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Preventing unwanted threading by Inner |
| Date | 2011-12-10 12:43 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jbvk5i$j6o$1@smc.vnet.net> (permalink) |
| References | <jbni23$47f$1@smc.vnet.net> <jbq49t$itm$1@smc.vnet.net> |
On 2011-12-08 10:42:05 +0000, Ray Koopman said:
> This is a little better than my first suggestion.
>
> Inner[Times, {a1,a2,a3}, HoldForm /@
> {{b11,b12},{b21,b22},{b31,b32}}, Plus]
>
> a1 {b11,b12} + a2 {b21,b22} + a3 {b31,b32}
I see in the Help that HoldForm can help with preventing unwanted
expansion of a lot of formulas:
Display a sum of squares in unevaluated form:
\!\(
\*UnderoverscriptBox[\(\[Sum]\), \(i = 1\), \(10\)]\(\((HoldForm[
\*SuperscriptBox[\(#1\), \(2\)]] &)\)[i]\)\)
\!\(\*
TagBox[
SuperscriptBox["1", "2"],
HoldForm]\) + \!\(\*
TagBox[
SuperscriptBox["2", "2"],
HoldForm]\) + \!\(\*
TagBox[
SuperscriptBox["3", "2"],
HoldForm]\) + \!\(\*
TagBox[
SuperscriptBox["4", "2"],
HoldForm]\) + \!\(\*
TagBox[
SuperscriptBox["5", "2"],
HoldForm]\) + \!\(\*
TagBox[
SuperscriptBox["6", "2"],
HoldForm]\) + \!\(\*
TagBox[
SuperscriptBox["7", "2"],
HoldForm]\) + \!\(\*
TagBox[
SuperscriptBox["8", "2"],
HoldForm]\) + \!\(\*
TagBox[
SuperscriptBox["9", "2"],
HoldForm]\) + \!\(\*
TagBox[
SuperscriptBox["10", "2"],
HoldForm]\)
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