Sum sintaxis

*To*: mathgroup at smc.vnet.net*Subject*: [mg39736] Sum sintaxis*From*: Rebeca Choy <rchoy at ula.ve>*Date*: Mon, 3 Mar 2003 23:51:42 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Hi, I was wondering if this was written correctly (I use mathematica 4.1): error1 = (-2/If[i < j, Sum[d3D[[i, j]], {i, 26}, {j, 26}]])*(If[j â? p, Sum[ ((d3D[[i, j]] - d2D[[i, j]])/(d3D[[i, j]]*d2D[[i, j]]))*(w[[i, 1]] - w[[i, 2]]), {i, 26}, {j, 26}]]) where d3D and d2D are matrices and w[i,2] and [wi,1] are vectors. Everything has been declared. Thanks Rebeca