MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

summation is equivalent to dot product??


Hi, Mathematicers,
Comparing the caluclations done by summation  and dot product of the
matrix, it turns out that they are different, which i initially
thought to be equal. what is the
equivalent summation form for the dot product??

In[29]:=
F[p_,q_,r_,s_]:=p+2q+r-s;

In[31]:=
MatF=Table[F[p,q,r,s],{p,4},{q,4},{r,4},{s,4}];

In[32]:=
c={1,2.1,3,4};

In[37]:=
c=2EMatF.c//MatrixForm

 sumf[
    p_, q_] := =E2=88=91r=E2=88=91s F[p, q, r, s]*c[[r]] c[[s]];

In[41]:=
Table[sumf[p,q],{p,4},{q,4}]//MatrixForm



  • Prev by Date: ftp from mathematica code
  • Next by Date: Re: Solve[] and Eliminate[] choke on simple systems of equations
  • Previous by thread: Re: ftp from mathematica code
  • Next by thread: Re: Limiting range of variables when defining funxtions of several variables