Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7275
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Find the derised results |
| Date | 2011-12-16 11:04 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jcf8jm$70d$1@smc.vnet.net> (permalink) |
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)}
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Find the derised results Bill Rowe <readnews@sbcglobal.net> - 2011-12-16 11:04 +0000
csiph-web