Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7275 > unrolled thread

Re: Find the derised results

Started byBill Rowe <readnews@sbcglobal.net>
First post2011-12-16 11:04 +0000
Last post2011-12-16 11:04 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Find the derised results Bill Rowe <readnews@sbcglobal.net> - 2011-12-16 11:04 +0000

#7275 — Re: Find the derised results

FromBill Rowe <readnews@sbcglobal.net>
Date2011-12-16 11:04 +0000
SubjectRe: Find the derised results
Message-ID<jcf8jm$70d$1@smc.vnet.net>
On 12/15/11 at 4:56 AM, shlwell1988@gmail.com wrote:

>{x,y,z,t}.{{x1,y1,z1,t1},{x2,y2,z2,t2},{x3,y3,z3,t3},{x4,y4,z4,t4}}.
>{x,y,z,t}

>How can I find those terms with x1 in the above result by some
>different methods?

Here is one way

In[1]:= f = {x, y, z,
     t}.{{x1, y1, z1, t1}, {x2, y2, z2, t2}, {x3, y3, z3, t3},
{x4, y4,
       z4, t4}}.{x, y, z, t};

In[2]:= Cases[f, _?(! FreeQ[#, x1] &), \[Infinity]]

Out[2]= {x1,x x1,t x4+x x1+x2 y+x3 z,x (t x4+x x1+x2 y+x3 z)}

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web